{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/layout/AppConfirmModal.vue?2d7e","webpack:///./src/utils.js","webpack:///./src/App.vue?10b8","webpack:///./src/modules/document/infra/VueOtherDocumentListScreenData.ts","webpack:///./src/components/CreationObject.vue?ff0f","webpack:///./src/assets/soon.svg","webpack:///./src/modules/facturae/app/InvoiceEditorComponent.ts","webpack:///./src/assets/mark_as_rejected_disabled.svg","webpack:///./src/views/CreateSupplier.vue?3d66","webpack:///src/views/CreateSupplier.vue","webpack:///./src/views/CreateSupplier.vue?715f","webpack:///./src/views/CreateSupplier.vue?cc44","webpack:///./src/modules/concepts/domain/Concept.js","webpack:///./src/assets/btn-eye.svg","webpack:///./src/components/InvoiceLines.vue?d586","webpack:///./src/modules/facturae/infra/ApiInvoiceableRepository.ts","webpack:///./src/assets/mark_as_rejected.svg","webpack:///./src/components/layout/AppSelect.vue?1894","webpack:///src/components/layout/AppSelect.vue","webpack:///./src/components/layout/AppSelect.vue?9768","webpack:///./src/components/layout/AppSelect.vue?3cdd","webpack:///./src/assets/bank-save-transaction-disabled.svg","webpack:///./src/assets/btn-pencil.svg","webpack:///./src/components/layout/TableCustomTextField.vue?e1bc","webpack:///src/components/layout/TableCustomTextField.vue","webpack:///./src/components/layout/TableCustomTextField.vue?293b","webpack:///./src/components/layout/TableCustomTextField.vue?d617","webpack:///./src/components/DetailReferenceAccounts.vue?1040","webpack:///./src/components/layout/TableCustomTextField.vue?80f5","webpack:///./src/components/MessagePopup.vue?5ad4","webpack:///src/components/MessagePopup.vue","webpack:///./src/components/MessagePopup.vue?5129","webpack:///./src/components/MessagePopup.vue","webpack:///./src/assets/bank-back-arrow.svg","webpack:///./src/assets/icon-download.svg","webpack:///./src/components/layout/AppAutocomplete.vue?1d40","webpack:///./src/assets sync ^\\.\\/.*$","webpack:///./src/assets/bank-save-transaction.svg","webpack:///./src/assets/delete-filters.svg","webpack:///./src/views/CreateSupplier.vue?0b12","webpack:///./src/assets/transacciones.svg","webpack:///./src/views/CreateSupplier.vue?d203","webpack:///./src/assets/bank-asiento-disabled.svg","webpack:///./src/components/DetailAccounts.vue?d5e2","webpack:///./src/assets/save_invoice_disabled.svg","webpack:///./src/assets/bank-delete-transaction.svg","webpack:///./src/components/layout/AppCombobox.vue?f68e","webpack:///src/components/layout/AppCombobox.vue","webpack:///./src/components/layout/AppCombobox.vue?392f","webpack:///./src/components/layout/AppCombobox.vue?47f1","webpack:///./src/assets/toggle-rules2.svg","webpack:///./src/store/modules/connector.js","webpack:///./src/components/RightDrawerTrainerMode.vue?3f92","webpack:///./src/modules/facturae/domain/Invoiceable.ts","webpack:///./src/assets/bank-sync-effects.svg","webpack:///./src/utils/account_validation.js","webpack:///./src/components/JobProgress.vue?bca5","webpack:///src/components/JobProgress.vue","webpack:///./src/components/JobProgress.vue?2efc","webpack:///./src/components/JobProgress.vue","webpack:///./src/modules/invoices/app/GetFiscalLocationInfoQuery.ts","webpack:///./src/components/InvoiceLinesEditorSimplified.vue?d249","webpack:///./src/components/layout/AppPageCard.vue?4f8f","webpack:///./src/modules/companies/application/AutocompleteCompanyData.ts","webpack:///./src/assets/bank-uncheck-reviewed.svg","webpack:///./src/assets/btn-plus.svg","webpack:///./src/components/WelcomeSteps/PolicyDialogLink.vue?1ad9","webpack:///./src/components/layout/AppConfirmModalTitle.vue?3fec","webpack:///./src/modules/entities/domain/EntitiesListScreenData.ts","webpack:///./src/modules/invoices/app/GetCurrencyCodeListQuery.ts","webpack:///./src/components/InvoiceDetectedInfo.vue?c51b","webpack:///./src/components/SelectorEmpresa.vue?4a43","webpack:///./src/api/countries.js","webpack:///./src/api/documents.js","webpack:///./src/api/accounts.js","webpack:///./src/components/DetailReferenceSimple.vue?7c60","webpack:///src/components/DetailReferenceSimple.vue","webpack:///./src/components/DetailReferenceSimple.vue?3f4b","webpack:///./src/components/DetailReferenceSimple.vue?12ec","webpack:///./src/assets/bank-assert-rule-disabled.svg","webpack:///./src/components/CreationObject.vue?0d78","webpack:///./src/modules/invoices/app/CountThirdDocsPendingCommand.ts","webpack:///src/components/CreationObject.vue","webpack:///./src/components/CreationObject.vue?85b3","webpack:///./src/components/CreationObject.vue?83b5","webpack:///./src/assets/bank-account-switch-disabled.svg","webpack:///./src/assets/bank-add-transaction.svg","webpack:///./src/components/layout/AppPageCard.vue?0257","webpack:///src/components/layout/AppPageCard.vue","webpack:///./src/components/layout/AppPageCard.vue?4333","webpack:///./src/components/layout/AppPageCard.vue?210b","webpack:///./src/App.vue?58d4","webpack:///./src/components/ErrorPipelinePopup.vue?deea","webpack:///./src/components/FixSuppCostNotFound.vue?782a","webpack:///src/components/FixSuppCostNotFound.vue","webpack:///./src/components/FixSuppCostNotFound.vue?1fe1","webpack:///./src/components/FixSuppCostNotFound.vue","webpack:///src/components/ErrorPipelinePopup.vue","webpack:///./src/components/ErrorPipelinePopup.vue?ba0d","webpack:///./src/components/ErrorPipelinePopup.vue","webpack:///./src/components/SelectorEmpresa.vue?f25c","webpack:///src/components/SelectorEmpresa.vue","webpack:///./src/components/SelectorEmpresa.vue?b63f","webpack:///./src/components/SelectorEmpresa.vue?d3ca","webpack:///./src/components/RightDrawerTrainerMode.vue?0002","webpack:///./src/components/TrainerTagsInfo.vue?703a","webpack:///src/components/TrainerTagsInfo.vue","webpack:///./src/components/TrainerTagsInfo.vue?ff1a","webpack:///./src/components/TrainerTagsInfo.vue?bb27","webpack:///src/components/RightDrawerTrainerMode.vue","webpack:///./src/components/RightDrawerTrainerMode.vue?8c5a","webpack:///./src/components/RightDrawerTrainerMode.vue?7b63","webpack:///./src/components/RightDrawerClientMode.vue?885a","webpack:///./src/components/FixCIFPopup.vue?7f87","webpack:///src/components/FixCIFPopup.vue","webpack:///./src/components/FixCIFPopup.vue?623e","webpack:///./src/components/FixCIFPopup.vue","webpack:///./src/components/InvoiceLinesEditorSimplified.vue?e9ae","webpack:///src/components/InvoiceLinesEditorSimplified.vue","webpack:///./src/components/InvoiceLinesEditorSimplified.vue?1b7d","webpack:///./src/components/InvoiceLinesEditorSimplified.vue","webpack:///./src/components/InvoiceInfo.vue?14d2","webpack:///./src/components/DetailAccounts.vue?ac7f","webpack:///src/components/DetailAccounts.vue","webpack:///./src/components/DetailAccounts.vue?c378","webpack:///./src/components/DetailAccounts.vue?2984","webpack:///./src/components/ViesValidator.vue?4af6","webpack:///./src/modules/invoices/app/ViesValidation.ts","webpack:///src/components/ViesValidator.vue","webpack:///./src/components/ViesValidator.vue?85f6","webpack:///./src/components/ViesValidator.vue?488d","webpack:///src/components/InvoiceInfo.vue","webpack:///./src/components/InvoiceInfo.vue?6f48","webpack:///./src/components/InvoiceInfo.vue?9a28","webpack:///./src/components/InvoiceDetectedInfo.vue?14a6","webpack:///./src/components/MetadataFieldDetected.vue?bea3","webpack:///src/components/MetadataFieldDetected.vue","webpack:///./src/components/MetadataFieldDetected.vue?6980","webpack:///./src/components/MetadataFieldDetected.vue?a297","webpack:///src/components/InvoiceDetectedInfo.vue","webpack:///./src/components/InvoiceDetectedInfo.vue?99db","webpack:///./src/components/InvoiceDetectedInfo.vue?fab2","webpack:///./src/components/DocumentHistoryComponent.vue?b2bc","webpack:///src/components/DocumentHistoryComponent.vue","webpack:///./src/components/DocumentHistoryComponent.vue?3bd1","webpack:///./src/components/DocumentHistoryComponent.vue","webpack:///./src/modules/invoices/app/UpdateMetadataCurrencyCommand.ts","webpack:///./src/modules/invoices/app/RestoreDetectedAmountsCommand.ts","webpack:///./src/modules/facturae/app/CreateXMLFromInvoice.ts","webpack:///./src/modules/invoices/app/GetCurrencyInfoQuery.ts","webpack:///./src/modules/companies/application/SelectDetectedCompany.ts","webpack:///./src/modules/companies/application/TransferDocumentToOtherCompany.ts","webpack:///src/components/RightDrawerClientMode.vue","webpack:///./src/components/RightDrawerClientMode.vue?9319","webpack:///./src/components/RightDrawerClientMode.vue?cf11","webpack:///./src/components/RightDrawerClientModeV2.vue?4b9a","webpack:///./src/components/InvoiceInfoV2.vue?702f","webpack:///src/components/InvoiceInfoV2.vue","webpack:///./src/components/InvoiceInfoV2.vue?0b92","webpack:///./src/components/InvoiceInfoV2.vue?fd95","webpack:///src/components/RightDrawerClientModeV2.vue","webpack:///./src/components/RightDrawerClientModeV2.vue?131b","webpack:///./src/components/RightDrawerClientModeV2.vue?53c9","webpack:///./src/components/AccountMove.vue?a195","webpack:///src/components/AccountMove.vue","webpack:///./src/components/AccountMove.vue?0da3","webpack:///./src/components/AccountMove.vue?4061","webpack:///./src/components/AccountMoveV2.vue?17c0","webpack:///src/components/AccountMoveV2.vue","webpack:///./src/components/AccountMoveV2.vue?b82b","webpack:///./src/components/AccountMoveV2.vue?78e8","webpack:///./src/components/InvoiceLines.vue?9d26","webpack:///src/components/InvoiceLines.vue","webpack:///./src/components/InvoiceLines.vue?4f96","webpack:///./src/components/InvoiceLines.vue?4afc","webpack:///./src/components/Tutorial.vue?3834","webpack:///src/components/Tutorial.vue","webpack:///./src/components/Tutorial.vue?a576","webpack:///./src/components/Tutorial.vue?2842","webpack:///./src/components/LegalDocuments/LegalDialog.vue?9b34","webpack:///src/components/LegalDocuments/LegalDialog.vue","webpack:///./src/components/LegalDocuments/LegalDialog.vue?0ebc","webpack:///./src/components/LegalDocuments/LegalDialog.vue","webpack:///./src/components/LegalDocuments/SaleTerms.vue?5f08","webpack:///./src/components/LegalDocuments/LegalWarningSection.vue?9054","webpack:///src/components/LegalDocuments/LegalWarningSection.vue","webpack:///./src/components/LegalDocuments/LegalWarningSection.vue?61a7","webpack:///./src/components/LegalDocuments/LegalWarningSection.vue","webpack:///src/components/LegalDocuments/SaleTerms.vue","webpack:///./src/components/LegalDocuments/SaleTerms.vue?fdae","webpack:///./src/components/LegalDocuments/SaleTerms.vue","webpack:///./src/components/layout/SidebarElement.vue?a643","webpack:///src/components/layout/SidebarElement.vue","webpack:///./src/components/layout/SidebarElement.vue?60ef","webpack:///./src/components/layout/SidebarElement.vue?100e","webpack:///./src/components/ContractPopup.vue?3860","webpack:///./src/components/ContractSelectPlanPopup.vue?1174","webpack:///src/components/ContractSelectPlanPopup.vue","webpack:///./src/components/ContractSelectPlanPopup.vue?217b","webpack:///./src/components/ContractSelectPlanPopup.vue","webpack:///./src/modules/revenue/app/DeliverAndCreateChargeForServiceCard.ts","webpack:///./src/modules/revenue/app/DeliverAndCreateChargeForServiceTransfer.ts","webpack:///./src/modules/revenue/app/DeliverAndCreateChargeForService.ts","webpack:///./src/modules/revenue/app/ServicesPricesFiscalPositionQuery.ts","webpack:///./src/modules/revenue/app/DistributorUsersQuery.ts","webpack:///./src/modules/revenue/app/ClientUsersQuery.ts","webpack:///src/components/ContractPopup.vue","webpack:///./src/components/ContractPopup.vue?36f4","webpack:///./src/components/ContractPopup.vue?14dd","webpack:///./src/components/Notifications.vue?97cc","webpack:///src/components/Notifications.vue","webpack:///./src/components/Notifications.vue?1d7b","webpack:///./src/components/Notifications.vue","webpack:///./src/modules/load_path/app/MultipleForceDownloadLoadPathFiles.ts","webpack:///src/App.vue","webpack:///./src/App.vue?c2d4","webpack:///./src/App.vue?2d25","webpack:///./src/assets/unsign_invoice.svg","webpack:///./src/components/layout/AppModalCol.vue?5f4f","webpack:///src/components/layout/AppModalCol.vue","webpack:///./src/components/layout/AppModalCol.vue?d868","webpack:///./src/components/layout/AppModalCol.vue","webpack:///./src/assets/hide_invoice.svg","webpack:///./src/components/RightDrawerClientModeV2.vue?0ca7","webpack:///./src/modules/accounts/domain/AccountNumberDigits.js","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/components/ContractPopup.vue?8735","webpack:///./src/components/layout/AppTextField.vue?58fc","webpack:///src/components/layout/AppTextField.vue","webpack:///./src/components/layout/AppTextField.vue?3a30","webpack:///./src/components/layout/AppTextField.vue?4893","webpack:///./src/assets/bank-show-mismatch.svg","webpack:///./src/components/layout/AppModalContainer.vue?078d","webpack:///src/components/layout/AppModalContainer.vue","webpack:///./src/components/layout/AppModalContainer.vue?f693","webpack:///./src/components/layout/AppModalContainer.vue","webpack:///./src/assets/bank-effect-switch-disabled.svg","webpack:///./src/assets/bank-generate-rules-disabled.svg","webpack:///./src/modules/shared/infra/S3Repository.ts","webpack:///./src/assets/icon-zoom-out.svg","webpack:///./src/assets/einvoice-download-black.svg","webpack:///./src/store/constants.js","webpack:///./src/components/WelcomeSteps/PolicyDialogLink.vue?ef4c","webpack:///src/components/WelcomeSteps/PolicyDialogLink.vue","webpack:///./src/components/WelcomeSteps/PolicyDialogLink.vue?2199","webpack:///./src/components/WelcomeSteps/PolicyDialogLink.vue?3604","webpack:///./src/plugins/vuetify.js","webpack:///./src/views/Home.vue?ecc9","webpack:///./src/components/HelloWorld.vue?e706","webpack:///src/components/HelloWorld.vue","webpack:///./src/components/HelloWorld.vue?4925","webpack:///./src/components/HelloWorld.vue","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?e514","webpack:///./src/views/Home.vue","webpack:///./src/store/build_store.js","webpack:///./src/store/modules/countries.js","webpack:///./src/store/modules/configuration.js","webpack:///./src/store/modules/documents.js","webpack:///./src/store/modules/deleted_documents.js","webpack:///./src/store/modules/accounts.js","webpack:///./src/store/modules/permissions.js","webpack:///./src/store/modules/tax_tab.js","webpack:///./src/store/modules/setting_repository.js","webpack:///./src/store/modules/cru.js","webpack:///./src/store/modules/dialog_contract.js","webpack:///./src/store/modules/legal_contract.js","webpack:///./src/store/modules/dialog_payment.js","webpack:///./src/store/modules/dialog_bank_rules.js","webpack:///./src/store/modules/kpis.js","webpack:///./src/store/modules/network_drives.js","webpack:///./src/store/modules/config.js","webpack:///./src/store/modules/pdf_data.js","webpack:///./src/store/modules/text_tags.js","webpack:///./src/store/modules/locations.js","webpack:///./src/api/webhook.js","webpack:///./src/store/modules/webhook.js","webpack:///./src/api/webhook_request.js","webpack:///./src/store/modules/webhook_request.js","webpack:///./src/store/modules/payment_ok_modal.js","webpack:///./src/store/modules/payment_error_modal.js","webpack:///./src/store/modules/messageModal.js","webpack:///./src/api/users_permissions.js","webpack:///./src/store/modules/users_permissions.js","webpack:///./src/store/modules/cookies.js","webpack:///./src/modules/notifications/application/UserNotificationsQuery.ts","webpack:///./src/modules/notifications/application/MarkAsReadNotificationCommand.ts","webpack:///./src/modules/notifications/infrastructure/apiNotificationRepository.ts","webpack:///./src/modules/notifications/infrastructure/NotificationUseCase.ts","webpack:///./src/store/modules/notifications.js","webpack:///./src/store/modules/transactions.js","webpack:///./src/store/modules/effects.js","webpack:///./src/store/modules/products.js","webpack:///./src/store/index.js","webpack:///./src/router.js","webpack:///./src/main.js","webpack:///./src/components/DetailReferenceSimple.vue?8936","webpack:///./src/components/layout/AppCol.vue?387d","webpack:///src/components/layout/AppCol.vue","webpack:///./src/components/layout/AppCol.vue?6e36","webpack:///./src/components/layout/AppCol.vue?5fa6","webpack:///./src/components/layout/AppSimpleTableWithApi2.vue?463a","webpack:///src/components/layout/AppSimpleTableWithApi2.vue","webpack:///./src/components/layout/AppSimpleTableWithApi2.vue?b251","webpack:///./src/components/layout/AppSimpleTableWithApi2.vue?0218","webpack:///./src/modules/document/infra/ApiOtherDocumentRepository.ts","webpack:///./src/assets/add_info.svg","webpack:///./src/assets/reconcile.svg","webpack:///./src/components/layout/AppConfirmModalTitle.vue?c0e9","webpack:///src/components/layout/AppConfirmModalTitle.vue","webpack:///./src/components/layout/AppConfirmModalTitle.vue?0c02","webpack:///./src/components/layout/AppConfirmModalTitle.vue?6fc8","webpack:///./src/assets/created_invoices.svg","webpack:///./src/components/layout/AppConfirmModal.vue?3c11","webpack:///src/components/layout/AppConfirmModal.vue","webpack:///./src/components/layout/AppConfirmModal.vue?1f02","webpack:///./src/components/layout/AppConfirmModal.vue?6b7c","webpack:///./src/modules/invoices/domain/Invoice.ts","webpack:///./src/components/layout/AppBtn.vue?c20f","webpack:///src/components/layout/AppBtn.vue","webpack:///./src/components/layout/AppBtn.vue?88ec","webpack:///./src/components/layout/AppBtn.vue?4669","webpack:///./src/components/layout/AppRow.vue?855c","webpack:///src/components/layout/AppRow.vue","webpack:///./src/components/layout/AppRow.vue?ae20","webpack:///./src/components/layout/AppRow.vue","webpack:///./src/components/TrainerTagsInfo.vue?2adf","webpack:///./src/components/DetailAccounts.vue?03b8","webpack:///./src/components/layout/AppModalRow.vue?1d4f","webpack:///src/components/layout/AppModalRow.vue","webpack:///./src/components/layout/AppModalRow.vue?cc20","webpack:///./src/components/layout/AppModalRow.vue","webpack:///./src/assets/bank-assert-rule.svg","webpack:///./src/assets/bank-asiento.svg","webpack:///./src/assets/mark_as_paid_disabled.svg","webpack:///./src/assets/upload_excel.svg","webpack:///./src/assets/sign_invoice.svg","webpack:///./src/components/DetailReferenceAccounts.vue?19e0","webpack:///./src/assets/add_box.svg","webpack:///./src/components/ViesValidator.vue?2ccc","webpack:///./src/modules/document/infra/ApiWorkflowTemplateRepository.ts","webpack:///./src/assets/bank-mark-as-reviewed.svg","webpack:///./src/modules/tokens/domain/token.ts","webpack:///./src/modules/tokens/infrastructure/ApiTokenRepository.ts","webpack:///./src/components/layout/AppCreationObjectSectionCard.vue?d908","webpack:///src/components/layout/AppCreationObjectSectionCard.vue","webpack:///./src/components/layout/AppCreationObjectSectionCard.vue?6ed1","webpack:///./src/components/layout/AppCreationObjectSectionCard.vue?9cea","webpack:///./src/assets/split_view_mode.svg","webpack:///./src/assets/mark_as_paid.svg","webpack:///./src/assets/bank-assert-rules.svg","webpack:///./src/components/layout/AppDocTextField.vue?4d0b","webpack:///src/components/layout/AppDocTextField.vue","webpack:///./src/components/layout/AppDocTextField.vue?8fe0","webpack:///./src/components/layout/AppDocTextField.vue?1c32","webpack:///./src/assets/start_contract.svg","webpack:///./src/assets/bank-assert-rules-disabled.svg","webpack:///./src/assets/import-bank.svg","webpack:///./src/components/layout/AppCreationObjectSectionCard.vue?94c4","webpack:///./src/assets/einvoice-info-black.svg","webpack:///./src/components/WelcomeSteps/ContratoTratamientoDatos.vue?022f","webpack:///src/components/WelcomeSteps/ContratoTratamientoDatos.vue","webpack:///./src/components/WelcomeSteps/ContratoTratamientoDatos.vue?d79b","webpack:///./src/components/WelcomeSteps/ContratoTratamientoDatos.vue","webpack:///./src/assets/bank-uncheck-reviewed-disabled.svg","webpack:///./src/components/AutocompleteWithApi.vue?2319","webpack:///src/components/AutocompleteWithApi.vue","webpack:///./src/components/AutocompleteWithApi.vue?7c93","webpack:///./src/components/AutocompleteWithApi.vue?d433","webpack:///./src/store/modules/contracts.js","webpack:///./src/components/AccountMove.vue?1184","webpack:///./src/assets/download_xml.svg","webpack:///./src/components/layout/AppCombobox.vue?d8a7","webpack:///./src/assets/bank-config.svg","webpack:///./src/assets/transacciones-new.svg","webpack:///./src/assets/logo.svg","webpack:///./src/modules/entities/domain/Entities.ts","webpack:///./src/modules/entities/infra/EntitiesApiRepositories.ts","webpack:///./src/assets/back-arrow.svg","webpack:///./src/modules/accounts/domain/Account.js","webpack:///./src/components/MessagePopup.vue?9cd1","webpack:///./src/components/layout/AppSelect.vue?50e6","webpack:///./src/assets/einvoice-received-filter.svg","webpack:///./src/assets/bank-filters.svg","webpack:///./src/assets/einvoice-info-white.svg","webpack:///./src/components/AccountMove.vue?4ae2","webpack:///./src/assets/bank-mark-as-reviewed-disabled.svg","webpack:///./src/assets/toggle-rules.svg","webpack:///./src/components/layout/AppCol.vue?5070","webpack:///./src/store/modules/tutorial.js","webpack:///./src/components/layout/AppTextField.vue?bb28","webpack:///./src/aws-exports.js","webpack:///./src/components/InvoiceInfoV2.vue?8118","webpack:///./src/components/DetailReferenceSimple.vue?a77c","webpack:///./src/assets/btn-show-menu.svg","webpack:///./src/modules/shared/infra/APICommandDispatcher.ts","webpack:///./src/modules/shared/domain/QueryDispatcher.ts","webpack:///./src/modules/shared/infra/APIQueryDispatcher.ts","webpack:///./src/modules/shared/domain/CommandDispatcher.ts","webpack:///./src/modules/shared/infra/APIAsyncCommandDispatcher.ts","webpack:///./src/modules/document/infra/DocumentComponentsFactory.ts","webpack:///./src/api/client.js","webpack:///./src/assets/bank-account-switch.svg","webpack:///./src/components/CreationObject.vue?8c46","webpack:///./src/modules/facturae/infra/VueInvoiceEditorScreenData.ts","webpack:///./src/components/InvoiceInfo.vue?31d3","webpack:///./src/assets/bank-download-transactions.svg","webpack:///./src/api/connector.js","webpack:///./src/assets/icon-zoom-in.svg","webpack:///./src/modules/tokens/application/getOrCreateToken.ts","webpack:///./src/components/layout/AppSimpleTableWithApi2.vue?3a4b","webpack:///./src/assets/bank-btn-effects.svg","webpack:///./src/components/ContractSelectPlanPopup.vue?e1c0","webpack:///./src/components/Tutorial.vue?4f42","webpack:///./src/assets/einvoice-download-white.svg","webpack:///./src/components/layout/AppDocTextField.vue?cd57","webpack:///./src/store/modules/me.js","webpack:///./src/modules/facturae/domain/Configuration.ts","webpack:///./src/api/user.js","webpack:///./src/assets/bank-refresh.svg","webpack:///./src/assets/send_invoice.svg","webpack:///./src/modules/entities/app/EntitiesListComponent.ts","webpack:///./src/assets/icon-print.svg","webpack:///./src/assets/save_invoice.svg","webpack:///./src/assets/icon-shrink.svg","webpack:///./src/assets/icon-preview.svg","webpack:///./src/components/AccountMoveV2.vue?f510","webpack:///./src/assets/sign_invoice_disabled.svg","webpack:///./src/components/Notifications.vue?00ea","webpack:///./src/modules/document/application/WorkflowTemplatesQuery.ts","webpack:///./src/assets/bank-hide-mismatch.svg","webpack:///./src/assets/logo.png","webpack:///./src/utils/common.js","webpack:///./src/assets/icon-select-company.svg","webpack:///./src/components/layout/SidebarElement.vue?d459","webpack:///./src/components/layout/AppBtn.vue?6825","webpack:///./src/components/ContractPopup.vue?69cb","webpack:///./src/components/WelcomeSteps/LegalContract.vue?c64a","webpack:///./src/components/AutocompleteWithApi.vue?6c27","webpack:///./src/store/vuex_utils.js","webpack:///./src/assets/bank-delete-transaction-disabled.svg","webpack:///./src/modules/notifications/infrastructure/SendByEmailForm.vue?190c","webpack:///src/modules/notifications/infrastructure/SendByEmailForm.vue","webpack:///./src/modules/notifications/infrastructure/SendByEmailForm.vue?86b0","webpack:///./src/modules/notifications/infrastructure/SendByEmailForm.vue","webpack:///./src/components/WelcomeSteps/LegalContract.vue?0801","webpack:///src/components/WelcomeSteps/LegalContract.vue","webpack:///./src/components/WelcomeSteps/LegalContract.vue?4600","webpack:///./src/components/WelcomeSteps/LegalContract.vue?13fe","webpack:///./src/assets/bank-generate-rules.svg","webpack:///./src/components/layout/TableCustomTextField.vue?bb2b","webpack:///./src/assets/view_invoice.svg","webpack:///./src/components/AccountMoveV2.vue?e406","webpack:///./src/views/CreateCustomer.vue?398e","webpack:///./src/components/RightDrawerClientMode.vue?ef23","webpack:///./src/modules/shared/infra/FeatureRepository.js","webpack:///./src/assets/einvoice-issued-filter.svg","webpack:///./src/components/layout/AppAutocomplete.vue?06be","webpack:///src/components/layout/AppAutocomplete.vue","webpack:///./src/components/layout/AppAutocomplete.vue?baf6","webpack:///./src/components/layout/AppAutocomplete.vue?1557","webpack:///./src/components/DocTextField.vue?bd1d","webpack:///./src/api/jobs.js","webpack:///./src/assets/bank-generate-rule.svg","webpack:///./src/components/MetadataFieldDetected.vue?071d","webpack:///./src/components/DatePicker.vue?8734","webpack:///src/components/DatePicker.vue","webpack:///./src/components/DatePicker.vue?75e7","webpack:///./src/components/DatePicker.vue","webpack:///./src/modules/document/application/OtherDocListComponent.ts","webpack:///./src/assets/stop_contract.svg","webpack:///./src/components/DetailAccounts.vue?50c1","webpack:///./src/components/RightDrawerClientModeV2.vue?959e","webpack:///./src/assets/folder_info.svg","webpack:///./src/modules/document/domain/WorkflowTemplate.ts","webpack:///./src/assets/icon-expand.svg","webpack:///./src/views/CreateCustomer.vue?1079","webpack:///src/views/CreateCustomer.vue","webpack:///./src/views/CreateCustomer.vue?b484","webpack:///./src/views/CreateCustomer.vue?27b9","webpack:///./src/assets/bank-effect-switch.svg","webpack:///./src/assets/bank-upload-file.svg","webpack:///./src/components/MetadataField.vue?6e3e","webpack:///./src/components/MetadataField.vue?05b7","webpack:///src/components/MetadataField.vue","webpack:///./src/components/MetadataField.vue?d8ec","webpack:///./src/components/MetadataField.vue?31e0","webpack:///./src/components/layout/AppModalPrompt.vue?920d","webpack:///src/components/layout/AppModalPrompt.vue","webpack:///./src/components/layout/AppModalPrompt.vue?f773","webpack:///./src/components/layout/AppModalPrompt.vue?15b7","webpack:///./src/components/InvoiceLines.vue?6b3c","webpack:///./src/components/layout/AppModalPrompt.vue?152d","webpack:///./src/components/DocTextField.vue?dcfd","webpack:///src/components/DocTextField.vue","webpack:///./src/components/DocTextField.vue?eed3","webpack:///./src/components/DocTextField.vue?3244","webpack:///./src/assets/bank-download-transactions-disabled.svg","webpack:///./src/components/DetailReferenceAccounts.vue?0033","webpack:///src/components/DetailReferenceAccounts.vue","webpack:///./src/components/DetailReferenceAccounts.vue?5f0c","webpack:///./src/components/DetailReferenceAccounts.vue?a4cc","webpack:///./src/components/FixCIFPopup.vue?6c36","webpack:///./src/assets/einvoice-draft-filter.svg","webpack:///./src/assets/send_invoice_disabled.svg","webpack:///./src/modules/facturae/domain/Sequence.ts"],"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","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","round","x","num_dec","num","Math","Number","EPSILON","isValidDate","d_str","res","d_str_split","split","Date","isNaN","getTime","sleep","async","ms","dateIsInPaths","date","paths","parse","VueOtherDocumentListScreenData","this","availableFilters","original_file_name","text","date_from","date_to","need_approval","cascadeEntities","user_id","totalItems","loading_odocs","other_documents","other_documents_headers","sortable","selectedItems","documentName","limit","offset","currentPage","search","loadingItems","selectAllItems","tableHeight","initNumItemsPerPage","sortBy","footerItemsPerPageText","footerItemsPerPageOptions","showSelect","textNoResults","textLoading","itemKey","hideHeaderCheckbox","mobile","showDeletePupup","msgDeletePupup","resolvePopupPromise","loading_d_other_doc","drawer","filter_doc_name","filter_doc_type","filter_date_from","filter_date_to","action_menu","asyncJobState","asyncJobId","filter_need_approval","action","dialogChangeWorkflow","workflowOptions","selectedWorkflow","InvoiceEditorComponent","invoice_repo","file_repo","screen_data","product_repo","config_repo","invoiceable_type","currentCompany","state_translator","payment_state_translator","recargo_rates","invoiceable_id","companydb_id","next_number","next_rectificative_number","default_sequence_id","products","getProductList","setProducts","rectificative_invoice","config","get_configuration","setConfiguration","tax_type","configuration","invoiceable","create_empty_invoiceable","find_by_id","rectificative_info","invoice_id","sequence_id","is_from_recurring_contract","seq","sequences","find","id","setSequence","setInvoice","setRectificativeInvoice","uploadCustomers","ask_for_file","file","setLoading","path","uploadFile","log","my_inv_id","save","invoice","import_lines_from_excel","inv","line","lines","updated_line","updateLine","setLines","inv_id","msg","capitalizeFirstLetter","success_message","error_message","default_tax","includes","selected_tax","discounts","accept","delete_all_lines_dialog","deleteLinesInBatches","batchSize","processBatch","update_invoice","default_reasons","state","reason","taxes","rate","special_taxable_event","additional_info","some","default_reason","endsWith","replace","compute","download_loading","download_type","download_pdf","download_xml","job_id","downloadPopup","s_url","response","fetch","ok","blob","url","URL","createObjectURL","a","ext","download","toISOString","invoice_number","body","click","getJob","recived_url","output_info","download_from_url","success","concat","senderOption","emailForm","to","subject","signed","sign","issued","issue","send_loading","send_invoice_email","send_invoice","send_invoice_to_accounting","send_dialog","send","customers","get_customer_list","company_id","actual_customer","customer","match","cif","setCustomers","supplier","supplier_from_current_company","supplier_pop_up","customer_pop_up","setLoadingReject","reject_invoiceable","reject_comment","setRejectDialog","val","String","charAt","toUpperCase","setLoadingPaid","setPaidDialog","pay_downloaded_invoice","unsigned","unsign","send_invoice_accounting","third","save_third","status","save_company_as_party","availableSequences","predicted_invoice_number","predicted_rectificative_invoice_number","render","_vm","_h","$createElement","_c","_self","class","isInModal","attrs","objectType","cru_name","cru_cif","document_id","nif","areParamsChanged","got_feature","on","mycreated","$event","$emit","scopedSlots","_u","fn","staticClass","model","callback","$$v","currentTab","expression","_v","proxy","keys","cru_errors_supplierScreenValues","directives","rawName","_l","toString","Array","isArray","_s","firstAppearance","_e","autocompleteSupplierData","showAutocompletePupup","company_data","confirmCompanyData","showDataNotFoundMessage","cru_label_cif","Boolean","cru_error_cif","check_duplicates","staticStyle","duplicate_message","$vuetify","breakpoint","mdAndDown","cru_label_name","cru_error_name","upper","ref","_g","feature_supplier_reference","cru_label_reference","cru_error_reference","cru_reference","cru_label_type","thirdTypeTypes","cru_error_type","cru_type","hasEInvoiceContract","_b","showAdditionalInfo","feature_account_type_innuva","cru_label_credit_account","cru_error_credit_account","actual_credit_account","companydb_type","params","num_digits","account_types","cru_credit_account","cru_label_alias","cru_error_alias","cru_alias","cru_label_identity_key","identity_keys","cru_error_identity_key","cru_identity_key","cru_label_address","cru_error_address","cru_address","cru_label_zip_code","cru_error_zip_code","cru_zip_code","cru_label_city","cru_error_city","cru_city","cru_label_province","cru_error_province","cru_province","cru_label_country","autocompleteCountryItems","cru_error_country","cru_country","cru_label_email","cru_error_email","cru_email","cru_label_phone","cru_error_phone","cru_phone","cru_label_website","cru_error_website","cru_website","cru_label_notes","cru_error_notes","cru_notes","cru_label_expens_accounts","cru_error_expens_accounts","accounts","getValues","resetItems","cru_expens_accounts","feature_payment_move","cru_label_automatic_payment_account","automaticPaymentAccountTypes","cru_error_automatic_payment_account","cru_automatic_payment_account","cru_label_payment_account","cru_error_payment_account","cru_payment_account","style","cru_ref_expens_accounts","errorInRefAccounts","updateRefExpensAccounts","cru_label_retention_type","filtered_retention_types","cru_error_retention_type","cru_retention_type","available_features","feature_expense_income_type","cru_label_expens_income_type","getExpensType","cru_default_expens_income_type","feature_cadastral_reference","cru_label_cadastral_reference","cru_cadastral_reference","feature_building_code","cru_label_building_code","cru_building_code","cru_label_fiscal_location","fiscal_locations","cru_error_fiscal_location","cru_fiscal_location","feature_decimal_separator","decimal_separator_choices","cru_label_decimal_separator","cru_decimal_separator","feature_description_sii","cru_label_description_sii","changeDescriptionSII","cru_description_sii","cru_label_fixed_value","cru_error_fixed_value","cru_fixed_value","cru_label_auto_fill_due_date","feature_can_auto_fill_due_date","cru_error_auto_fill_due_date","cru_auto_fill_due_date","feature_price_range","cru_label_min_price","cru_error_min_price","cru_min_price","cru_label_max_price","cru_error_max_price","cru_max_price","activities","hide_activities_master","cru_label_default_actividad","cru_default_actividad","show","hide_projects_master","cru_label_default_project","projects","cru_default_project","hide_channels_master","cru_label_default_channel","channels","cru_default_channel","feature_payment_method","cru_label_payment_method","cru_error_payment_method","cru_payment_method","showSuplidoAccount","cru_label_suplido_account","cru_suplido_account","cru_label_retention_professional_account","cru_retention_professional_account","cru_label_retention_rental_account","cru_retention_rental_account","cru_label_cut_inv_num","cru_cut_inv_num","cru_label_num_chars_inv_num","cru_error_num_chars_inv_num","cru_num_chars_inv_num","cru_label_chars_to_exclude","cru_chars_to_exclude","feature_bien_inversion","hideBienInversionAccount","isNotDesgloseDeCuentas","isRegularSupplierAccountType","cru_label_expens_account_bien_inversion","cru_error_expens_account_bien_inversion","cru_expens_account_bien_inversion","cru_label_have_serie","cru_have_serie","cru_label_series","cru_series","cru_data","$set","cru_label_ignore_cif_validation","cru_ignore_cif_validation","cru_label_inversion_sujeto_pasivo_iva","change_boolean","cru_inversion_sujeto_pasivo_iva","cru_label_inversion_sujeto_pasivo_igic","cru_inversion_sujeto_pasivo_igic","cru_label_intracomunitario","cru_intracomunitario","cru_label_is_comerciante_minorista","cru_is_comerciante_minorista","feature_no_sujeta","cru_label_no_sujeta","cru_no_sujeta","cru_label_dry_0_percent","cru_dry_0_percent","cru_label_criterio_de_caja","cru_criterio_de_caja","feature_no_sujeta_reference","cru_refs_no_sujeta","updateRefNoSujeta","cru_label_percent","iva_values","cru_error_inversion_sujeto_pasivo_iva_percent","cru_inversion_sujeto_pasivo_iva_percent","igic_values","cru_error_inversion_sujeto_pasivo_igic_percent","cru_inversion_sujeto_pasivo_igic_percent","feature_intra_type","cru_extracomunitario","feature_extra_type","cru_label_intracomunitario_type","cru_error_intracomunitario_type","cru_intracomunitario_type","intra_values","cru_error_intracomunitario_percent","cru_intracomunitario_percent","cru_is_comerciante_minorista_percent","areIvaChecksChanged","selectedIvaCheck","toggleIvaCheck","cru_label_iva_igic_no_deducible","cru_label_gasto_iva_parcial","cru_label_iva_parcial","feature_prorate","prorate","cru_label_prorate","cru_label_gasto_no_deducible_account","cru_error_gasto_no_deducible_account","cru_gasto_no_deducible_account","cru_label_iva_no_deducible_account","cru_error_iva_no_deducible_account","cru_iva_no_deducible_account","cru_label_gasto_iva_percent","cru_error_gasto_iva_percent","cru_gasto_iva_percent","cru_label_exc_expense_account","cru_error_exc_expense_account","cru_exc_expense_account","hide","cru_label_register_iva_igic_0","cru_register_iva_igic_0","cru_first_name","cru_first_surname","cru_second_surname","cru_label_dire","cru_dire","cru_label_accounting_office","cru_accounting_office","cru_label_management_body","cru_management_body","cru_label_processing_unit","cru_processing_unit","cru_label_proposing_body","cru_proposing_body","updateWithAdditionalInfo","staticRenderFns","components","AppAutocomplete","AppCombobox","AppDocTextField","AppCreationObjectSectionCard","AppTextField","AppSelect","AppRow","AppCol","AppBtn","CreationObject","DetailReferenceAccounts","DetailReferenceSimple","MessagePopup","AutocompleteCompanyData","props","default","required","methods","get_identity_keys","updateScreenValuesArray","field","cdb_id","own_id","client","results","debug","list","$router","currentRoute","lastSelectedIvaCheck","feature_suplido_account","getAccounts","desglose_de_cuentas","run","actualScreen","cru_supplierScreenValues","GetFiscalLocationInfoQuery","WorkflowTemplatesQuery","userData","dispatch","computed","getCountryByCode","getCountries","get_retention_types","get_automatic_payment_account_types","getExtracomunitarioLabel","companydb_types","feature_expens_accounts_reference","map","country_code","country","automaticPaymentAccountTypesItems","retentionTypesItems","setChoices","v","filter","element","isAgricultureOrLivestock","isCapital","isProfessionalStartActivity","isTransport","iva_agrario_pesca","feature_retention_accounts_agrario","regularSupplierPrefixes","creditAccount","$store","cru","screenValues","supplierScreenValues","credit_account","creditAccountPrefix","xs","xl","watch","component","VAlert","VBtn","VCard","VCardActions","VCardText","VCardTitle","VCheckbox","VCol","VContainer","VDialog","VDivider","VExpandTransition","VIcon","VRadio","VRadioGroup","VRow","VSpacer","VTab","VTabItem","VTabs","VTabsItems","VTooltip","isValidConcept","str","regex","test","isValidConceptMaxDigits","maxDigits","regexDigits","RegExp","objectToDict","obj","dict","dataToLines","invoice_lines","description","quantity","unit_price_without_tax","total_cost","gross_amount","tax","base","amount","recargo_rate","recargo_amount","taxes_withheld","product_code","additional_information","selected_retention","selected_tax_event","sort","b","dataToParty","party","post_code","first_surname","second_surname","business_name","trade_name","address","city","province","email","phone","website","bank_account_number","bic","DIRe","accounting_office","management_body","processing_unit","proposing_body","mandate_id","mandate_signature_date","ApiInvoiceableRepository","command_dispatcher","query_dispatcher","async_command_dispatcher","inv_data","general_discounts","discount","total_amount","total_to_pay","invoice_date","other_amounts","invoice_due_date","external_invoice_number","start_date","end_date","retention_concept","retention_amount","kind","reimbursable_amounts","signing_time","payment_state","accounting_document_id","rectificative","free_notes","payment_means","recurring_invoice_contract_id","is_for_recurring_contracts","related_invoiceable_ids","JSON","stringify","ids","inv_ids","output","invoiceables_ids","api_to_domain","args","count","inv_list","domain_to_api","command","excel_path","company_as_party","cap","first_tax","empty_line","si","today_date","force_download","send_to","customerList","emptyParty","debit_account","comment","selected_ids","uuid","queryURL","rectificative_e_invoice","company","email_template","outlined","label","multiple","hint","items","itemText","itemValue","rules","readonly","disabled","clearable","returnObject","hideDetails","prependInnerIcon","_t","item","validator","placeholder","VSelect","reverse","handleInput","handleChange","VTextField","persistent","show_message","title","domProps","index","doEmit","actions","emit","webpackContext","req","webpackContextResolve","dense","appendIcon","errorMessages","smallChips","nativeOn","arguments","cacheItems","Function","VCombobox","FETCH_CONNECTOR_BEGIN","FETCH_CONNECTOR_ERROR","FETCH_CONNECTOR_SUCCESS","WRITE_CONNECTOR_BEGIN","WRITE_CONNECTOR_ERROR","WRITE_CONNECTOR_SUCCESS","RESET_CONNECTOR","SET_ROWS_PER_PAGE","SET_NSTFILESPATHS","SET_CURRENT_FILTERS","CLEAN_FILTERS","SET_TYPE_CHOICES","SET_COMPANYDB_TYPES","SET_LOAD_PATH_TYPES","SET_LOCATIONS","SET_ASYNC_JOB_ID","SET_ASYNC_JOB_STATE","ADD_REFRESH_ACCOUNTS_ACTION","ADD_MASSIVE_COMPANYDB_LINK_ACTION","CHANGE_MASSIVE_COMPANYDB_LINK_ACTION","ACTIVE_TRAINING_MESSAGE","INACTIVE_TRAINING_MESSAGE","ACTIVE_INSTALATION_MESSAGE","INACTIVE_INSTALATION_MESSAGE","ADD_MASSIVE_DEACTIVATE_COMPANYDB_LINK_ACTION","SET_CSV_ONE_LINE_HEADERS","SET_CSV_ONE_LINE_HIDDEN_HEADERS","SET_CSV_MULTI_LINE_HEADERS","SET_CSV_MULTI_LINE_HIDDEN_HEADERS","SET_USERS_CDB_WITH_SETTINGS","SET_OAUTH_PARAMS","SET_OAUTH_APP","add_tipos","conf","forEach","found","found_conf","tipos_iva","conf_e","iva","compare","tipo","Connector","review","tolerancy","path_supplier_folder","path_customer_folder","iva_igic_no_deducible","comerciante_minorista","apply_415","cartera_supplier","cartera_customer","cuenta_cartera_supplier","cuenta_cartera_customer","min_date","max_date","links","type_name","load_paths","automatic_payment_account","payment_account","automatic_charge_account","charge_account","to_upper","tagline_in_invoice","tagline_out_invoice","have_serie","series","cut_inv_num","num_chars_inv_num","chars_to_exclude","cut_cus_inv_num","num_chars_cus_inv_num","chars_to_exclude_cus","tagline_payment_move","tagline_charge_move","search_third_aprox","iva_tabaco","check_ret","auto_fill_due_date","invoice_description_order","oauth_session","oauth_session_state","decimal_separator","max_price","min_price","location_fk_id","criterio_de_caja","abono_keywords","check_cif_in_docs","required_project","alfastar_serie_in","alfastar_serie_out","report_sii","external_password","rest","link_path","format","start_ejercicio","end_ejercicio","year_ejercicio","year","prorate_percent","deleted","active","assign","link_path_aux","models","connector","connectorLoading","connectorError","connectorWriteLoading","connectorWriteError","rowsPerPage","nstfilespaths","currentFilters","filtersData","company__name__icontains","company__nif__icontains","name__icontains","type_choices","load_path_types","locations","jobState","importErrors","companyid_labels","csv_one_line_headers","csv_one_line_hidden_headers","csv_multi_line_headers","csv_multi_line_hidden_headers","cdbs_with_settings","showMessages","pending_training","init_instalation","oauth_params","number_series_labels","taxes_labels","getters","getField","connectorFetched","currentConnector","connectorWriting","get_nstpaths","fetchConnector","commit","getConnector","d_str_split_max","resetConnector","exportConn","send_filters","filts","post","resp","catch","addRefreshAccountsAction","rootGetters","addMassiveCompanyDBLinkAction","changeMassiveCompanyDBLinkAction","massiveUpdate","patch","massiveAddCompanyDBLink","massiveChangeCompanyDBLink","massiveDeactivateCompanyDBLink","setColumnDataIfParams","getColumnsCsvOneLine","setColumnsCsvOneLine","getCdbWithSettings","settings_code","checkCompanyApi","route","checkCompany","getOpenIdUserSessions","validateUser","endpoint_data","connectOuth2User","location","setOauthData","urlParams","URLSearchParams","url_state","parseInt","at","getUserCompanies","createConnProject","external_id","companydb","references","updateConnProject","project","root","deleteConnProject","project_ids","search_filters","createConnChannel","updateConnChannel","channel","deleteConnChannel","channel_ids","deleteConnExpensIncomeType","eit_ids","createConnActivity","deleteConnActivity","act_ids","updateConnActivity","activity","createConnLoadPath","load_path_data","deleteConnLoadPath","loadpath_ids","updateConnLoadPath","load_path","createConnAccount","account","updateConnAccount","account_id","deleteConnAccounts","acc_ids","setLoadPathTypes","getLocations","cdb_type_value","context","userId","companyDBId","role_kind","view_all_companies","default_role_kind","view_invoices","view_banks","view_e_invoice","put","ucdbr_ids","pass","rowsNumber","formData","FormData","append","session","showReadOnly","activeInstalationMessage","inactiveInstalationMessage","activeTrainingMessage","inactiveTrainingMessage","mutations","updateField","docError","jobId","el","headers","cdb_list","oauth_app","namespaced","STATE_TRANSLATOR","draft","sent","sent_via_mail","paid","lost_connection","rejected","b_rejected","accepted","invoiced","b_sent","PAYMENT_STATE_TRANSLATOR","unpaid","partially_paid","overpaid","overdue","pending","rectified","remitted","0.052","0.014","0.005","Tax","ExtraAmount","ReceiverInfo","budget_number","budget_date","SenderInfo","AdditionalInformation","sender_info","receiver_info","delivery_note_number","delivery_note_date","additional_line_information","InvoiceLine","selected_product","clone","actual_round","price","parseFloat","Party","RectificativeInfo","Invoiceable","total_gross_amount","total_lines_discounts","total_gross_amount_before_tax","total_tax_amount","total_withheld_amount","total_taxes","total_taxes_withheld","general_surcharges","line0","headerExists","is_delivery_note_header","line2","total_tax","line_tax","total_base","reduce","acc","new_total_base","amt","ret_amount","original_inv","new_inv","original_lines","new_lines","new_line","Invoice","RecInv","Budget","DeliveryNote","validateAccount","divStyle","interval","setInterval","fetchJobState","jobs","downloadJobState","clearInterval","dispatcher","frontend","showNotFoundMessage","confirm","EntitiesListScreenData","downloaded","filters","types","selectedType","instances","serverTotalItems","sort_by","delete_pop_up","download_pop_up","loadingDelete","loadingDownload","GetCurrencyCodeListQuery","available_currencies","ROUTES","countries","auth","getDocument","docId","getTextTagging","patchDocument","saveRotation","continueFlow","listDocuments","statesFilter","listDeletedDocuments","getDocumentStates","getRetryDetectionStates","updateAccountMoves","multiContinueFlow","multiRetryAll","createDocumentBatch","urlCreateInvoiceLine","urlDeleteInvoiceLine","listDocumentsBase","page","itemsPerPage","currentCompanyId","documentsListId","sortField","sortOrder","qs","orderMapping","state_display","kind_display","mappedSortField","get_text_tagging","text_tagging","tagging","set_text_tagging_format","text_tagging_pages","documents","supplierdb","customerdb","tags","metadata","forced_move","actividad","inversion_sujeto_pasivo_igic","inversion_sujeto_pasivo_iva","inversion_sujeto_pasivo_igic_percent","inversion_sujeto_pasivo_iva_percent","intracomunitario","intracomunitario_percent","intracomunitario_type","extracomunitario","no_sujeta","bien_inversion","written_description","importaciones_percent","gasto_iva_parcial","iva_parcial","gasto_iva_percent","accounting_date_config","default_accounting_date","registro_date_config","default_registro_date","punteado","building_code","apply_modelo","serie","doc_number","doc_number_prefix","retention_type_name","notes","currency","expens_income_type","globalRotation","rotationPerDocument","id_document","accountMoves","manually_fixed","cancel_edit","dirty","actividad_str","is_comerciante_minorista","inv_number_to_rectify","inv_date_to_rectify","is_comerciante_minorista_percent","description_sii","written_description_sii","continue_flow_doc","fiscal_location","account_moves","files","invoice_line_id","TaxesOutputs","createMoveLines","mutableList","clear_ref_list","add_ref","update","remove_ref","DocTextField","ref_list","isHeaderFixed","objectName","thirdName","thirdCif","stopPropagation","hideSaveBtn","creating","preUpdateObject","createObject","slot","snackbar","applyChangesAllDocsMsg","applyChangesAllDocsQtn","answerApplyChangesAllDocs","applyChangesAllDocsDialog","CountThirdDocsPendingCommand","third_id","third_kind","mapFields","getterType","mutationType","AppPageCard","AppConfirmModal","inputs","company_name","company_nif","screenValue","panel","valid","inputs_values","loading","companies","errors","applyChangesAllDocsMsgDocScreen","applyChangesAllDocsQtnDocScreen","applyChangesAllDocs","me","getCruData","createCru","updateCru","getErrorsCru","getCountriesList","toLowerCase","count_docs","updateObject","selectedParam","selectedParamOption","selectedParamOption2","dry_0_percent","getData","isLogged","waitForLoggedIn","getInitialData","VProgressCircular","VSnackbar","VToolbar","color","preventDefault","$slots","top","VCardSubtitle","sellTermsDialog","_m","is_mobile","appCustomLogo","imgWidth","imgSrc","get_companydbs","isReadonlyCDBSelector","updateCurrentCompany","set_suppliers","permission","general","can_admin","is_employee","showCDBSelector","openEditCompanyDB","refreshAccountsState","refresh_accounts","forceDownloadLoading","forceDownloadLoadPath","fetching_companydbs","showBtnGeneric","feature_kit_digital","feature_kit_digital_2","is_staff","change_debugger_mode","user_data_can_debug_documents","change_trainer_mode","user_data_can_see_training_documents","isLoginas","user_role","get_color_loginas","unset_loginas","username","feature_user_notifications","notifications","show_notifications_modal","feature_bank_contract_finished","feature_defaulter_user","feature_show_triangle_contracts","feature_payment_on_inmatic","sender_docs_user_distributor_code","openContractModal","feature_can_buy_facturae","feature_bank_contract_is_going_to_finish","feature_contract_is_going_to_finish","feature_bank_trial_contract_is_finished","feature_trial_contract_is_finished","show_accounting_critical_error_msg","session_information","menu","highlighted","subitem","filename","icon","electronReload","isElectron","interactiveConectorStarted","electronStartInteractiveConnector","electronStopInteractiveConnector","electronMinimize","maximized","electronRestore","electronMaximize","electronClose","isMini","zone","ind","heading","link","new_label","img","showRightBar","can_write","currentDoc","companydb_info","persistent_payment_error","text_payment_error","text_center_payment_error","icon_payment_error","show_title_payment_error","text_title_payment_error","show_question_payment_error","show_confirm_button_payment_error","text_confirm_button_payment_error","show_cancel_button_payment_error","closePaymentErrorModal","show_payment_error","persistent_payment_ok","text_payment_ok","text_center_payment_ok","icon_payment_ok","show_title_payment_ok","text_title_payment_ok","show_question_payment_ok","show_confirm_button_payment_ok","text_confirm_button_payment_ok","show_cancel_button_payment_ok","closePaymentOkModal","show_payment_ok","textMessageModal","textCenterMessageModal","iconMessageModal","showTitleMessageModal","textTitleMessageModal","textConfirmButtonMessageModal","showConfirmButtonMessageModal","showCancelButtonMessageModal","textCancelButtonMessageModal","showQuestionMessageModal","textQuestionMessageModal","persistentMessageModal","htmlMessageModal","actionCancelButtonMessageModal","actionConfirmButtonMessageModal","showMessageModal","feature_accounting_stopped","startAccounting","oauth_msg","oauth_url","connectOauthUser","closeSessionDialog","show_error_supplier_or_customer_not_found","show_error_validating_data","show_error_validating_moves","show_error_checking_taxes","suppliers","saveLabels","VAutocomplete","FixSuppCostNotFound","item_val","return_obj","myInput","myChange","documentWriting","enter","currentDocuments","loading_previous","currentIndex","currentPagination","previous","previous_document","loading_next","next","next_document","flowLoading","changeDrawerMode","annotationLayer","docStates","currentDocument","labels","selectedrow","selectedLabel","selectLabel","currentDocumentData","deleteLabel","formTag","inv_number","vat_supplier","vat_customer","due_date","retention_type","selected","tab","vat","tag_list","has_meta_iva","has_meta_igic","tabsTags","VList","VListItem","VListItemContent","TrainerTagsInfo","classification","availableTags","creatingMoves","selectedTextPayload","docState","documentIsTrainerMode","and_go_back_to","fetchDocument","setCurrentIndex","url_split","setCurrentDocs","documentIsDebuggerMode","setIsTrainerMode","VListItemTitle","VTextarea","clearable_message","closeMessage","show_fix_cif_supplier","supplierdb_selected","fix_cif_supplier","show_fix_cif_customer","customerdb_selected","fix_cif_customer","show_invoice_lines_pop_up","static_invoice","dialog","noDeleteItem","deleteItem","simulateDocDialog","companySimulate","doc_tags_values","tagsSimulate","ACCOUNTING_DATE_OPTIONS","red","invalid_default_accounting_date","noSimulateItem","simulateItem","companyChangeCompany","noChangeCompanyItem","changeCompanyItem","changeCompanyDocDialog","getCompanyActivityList","showActivityField","listActividadChangeCompany","actividadChangeCompany","addTagsDocDialog","tagsAddTags","noAddTagsItem","addTagsItem","createTrainingDocDialog","tagsTraining","noTrainingItem","trainingItem","historyPopup","errorDialog","invoice_error","account_moves_errors","ame","go_simulation_dialog","simulations","simulation_to_go","goToSimulation","downloading","isWaitingFlow","downloadFile","getFileurl","getFileName","deleteJobId","deleteItemDone","deleting","delete_document","deleteProgressState","canSave","saveDocument","forceSendDocument","is_readonly","go","canGoToPreviousDocument","canGoToNextDocument","showRetry","reintentar","transfer_to_detected_company","contabilizar","rotateJobId","rotateDone","setRotationMode","rotationPageMode","cancelRotationMode","doRotation","rotateProgressState","showErrorBtn","availableDocs","document_kind","activitySwitcher","activityError","document_actividad","document_actividad_str","showRequiredProjectError","document_project","document_channel","expens_type","income_type","getExpensIncomeTypeLabel","document_expens_income_type","deepPunteadoState","document_punteado","docStateCols","show_alert_btn","alertColor","showError","document_state","setSearchAndRedirectToList","deepNeedsTtFixState","document_needs_tt_fix","goMirrorDocument","document_has_simulated_mirror","goSimulatedMirrorDocument","fixMotxo","tags_changing","delete_tag_doc","detected_company_id","company_chosen_manually","buzonView","dateErrors_and_setDirty","setDirty","errorAccountingDateSelect","accountingTooltip","errorAccountingDate","errorRegistroDateSelect","REGISTRO_DATE_OPTIONS","registroTooltip","errorRegistroDate","registro_date","pending_states","currencyHasChanged","loading_update_currency","update_divisa","loading_restore_detected","restore_detected","currency_info","show_popup_message_restore","confirmRestoreDetected","show_popup_message","confirmCurrency","document_notes","invoiceLinesPopUp","detectarLineas","cif_doc","close","fix","invoice_line","deleteInvoiceLine","change","get_total_amount","show_account_detail","dialog_vat","showDocNumberStr","canChange","document_doc_number_prefix","document_doc_number","errorJson","document_supplierdb_info","document_customerdb_info","declined_matching","valid_expens_accounts","valid_expens_account_bien_inversion","filterBy","on_supplierdb_changed","selector_text","show_modal","document_supplierdb","valid_income_accounts","on_customerdb_changed","document_customerdb","readOnlyThirdConcept","tabs","errorInvoiceDate","documentFetched","invoiceTooltip","show_retention_type_name","errorRetentionType","document_retention_type_name","fiscal_location_error","on_fiscal_location_changed","document_serie","resetParamOption","toggleParam","feature_supplier_comerciante_minorista","PROVIDER_SOMETHING_OPTIONS","taxTypesDoNotMatch","PROVIDER_SOMETHING_OPTIONS2","checkBienInversion","document_bien_inversion","noDeducibleCheckError","isComercianteMinoristaCheckError","toggleParamIva","currentPath","feature_comerciante_minorista","document_comerciante_minorista","document_gasto_iva_percent","document_errorJson","document_building_code","feature_apply_347","apply_modelo_label","document_apply_modelo","document_apply_415","document_criterio_de_caja","rectification_invoice","toggleIsRectificativa","showRectifyFields","url_get_invoices_to_rectify","inv_number_to_rectify_error","changeInvNumberToRectify","invoice_to_rectify","inv_date_to_rectify_error","document_inv_date_to_rectify","document_written_description","document_description","document_written_description_sii","showRequiredDescriptionSII","document_description_sii","automaticPaymentAccountLabel","document_payment_account","automaticChargeAccountLabel","cru_label_charge_account","document_charge_account","get_tipo_cols","get_cuota_cols","typeCheckRet","cusRetMarginLeft","conf_ret_button","showCustomRet","hasSomeCustomRet","show_vat","get_label","coef","constructor","feature_base_retention","is_einvoice","add","linea","calc_error","calc_base","_o","calc_vat","remove","MetadataField","bas","addMetadataDetailLine","remMetadataDetailLine","updateMetadataFieldAct","getMetadata","pos","ev","lab","new_vat","new_bas","isLoading","isError","countryCode","vatNumber","ViesValidation","startsWith","validateVies","DetailAccounts","AutocompleteWithApi","ViesValidator","DatePicker","is_rectificativa","automaticPaymentAccount","automaticChargeAccount","setSuppliers","clickedTab","abs","sumBasesIva","sumBasesIgic","newValue","date_errors","error5years","date_tooltips","acc_inv_5y","accounting","inAccounting_errors","no_acc_period","acc_date_before_invoice","registro","reg_date_before_accounting","missing_fields","retention_percent","showTypes0Error","vats","rb","na","nr","visibleTabs","values","fiscalLocationsTabsMap","impost_types","has_meta_igic2019","has_meta_igi","location_meta_map","peninsula","canarias_2019","canarias","andorra","is_valid_location","entries","has_meta","impost_meta_list","meta","join","date_fields","feature_expens_account_metadata","is_valid","check_expens_income_accounts","companydb_type_params","show_third_concept","show_cdb_type","feature_customer_retention_type","valueIsFalsyOrZeroString","parsedValue","taxRegex","vatBases","igicBases","igic","metadataNoFalsies","pickBy","taxType","intersection","labelArray","has_perm","is_rect","supplierdb_info","customerdb_info","lastSelectedParam","third_params","setType0","setIntraDataFromCustom","param","value2","new_sup","old_sup","updateAutomaticMoveAccounts","setIntraDataFromThirdParty","feature_criterio_de_caja","setCriteriodeCaja","setIsComercianteMinorista","documentToParam","getRetentionTypeFromThird","expens_accounts","setSupplierAccount","new_cus","old_cus","income_accounts","setCustomerAccount","setDateErrors","today","getDate","getMonth","getFullYear","path_year","feature_vat_5","z","initialThirdPartyValuesModal","$modal","queryText","searchText","indexOf","STATES","metadata_third_concept","document_inv_number_to_rectify","supps","that","calculedErrorDetail","fieldText","detail_value","fieldCheck","fieldKey","initial_error","calculedError","editableForcedMove","async_job_state","setAccount","MetadataFieldDetected","doc_id","query","AppSimpleTableWithApi2","UpdateMetadataCurrencyCommand","currency_name","loading_update_values","getCurrencyInfo","RestoreDetectedAmountsCommand","loading_update_restore","confirm_restore","CreateXMLFromInvoice","newBlob","Blob","objUrl","revokeObjectURL","GetCurrencyInfoQuery","currency_id","SelectDetectedCompany","TransferDocumentToOtherCompany","CreateSupplier","CreateCustomer","FixCIFPopup","InvoiceInfo","InvoiceDetectedInfo","JobProgress","SelectorEmpresa","InvoiceLinesEditorSimplified","DocumentHistoryComponent","AppModalCol","AppModalContainer","AppModalPrompt","AppModalRow","loading_punteado","loading_needs_tt_fix","is_recording","chosen_company_id","default_accounting_date_error_message","resolvePopupPromiseRestore","loading_detected_currency","existsCurrentIndex","existsMoreThanOneDocument","inRotationMode","getIntActivities","am","documentAction","can_see_training_documents","activity_format","original","signed_original_url","signed_url","supplierName","customerName","originalFileName","excel_kind","excel_line_index","newVal","old","immediate","addEventListener","handleKeyDown","removeEventListener","input","fetchDocumentMetadata","user","ctrlKey","keyCode","onCtrlEnter","handlePrevious","handleNext","showContabilize","continueFlow2","isAnyInputFocused","inputTypes","activeElement","tagName","setRotation","check_async_job_state","fixCompanyCIF","resetThirdsIfNeeded","start_check_async_job_state","list_of_ids","saveDocWithoutContinueFlow","static_invoice_repo","generateFilters","setFiltersDataSearchValue","setFiltersDataSearchDuplicateValue","setDocumentKind","changeTrainerMode","getMirrorDocument","getSimulatedMirrorDocument","getSimulationsFromTrainingDocument","setLoginas","unsetLoginas","splitDocument","markDocsAsPendingReview","forceDocsStateToDone","markAsPunteado","markAsDespunteado","setNeedsTtFixState","getCompanyActivities","forceDocsSendInvoice","docs","reload","warningJson","user_error","errorsHTML","val_t_txt","pm","json_msg","session_username","changeDoc","toggleRotationMode","copyToClipboard","cambiarVista","doc_ids","document_has_mirror","date_to_string","mm","dd","READONLY_STATES","metadata_inv_number","idUser","view","VListItemGroup","VMenu","VSimpleTable","show_send_dialog","cancelSend","cantSend","sendInvoice","isDisabled","getStateColorIcon","toggleSectionVisibility","show_section_factura","show_section_taxes","feature_see_albaran","showApplyModelo","show_empty_vats","oldValue","section","$parent","VImg","InvoiceInfoV2","SendByEmailForm","show_section_detalles_factura","isEmpty","footer_height","showPaymentAccountDialog","accountRules","manualAccount","noCreatePaymentLine","createPaymentLine","account_move","click_footer","min_footer","set_active_tab","paid_account_move_lines","reverse_amounts_in_lines","change_sign_amounts_in_lines","active_tab","addPaidLine","addLine","loading_doc_account_moves","openShowPaymentAccountDialog","enableDisableAccountMoveInputs","show_lines","cancelEdit","companydb_gestion_cartera","clickForceMove","balance","account_move_line","forcePayMoveEdit","deleteLine","invalid","line_type","requiredTypeIvaLine","totalDebit","totalCredit","paid_account_move","balancePaid","paid_move","deletePaidLine","totalDebitPaid","totalCreditPaid","mapMultiRowFields","account_move_lines","debit","y","credit","forceMove","setForcedMove","cancelEditFlow","saveAccountMoves","createManualPaymentMoves","showAccountMoveFooter","hideAccountMoveFooter","initAccountMoveFooter","hide_lines","aux","feature_repo","showMessage","enableAccountMoveInputs","tab_value","type_iva","VFooter","VToolbarTitle","show_modal_asiento","disable_for_edit_Mode","$root","$on","handleCloseModalFromGrandchild","invoice_lines_height","error_upload_file","cancel_pop_up","confirm_pop_up","click_show_invoice_lines","invoice_lines_component","import_excel_lines","addInvoiceLine","saveInvoiceLines","quantityChange","discount_line","deleteDiscount","saveDiscount","changeDiscount","otro_gasto_line","saveInvoiceLine","changeGasto","discount_lines","otros_gastos_lines","show_invoice_lines","creds","AWS","CognitoIdentityCredentials","IdentityPoolId","Logins","signInUserSession","idToken","jwtToken","expired","region","credentials","s3_repo","S3Repository","datos","toFixed","totalGrossAmount","total_sin_impuestos","generalDiscounts","DiscountAmount","generalSurcharges","ChargeAmount","totalGrossAmountBeforeTaxes","tax_map","tax_name","TaxRate","TaxAmount","TaxTypeCode","TaxableBase","invoice_taxes","computar_total","computar_total_sin_impuestos","computar_total_taxes_factura","computar_total_factura","tax_amount","get_line_tax","changeLine","update_invoice_values","generalSurCharges","ChargeReason","showInvoiceLinesFooter","hideInvoiceLinesFooter","initInvoiceLinesFooter","newLine","save_color","retention","api","createInvoiceLine","newItems","oldItems","deep","VFileInput","steps","options","callbacks","tour","currentStep","previousStep","nextStep","stop","skip","isFirst","isLast","header","enabledButtons","useKeyboardNavigation","buttonSkip","buttonPrevious","buttonNext","buttonStop","onNextStep","onPreviousStep","onFinish","expectedNextRoute","content","before","$route","checkExist","getElementById","placement","sendTutorialAction","OPEN_ACCOUNT","goNextStepWhenRouteChangeTo","enableScrolling","SELECT_CONNECTOR_TYPE","$tours","tutorial","isFinished","finish","setUpTutorial","setUserInfo","TRIAL","inProgress","DOING_TUTORIAL","tutorial_step","start","startTutorial","setCurrentStep","onAction","routeName","storeCurrentStep","connectorType","stepIdx","findIndex","step","selectStepIdx","from","emitChange","myValue","LegalWarningSection","icon_type","icon_src","VAvatar","VListItemAvatar","computed_pop_up_class","show_contract_modal","showPrices","contract_modal_msg","s_type","dialog_contract","packages_cols","services","selected_plans_index","contract_modal_facturae_client","num_credits_custom","client_users_facturae","validationRules","select_required","selected_user_contract_facturae","getTaxesFromString","check_selected_plan","getAmountFromString","show_codigo_promo","is_valid_code","error_promotional_code","error_promotional_code_list","on_promotional_code_changed","promotional_code","is_single_contract","file_required","payment_file","distributor_code","contract_modal_distributor","distributor_users","selected_user_contract","postal_address","bussnies_id","docs_num","num_documents","contract_date","getServiceContractData","contract_accepted","closeContractModal","contratando","contractSelectTypeTitle","indexSelectedPlan","service","service_id","toggle","contract_select_type","formatNumberES","yearly_documents","yearly_transactions","yearly_credits","selected_plan","invoices","credits","facturae_credits","banks","nStr","x1","x2","rgx","VItem","VItemGroup","service_ids","org_id","organization_id","charge_id","user_contract","user_contract_facturae","payment_file_path","payment_method","forceRefreshUserData","move_to_profile","ServicesPricesFiscalPositionQuery","ctr","abort","controller","is_valid_promotional_code","DistributorUsersQuery","ClientUsersQuery","PolicyDialogLink","LegalContract","ContractSelectPlanPopup","size","is_valid_code_banks","is_valid_code_invoices","is_valid_code_credits","is_valid_code_facturae_credits","show_error_select_plan","calculateContractDate","selectPlan","calculateEndDate","services_prices_fiscal_position_query","distributor_users_query","refreshUserData","setServiceContract","fillForm","setContractTypes","contractService","setErrorPromotionalCode","isValidPromotionalCode","formIsValid","$refs","contractForm","validate","selected_user_contract_id","selected_user_contract_facturae_id","services_ids","has_invoices","has_banks","f_total","f_fact","has_credits","has_facturae_credits","VForm","noti","delete_noti","removeNotification","noti_id","MultipleForceDownloadLoadPathFilesCommand","company_ids","ErrorPipelinePopup","RightDrawerTrainerMode","RightDrawerClientMode","RightDrawerClientModeV2","AccountMove","AccountMoveV2","InvoiceLines","Tutorial","LegalDialog","SaleTerms","SidebarElement","ContratoTratamientoDatos","ContractPopup","Notifications","error_move","log_views_old","log_views","welcome_views","payment_views","update_views","settings_views","no_cdb_selector_views","readonly_cdb_selector_views","access_registers","users_permissions","user_configuration","bank_redirect_views","domain","origin","refreshAccountsId","refreshAccountsArgs","intervalAccounts","isVisible","pageTitle","titleTemplate","useWhiteBrand","hastWhiteBrandColor","isWelcomeProcess","isUpdateProcess","inTutorial","defaultUsername","forceRightBar","checkSumOK","show_policy_privacity","show_data_treatment","width","views","router_name","smAndDown","mdAndUp","logo","styles","background","white_brand_color","has_cloud_load_paths","check_sum","navigator","userAgent","electronCheckInteractiveConnector","status_color","setProjects","setActivities","new_company","resetCurrentCompany","changeDebuggerMode","resumeAccounting","routeData","open","electronAPI","reloadWindow","minimize","restore","maximize","repo","getOrCreateToken","token","startInteractiveConnector","stopInteractiveConnector","checkInteractiveConnector","quit","getHeader","setCorrectActions","addSimulationAction","addAddTagsAction","addTrainingAction","addMarkAsErrorAccountConnectorAction","getContractType","refreshAccounts","fetchRefreshProgressState","setOauthUrl","fetch_refresh_accounts_state","refreshProgressState","actual_time","all_ok","current_time","time_diff","setSnackbar","user_items","VApp","VAppBar","VAppBarNavIcon","VListGroup","VMain","VNavigationDrawer","VSwitch","cols","sm","md","lg","order","isValidAccountNumber","isValidAccountNumberExactDigits","isValidAccountNumberMaxDigits","isValidAccountNumberMinDigits","isValidAccountNumberDigits","num_digit_kind","counter","persistentHint","appendIconTooltipText","s3","S3","apiVersion","Bucket","cc","currentCredentials","spl","upload","Key","identityId","Body","ACL","contentType","CacheControl","MemoryS3Repository","taxes_aux","k","bases_aux","account_aux","detail_aux","taxes_aux_cp","not_ret_aux","not_apl_ret_aux","ret_base_aux","INFO_LABELS_1","INFO_LABELS_2","INFO_LABELS","BASES_LABELS","ACCOUNT_LABELS","DETAIL_FIELDS","TAXES_LABELS","INTRACOMUNITARIO_PERCENT_OPTIONS","INTRACOMUNITARIO_TYPE_OPTIONS","INVERSION_SUJETO_PASIVO_IVA_PERCENT_OPTIONS","INVERSION_SUJETO_PASIVO_IGIC_PERCENT_OPTIONS","IMPORTACIONES_PERCENT_OPTIONS","NOT_RET_CHECK","NOT_APL_RET","BASE_RET","STANDARD_LABELS","STANDARD_LABELS_CLIENT","DEFAULT_ANNOTATION_LAYER","OTHER_DOCUMENT_TYPES","DOCUMENT_PERIOD_OPTIONS","DOCUMENT_PERIOD_OPTIONS_MONTHLY","DOCUMENT_PERIOD_OPTIONS_QUARTERLY","use","icons","iconfont","theme","dark","themes","light","primary","secondary","primary_blue","ecosystem","importantLinks","whatsNext","VFlex","VLayout","HelloWorld","buildStore","extraGetters","extraActions","Store","strict","rootState","_","__","companydbs","retentionTypes","docRetentionTypes","dashboard_data","supplierRowsPerPage","customerRowsPerPage","vuetify","framework","isLoggedPromise","nextLabel","search_state","objectListItems","objectListItemsLength","objectListLoading","objectListSelected","objectListFilters","browserFilts","browserFiltersValues","current_company_id","hasEnvoiceContract","showTrialEnvoice","zones","shouldShow","can_view_invoices","can_view_banks","can_view_e_invoice","feature_other_documents","feature_deleted_documents","default_activity","oauth_params_storage","exe_link","keyLastCompany","settings","fileURL","fileLink","signOut","Auth","signInUser","cred","signIn","password","signUpUser","changePassword","oldpassword","refreshSession","currentSession","currentUserPoolUser","passwordResetUser","passwordResetkeyUser","confirmEmailUser","cmd_name","resendConfirmationEmailUser","setJWTToken","info","getSessionInformation","accessToken","payload","exp","retention_types","automatic_payment_account_types","contract","userUsername","parameters","objectListBaseUrl","sortDesc","objectListOptions","strange_order_fields","pop","$crisp","copy_cdb_from","GET_COUNTRIES_BEGIN","GET_COUNTRIES_ERROR","GET_COUNTRIES_SUCCESS","Country","countriesOrdered","countriesByCode","countriesLoaded","elem","_byCode","_ordered","SET_CANVAS_DIMS","SET_FORCE_RIGHT_BAR","canvasDims","height","getDefaultUsername","getCanvasDims","getForceRightBar","setCanvasDims","setForceRightBar","force","SET_DOC_ID","SET_DOC_STATE","RESET_DOC","FETCH_DOC_BEGIN","FETCH_DOC_ERROR","FETCH_DOC_SUCCESS","DOCUMENT_TO_PARAM","FETCH_METADATA_SUCCESS","WRITE_DOC_BEGIN","WRITE_DOC_ERROR","WRITE_DOC_SUCCESS","SET_TEXT_TAGGING","CONTINUE_FLOW_BEGIN","CONTINUE_FLOW_ERROR","CONTINUE_FLOW_SUCCESS","SET_SELECTED_LABEL","SET_SELECTED_TEXT","SET_DOC_LABEL","SET_CURRENT_DOCUMENTS","SET_CURRENT_INDEX","SET_CURRENT_OPTIONS","SET_CURRENT_LOADING","SET_LOADING_INFO","SET_DINAMIC_CALL_ID","SET_ITEMS_LENGTH","SET_DICT_BOOL_STATES","SET_DICT_BOOL_TAGS","SET_FILTERS_LOADED","SET_FILTERS_DATA_STATES_VALUES","SET_FILTERS_DATA_TAGS_VALUES","SET_MAIN_FILTERS","SET_FILTERS_DATA_EJERCICIO_VALUE","SET_FILTERS_DATA_PROJECT_VALUE","SET_FILTERS_DATA_ID_VALUE","SET_FILTERS_DATA_STATE_VALUE","SET_FILTERS_DATA_SEARCH_VALUE","SET_FILTERS_DATA_SEARCH_DUPLICATE_VALUE","SET_FILTERS_DATA_TAGS_VALUE","SET_FILTERS_DATA_ENTRY_NUMBER_VALUE","SET_FILTERS_DATA_ACCOUNT_MOVE_NUMBER_VALUE","SET_FILTERS_DATA_KEY","SET_FILTERS_DATA_ACTIVIDAD_STR_VALUES","SET_FILTERS_DATA_ACTIVIDAD_VALUES","SET_IS_TRAINER_MODE","SET_IS_DEBUGGER_MODE","SET_FORCED_MOVE","SET_ACCOUNT_MOVES","SET_CHECK_SUM","SET_CURRENT_DOCUMENT_CUSTOMERDB","SET_CURRENT_DOCUMENT_SUPPLIERDB","SET_ANNOTATION_LAYER","SET_ZOOM","SET_ROTATION","SET_ROTATION_MODE","SET_GLOBAL_ROTATION","SET_DOCUMENT_ROTATION","CANCEL_ROTATION","SET_ROTATION_TASK","SET_INTRA_DATA_FROM_SUPPLIER","SET_IVA_0_FROM_TO","SET_INTRA_DATA_FROM_CUSTOM","SET_DIRTY","SET_ITEMS_PER_PAGE","SET_DOCUMENTS_LIST_HEADERS","SET_DOCUMENT_LIST_HIDDEN_HEADERS","SET_DOCUMENTS_LIST_HEADERS_READ_ONLY","SET_DOCUMENT_LIST_HIDDEN_HEADERS_READ_ONLY","SET_DOCUMENTS_LIST_HEADERS_USER","SET_DOCUMENT_LIST_HIDDEN_HEADERS_USER","SET_SUPPLIERDB_LIST_HEADERS_USER","SET_SUPPLIERDB_LIST_HIDDEN_HEADERS_USER","SET_CUSTOMERDB_LIST_HEADERS_USER","SET_CUSTOMERDB_LIST_HIDDEN_HEADERS_USER","REMOVE_DOCUMENTS_LIST_HEADERS_ELEM_BY_INDEX","SET_DOCUMENTS_LIST_HEADERS_ELEM","SET_DOCUMENT_OPTIONS_PAGE","SET_DOCUMENT_LIST_OPTIONS","SET_DOCUMENT_KIND","SET_STATES_FILTER","SET_DOCUMENTS_LIST_ID","SET_BROWSER_VALUE","UNSELECT_DOCUMENTS","SET_CURRENT_PAGE","SET_SELECTED_STATE_CHIP","SET_DOCUMENT_ACTIONS_ERROR_PARAMS","SET_CRITERIO_DE_CAJA","SET_IS_COMERCIANTE_MINORISTA","SET_PAYMENT_ACCOUNT","SET_CHARGE_ACCOUNT","SET_INV_NUMBER_TO_RECTIFY","SET_INV_DATE_TO_RECTIFY","SET_ACCOUNT_MOVE_LINES","SET_LAST_SHOW_ACCOUNT_MOVE","SET_INVOICE_LINES","SET_LAST_SHOW_INVOICE_LINES","SET_FILTER_EJERCICIO","SET_FILTERS_DATA_EJERCICIO_USER_VALUES","SET_FILTER_ID","SET_FILTER_STATE","SET_FILTER_SEARCH_ICONTAINS","SET_FILTER_SEARCH_DUPLICATE","SET_FILTER_DOCUMENT_TEXT_ICONTAINS","SET_FILTER_TAGS","SET_FILTER_ACTIVIDAD_STR","SET_FILTER_ACTIVIDAD","SET_FILTER_USERNAME_ICONTAINS","SET_FILTER_KIND","SET_FILTER_CREATED_GTE","SET_FILTER_CREATED_LTE","SET_FILTER_ACCOUNTING_DATE_GTE","SET_FILTER_ACCOUNTING_DATE_LTE","SET_FILTER_INVOICE_DATE_GTE","SET_FILTER_INVOICE_DATE_LTE","SET_FILTER_THIRD_CIF_ICONTAINS","SET_FILTER_THIRD_NAME_ICONTAINS","SET_FILTER_MIRROR_STATE","SET_FILTER_PUNTEADO","SET_FILTER_RECTIFICATIVA","SET_FILTER_PAYMENT_STATE","SET_FILTER_PAYMENT_DATE_GTE","SET_FILTER_PAYMENT_DATE_LTE","SET_FILTER_HAS_RETENTION","SET_FILTER_NOTES_ICONTAINS","Document","binary_file","created","customer_name","error_json","warning_json","file_name","full_file_name","metadata_old","supplier_name","written","entry_number","accounting_date","zoom","rotationMode","has_mirror","has_simulated_mirror","needs_tt_fix","binaryFile","companyName","fileName","fullFileName","textTagging","docLoading","docWriteLoading","docWriteError","flowError","selectedText","loading_info","dinamic_call_id","documentMainFilters","selectedStateChip","documentListHeaders","documentListHiddenHeaders","documentListHeadersReadOnly","documentListHiddenHeadersReadOnly","documentListHeadersUser","documentListHiddenHeadersUser","supplierdbListHeadersUser","supplierdbListHiddenHeadersUser","customerdbListHeadersUser","customerdbListHiddenHeadersUser","documentListActionGroups","documentListAction","documentActionsErrorParams","documentListFiltersData2","ejercicio","search__icontains","search__duplicate","document_text__icontains","username__icontains","created__gte","created__lte","accounting_date__gte","accounting_date__lte","invoice_date__gte","invoice_date__lte","third_cif__icontains","third_name__icontains","mirror_state","payment_date__gte","payment_date__lte","has_retention","notes__icontains","documentListLoading","documentsListFilters","documentsListState","documentsListItemsLength","documentsListDictBool","documentsListFiltersLoaded","documentListOptions","dpcumentListKind","isBienInversionChanged","metadataFiltersStates","linesAccountMove","last_option","invoiceLines","taggedText","tagged","word","currentHeaders","zeroIfNull","bases","sumBasesIgi","sumBases","igics","permissions","currentDocumentState","documentUrl","currentFiltersData","currentMainFilters","currentActions","currentLoading","currentDocumentsItemsLength","currentDictBool","currentFiltersLoaded","dinamicCallId","getMetadataField","getAccountMoveField","check","doc","get_queryset_filters","getCurrentCompany","states","setCurrentPage","downloadFiles","docs_ids","paramsSerializer","downloadFormationDocuments","downloadExcel","checkSum","call_continueFlow","router","setSelectedText","delta","previousLabel","incLabel","newIndex","end","updateCurrentIndex","resetDocument","setCurrentFilters","setCurrentLoading","setCurrentOptions","setItemsLength","itemsLength","setDictBoolStates","dictBoolStates","setDictBoolTags","dictBoolTags","setFiltersLoaded","filtersLoaded","setFiltersDataStatesValues","filtersDataStatesValues","setFiltersDataTagsValues","filtersDataTagsValues","setFiltersDataActividadStrValues","filtersDataActividadStrValues","setFiltersDataActividadValues","filtersDataActividadValues","setFilterDataEjercicioValue","filtersDataEjercicioValue","setFilterDataProjectValue","filtersDataProjectValue","setFilterDataEjercicioUserValues","filtersDataEjercicioUserValues","setFiltersDataIdValue","filtersDataIdValue","setFiltersDataStateValue","filtersDataStateValue","filtersDataSearchValue","filtersDataSearchDuplicateValue","setFiltersDataTagsValue","filtersDataTagsValue","setFiltersDataEntryNumberValue","filtersDataEntryNumberValue","setFiltersDataAccountMoveNumberValue","filtersDataAccountMoveNumberValue","downloadMergedDocuments","dinamic_get_list_documents","currentCallId","canSeeTrainingDocuments","cut","companyKey","currentCompanyId2","split_qs","min","refreshData","now","mainfilters","isTrainerMode","setIsDebuggerMode","isDebuggerMode","markDocAsErrorAccountConnector","setAnnotationLayer","setZoom","bool","doRotate","rotation","rotationPerDocumentZfill","massiveRotation","massiveCalculateBaseCuota","percent","massiveFixRound","massiveFixMismatchEx0","massiveForceSendDocuments","thirddb_info","set_flag_bien_inversion","set_account_metadata","actividad_kind","feature_default_project_channel_in_third","feature_extra_supplier","setInvNumberToRectify","setInvDateToRectify","third_info","setItemsPerPage","setCurrentDocumentSupplierDB","currentDocumentSupplierdb","currentDocumentSupplierdbInfo","setCurrentDocumentCustomerDB","currentDocumentCustomerdb","currentDocumentCustomerdbInfo","setCurrentHeaders","index1","index2","index3","index4","index5","getFilters","encodeURIComponent","cleanFilters","massiveUpdateObject","bckPendingReviewAction","accountingToPendingReviewAction","backPendingUploadToPendingReview","changeStatePendingSyncToDone","changeStateErrorAlreadyDestinationToDone","changeStateErrorAlreadyDestinationToPendingReview","changeStatePendingReviewToDone","changeStateAccountingToPendingConnect","changeStatePendingConnectToPendingReview","changeStateAccountingToDone","generatePaymentMoves","downloadCSV","downloadCSVOneLine","state_filter","toDone","last_entry_number_csv","getHeaderUser","setHeaderUser","setHeader","setHeaderReadOnly","getHeaderSupplierDBUser","setHeaderSupplierDBUser","getHeaderCustomerDBUser","setHeaderCustomerDBUser","getFiltersParamsForRequest","new_params","setAllDataFilters","filtersUrl","fromEntries","initAllCurrentsFilters","setAllCurrentsFilters","get_data","groupBy","groupDesc","mustSort","multiSort","current_ejercicio","setCurrentStateChip","getDocumentActionsErrorParams","fixContasolDocuments","feature_code","field_show","is_active","params2","initInvoiceLines","removeAllFilters","doc_state","nsCount","neCount","dryCount","maxCount","max","capitalGoodsPrefixes","supplierAccountPrefix","default_actividad","default_project","default_channel","default_expens_income_type","third_concept","expens_account_bien_inversion","bool_to_value","docListHeadersUser","docListHeaders","supListHeadersUser","cusListHeadersUser","option","user_values","total","getDefaultMoveLineDescription","paidAccountMove","payment_move","new_move","set","count_lines","SET_DELETED_DOCUMENTS","group","deletedDocuments","getDeletedDocuments","company_db_id","resetDeletedDocuments","restoreDocuments","CREATE_MOVES_BEGIN","CREATE_MOVES_ERROR","CREATE_MOVES_SUCCESS","creatingMovesLoading","creatingMovesError","SET_PERMISSION","Permission","is_owner","is_writer","is_invited","defaultValues","is_organization","companydb_actividad","is_customer_consult","getPermissions","companydbId","getTab","igic2019","igi","getInitialTab","getInitialTagTab","NAME_LIST","formFields","foundLabel","names","addLabel","human","lastCompany","stateChip","keyStateChip","getSettings","localStorage","getItem","currentKey","setSettings","setItem","removeSettings","removeItem","CLEAN_ALL_FILTERS","IDENTITY_KEY_CHOICES","SET_ACCOUNTS","inputLabels","customerScreenValues","screenErrors","supplierListValues","customerListValues","supplier__name__icontains","supplier__nif__icontains","expens_account__icontains","credit_account__icontains","customer__name__icontains","customer__nif__icontains","income_account__icontains","debit_account__icontains","einvoice_customer","fieldname","screen","choices","getFirstError","areAccountsMaxLengthError","accounts_errors","areFieldsValidatedPattern","patterns","patterns_errors","r_key","isZipcodeCorrect","isSpain","getEmptyFieldsError","getErrors","length_error","accountsError","num_digit_is_max_text","invalid_formats","boolean_fields","checks_iva_fields","income_accounts_split","trim","expens_accounts_split","autocomplete_fields","getMassiveErrors","ignore_zipcode_error","exportCru","deleteCru","getAccountsAbortController","AbortController","signal","getAccounts2","getFacturae","show_contract","SHOW_CONTRACT","HIDE_CONTRACT","SHOW_POLICY_PRIVACITY","SHOW_DATA_TREATMENT","showContract","hideContract","showPolicyPrivacity","hidePolicyPrivacity","showDataTreatment","hideDataTreatment","printContract","getElementsByClassName","position","boxShadow","application","display","print","SET_LOADING","SET_ORIGINAL_TEXT","SET_CONTENT","SET_PARAMS","SET_API","SET_KIND","original_text","init","updateContent","replaceAll","setParams","updateParams","newParams","SET_CONTRACT_DATE","SET_END_DATE","SET_SHOW_CONTRACT_MODAL","SET_SERVICE_CONTRACT","SET_CONTRACT_ACCEPTED","SET_POLICY_ACCEPTED","SET_CONTRACT_TYPE","SET_CONTRACT_TYPES","SET_PRICE","SET_NUM_DOCUMENTS","SET_WIDTH","SET_PERSISTENT","SET_CONTRACT","SET_ERROR_PROMOTIONAL_CODE","SET_CONTRACT_MODAL_MSG","SET_CONTRACT_MODAL_DISTRIBUTOR","SET_CONTRACT_MODAL_FACTURAE_CLIENT","contract_types","form","service_contract","policy_accepted","contract_type","ACTIVE","message_error","distributor","facturae_client","padStart","yyyy","months","day","month","contracts","updateContractInfo","updateScreenWidth","innerWidth","payerContract","payment_params","paycometURI","SET_SHOW_MODAL","show_bank_rules_modal","openPopup","closePopup","SET_KPIS_DATA","SET_DOWNLOAD_JOB_STATE","SET_KPI_DOC_DATA_ORDERING","SET_TABLE_ASYNC_JOB_ID","SET_TABLE_JOB_STATE","NEXT_KPI_DOC_ORDER","SET_KPI_DOC_ORDER","SET_KPI_DOC_DATE_TO_ORDER","REORDER_KPI_DOC_DATA_ORDERING","SET_KPI_WRITTEN_DATE","SET_KPI_ID","kpi","row_header","excel","aj","kpi_items","kpis_data","trimester","trimester_items","year_items","tableJobState","tableAsyncJobId","kpi_doc_order","kpi_doc_date_to_order","kpi_doc_order_symbols","kpi_doc_data_ordering","docs_values","show_doc","kpi_written_date","kpi_filters","kpi_id","date_ini","date_end","order_data","week","user_a","user_b","getKpis","orderDocKpi","tableJobDone","method","responseType","decodedString","TextDecoder","decode","Uint8Array","data_order","substring","getHistogram","deleteSimulations","SET_NETWORK_DRIVES","align","network_drive_id","letter","network_drives","getNetworkDrives","createNetworkDrive","updateNetworkDrive","SET_CSV_ONE_LINE_FIELD_VALUES","SET_EXCEL_HEADERS","SET_EXCEL_HIDDEN_HEADERS","FIRST_EXCEL_CALL","excel_headers","excel_hidden_headers","first_excel_call","csv_one_line_field_values","getColumnsCsvMultiLine","setColumnsCsvMultiLine","getColumnsExcel","extra_vats","setColumnsExcel","getFieldValuesCsvOneLine","setFieldValuesCsvOneLine","setDiezsoftwareCredentials","softwareType","diezsoftware","software_type","is_enabled","setGlasofCredentials","automatic_upload","avoid_duplicate_lines","avoid_duplicate_lines_keys","order_lines","order_lines_keys","glasof","setGoldenCredentials","export_in_company_folder","public_folder","db_path","db_user","db_password","db_host","db_extension","export_folder","goldennet","con_db_path","setA3Directories","directory","exportFolder","automatic_upload_invoice","automatic_upload_transaction","con_directory_a3","a3","files_directory","setAplifisaDirectories","port","dll","con_directory_aplifisa","con_port_aplifisa","con_dll_aplifisa","setContaplusDirectories","programFolder","appFolder","newDbfSystem","contaplus","con_application_group_path","con_application_folder_path","con_export_folder","con_new_read_dbf_system","setContasolDirectories","dbDriver","directoryDocs","cloudCode","con_db_driver_contasol","con_directory_contasol","con_directory_docs_contasol","contasol_cloud_codigo_cliente","setOdooCredentials","database","patchUrl","odoo","con_db","con_url","con_user","con_password","textToLowerCase","normalize","setSageCredentials","con_db_host","con_db_name","sage","setSageDespCredentials","con_db_user","con_db_password","con_public_folde","con_export_documents","sage_despachos","SET_URL","SET_INITIAL_PAGES","SET_PAGE_VALUES","SET_VALUES","SET_VISIBLE_INTERVAL","SET_LAST_VISIBLE_PAGE","CLEAN_PAGE","CLEAN_DOCUMENT","pdfStore","pdfPages","defaults","defaultWidth","defaultHeight","firstPageDownloaded","minVisiblePage","maxVisiblePage","middleVisiblePage","velocity","lastVisiblePage","pages","STATE_PENDING","STATE_DOWNLOADING","STATE_DOWNLOADED","pageIndex","numPages","numPage","visible","infinite","zero","minPage","maxPage","oldMiddleVisiblePage","ceil","newVelocity","setDocumentUrl","pdfjs","pdf","cleanDocument","fetchDocumentPage","getPage","getViewport","scale","setPageValues","getPDFPage","setPageVisible","cleanPage","emitTextClicked","bus","SET_CDBTYPES","location_id","cdb_type","cdb_types","getCdbTypes","createLocation","updateLocation","deleteLocation","webhook","companyId","webhook_id","webhookId","SET_WEBHOOK","SET_COMPANY","SET_ERRORS","Webhook","hearders","defaultData","callbackOK","callbackError","webhookRequest","SET_LIST","SET_LIMIT","SET_OFFSET","SET_COMPANYDB","WebhookRequestList","getItemPerPage","setPage","SET_SHOW","center","confirm_button","cancel_button","question","text_center","text_title","show_title","text_confirm_button","show_confirm_button","show_cancel_button","show_question","openModal","closeModal","SET_MODAL_CONTENT","confirmButton","cancelButton","isHtml","textCenter","textTitle","showTitle","textConfirmButton","showConfirmButton","actionConfirmButton","textCancelButton","showCancelButton","actionCancelButton","textQuestion","showQuestion","modalContent","setElementIfNotNull","stateValue","setModal","getUsersPermissionsExtraTableData","UsersPermissions","TableList","searchFilters","itemsPermissions","selectedCompanyies","selectedUsers","hasPermissions","CheckboxData","ModalData","permissionsTable","modalPermission","allCompanyiesCheckbox","allUsersCheckbox","selectedCompanyiesIds","companyiesIds","selectedUsersIds","usersIds","SET_PERMISSIONS_LOADING","SET_PERMISSIONS_HEADERS","SET_PERMISSIONS_HEADER","SET_PERMISSIONS_ITEMS_PERMISSIONS","SET_PERMISSIONS_HAS_PERMISSION","SET_MODAL_ITEMS","SET_MODAL_SHOW","SET_MODAL_LOADING","SET_ALL_USERS","SET_SELECTED_USERS","SET_ALL_COMPANYIES","SET_SELECTED_COMPANYIES","SET_MODAL_SELECTED","SELECTED_ALL_HEADERS","initPermissionsTable","checkPermissions","setPermissionsLoading","selectCheckboxAllUsers","selectedUserPermission","selectCheckboxAllCompanies","selectedCompanyPermission","openPermissionDialog","resetPermissionsTable","closePermissionDialog","setModalLoading","Modal","left","shiftX","shiftY","defaultThirdPartyModal","KEYS_COOKIES","third_party","shift_x","shift_y","thirdPartyModal","SET_THIRD_PARTY_VALUES","getValueCookie","cookies","cookie","keyCookie","setValueCookie","setThirdPartyValues","modal","querySelector","container","nextElementSibling","clientWidth","clientHeight","setThirdPartyPosition","UserNotificationsQuery","noti_repo","MarkAsReadNotificationCommand","mark_as_read","unread_only","getNotificationDataApi","repository","markAsReadNotificationApi","allNotifications","addNotification","notification","fetchNotifications","execute","notificationId","SET_FILTER_AMOUNT","SET_FILTER_CONCEPT","SET_FILTER_CONTRAPARTIDA","SET_FILTER_NOT_CONTRAPARTIDA","SET_FILTER_ASIENTO","SET_FILTER_DATE_FROM","SET_FILTER_DATE_TO","SET_FILTER_AMOUNT_FROM","SET_FILTER_AMOUNT_TO","CLEAN_FILTER","RESET_FILTERS","listFilters","concept","contrapartida","not_contrapartida","amount_from","amount_to","setFilterAmount","setFilterState","setFilterConcept","setFilterAsiento","setFilterDateFrom","setFilterDateTo","setFilterAmountFrom","setFilterAmountTo","setFilter","cleanFilter","resetFilters","SET_FILTER_EFFECT_TYPE","SET_FILTER_ORIGIN","effect_type","setFilterEffectType","setFilterOrigin","SET_FILTER_DESCRIPTION","SET_FILTER_CODE","setFilterDescription","setFilterCode","store","kpis","legal_contract","dialog_payment","dialog_bank_rules","tax_tab","setting_repository","pdf_data","deleted_documents","text_tags","webhook_request","payment_error_modal","payment_ok_modal","messageModal","transactions","effects","info_labels","bases_labels","human_payroll","machine","nstpaths","browserFunctions","ui","feature_hide_invoices","unshift","feature_network_drives","feature_download_client","feature_reports","has_active_bank_contract","cdb","get_cdb","blocked","msg_user_blocked","unset_loginas_params","alert_about_expiry","sessionStorage","lastCompany_id","showAlertContractIfNeeded","can_debug_documents","cdbs","conep","old_company","refresh_called","feature_filter_by_ejercicio","urls_bank","cognitoError","currentAuthenticatedUser","default_page","about_expiry","staff_only","staff_or_loginas","routes","Home","beforeEnter","getDistribInnuvaURL","newStateValue","stateParam","newURL","beforeEach","currentURL","hashParams","hash","redirect_uri","app","feature_performing_update","configure","productionTip","h","App","$mount","computedSpacing","containsInputFields","hasInputFieldsAbove","actionBtn","clickColActionBtn","link_text","clicked_link","getSplitedItem","actionBtnList","api_params","parts","current","part","getItems","ApiOtherDocumentRepository","sync_command_dispatcher","titleIcon","maxWidth","textCenterMsg","showTextQuestion","textMsg","AppConfirmModalTitle","canEditAccountMove","isTotalAmountCorrect","showErrorRetentionType","formatDate","inAccountingPeriod","dt","document_paths","date_hyphen","getConfiguratedDate","inv_date","sel_date","parseSlashSeparatedDate","setHours","diff5Years","date_inv","date_acc","acc_config","dt_inv","dt_acc","invoiceDateErrors","acc_date","reg_date","reg_config","dt_reg","inAccountingPeriodErrors","splitAndCheckValidDate","str_date","daysList","removeDuplicates","alert","uniqueFiles","array","limit_batch","checkActivityStatus","empty_actividad","processDateConfig","dateValue","processBothDateConfig","resultAccounting","resultRegistro","invalid_default_registro_date","beforeUploadFiles","isValidExtension","valid_ext","excelFileChosen","excel_in_files","fname","afterCheckDatesForUploadingFiles","ccc","uuidv4","processFile","empty_kind","uploaded_files","uploading","uploading_percent","invalid_ext","mult_ex_list","dialog_err_txt","error_dialog_ext","batch_info","extension","s3_key","uploading_file","confirm_title","error_dialog","error_uploading","lastFunctionUploadingFiles","slashDate","hyphenDate","iva_order_company","myParseFloat","Amounts","there_is_base","suma_ret","allow_no_bases","ret_calc","decimals_calc","trunc","tolerance","ret_calc_round","ret_amount_round","suma_bases","suma_cuotas","suma_bases_cuotas_total_amount","suma_bases_cuotas_retention","check_total_all_decimals","suma_base_cuota_total_amount","met_field","base_field","suma_base_total_amount_detail","type_check_ret","suma_base_cuota_retention","ret_base_field","not_ret_check","not_apl_ret","setType0metadata","xSmall","small","large","xLarge","block","vbind","von","justify","ApiWorkflowTemplateRepository","wf","stages","stage","my_class","instance","doc_types","default_doc_types","trigger_entity_type_uuid","wf_id","wf_data","ordering","query_args","TokenValue","createApiTokenRepository","copy","getOrCreate","clipboard","writeText","enable_account_types","smAndUp","fillAccountByType","account_type","computedClass","bck_error","computedError","myHideDetails","myRules","setFocused","myClick","myBlur","myNativeInput","small_font","fieldClass","startzeroable","digits","errorColor","font_weight_black","primary_color_text","right_input","is_table","is_array","max_length_account","hasFocus","unsubscribe","isNumber","num_digit_is_max_length","textClicked","otherFocus","$off","enterPressed","changeObjectToString","sepSymbol","fillAccount","targetLength","interrogante_id_tercero","autocomplete","right","repeat","substr","next_account","get_next_account_not_global","floatRegex","oldVal","classes","stylev2","bck_color","item_text","item_value","return_object","item_search_field","starting_items","search_field_name","can_add_new","api_call","search_text","curr_call","finally","SET_SERVICE_PLAN","SET_PROMOTIONAL_CODE","service_plan","getContractTypes","is_tpv_payable","setServicePlan","setPromotionalCode","createContract","upgradeContract","upgradeTrialContract","isTransactionOk","contract_id","emitPaymentSignal","emitPaymentErrorSignal","EntityType","schema","is_visible","ui_config","EntityInstance","entity_type_id","download_date","entity_type","type_id","type_uuid","explicit","entity_data","empty_schema","properties","entity_instance","instance_id","instance_uuid","instances_ids","instances_data","instance_ids","entity_ids","e_type_id","isValidAccountFormat","reg_ex","numDigitIsMinMustBeApplied","default_settings","isValidAccountGI","num_digit_is_min","feature","accounts_length","accounts_format","accounts_max_length","num_digit_is_max","isValidAccountCS","isValidAccount","START_TUTORIAL","SET_STEP","SEND_TUTORIAL_ACTION","SET_CONNECTOR_TYPE","SET_PROGRAMS","SET_EXE_LINK","SET_HOW_MEET_US_ITEMS","ACTIONS","numStep","programs","how_meet_us_items","tutorialSetConnectorType","setPrograms","setExeLink","startWith","setHowMeetUsItems","awsmobile","command_args","Result","aborted","dispatch_and_wait_job","sleep_time_ms","list_component","entities_list_component","OtherDocListComponent","EntitiesListComponent","baseURL","query_dispatcher_get","query_dispatcher_abort","document_components_factory","setHeaders","VueInvoiceEditorScreenData","excel_pop_up","delete_all_lines_pop_up","resolve_pop_up","reject_dialog","loading_reject","paid_dialog","paid_loading","showErrors","showErrorsDialog","download_options","selectedSequence","payment_options","computeDownloadOptions","sequence","recurringSeq","setSequences","filteredSequences","create_default_cdb_training","config_user_for_use_inmatic","tokenRepository","SET_USER_DATA","SET_PROFILE","STATUS","EMAIL_VERIFICATION","WELCOME","FILLING_FORM","WATCHING_TUTORIAL","READING_CONTRACT","DOWNLOADING_CONNECTOR","INSTALLING_CONNECTOR","INSTALLATION_OK","INSTALLATION_KO","FILLING_PROGRAM_DATA","PREPARING_FORMATION","READY_FOR_FORMATION","UPDATE_REQUIRED","SAGE_BLOCK","WELCOME_PROCESS","Me","Profile","dni","receive_newsletter","installation_notes","crisp_chat","a3auto_status","default_me","default_profile","profile","getContract","is_vigente","contractType","STAFF_DOC_TYPES","NORMAL_DOC_TYPES","feature_hide_out_invoice","pendingEmailVerification","firm_date","isTrial","trial","is_trial","getUserData","execWithCrispReady","sessionDataKey","url_user","sessionData","user_owner","version_worker_python","service_upgrader_version","service_version","contract_docs","contract_banks","url_owner","referred_distrib_name","sender_docs_user","setUserData","startCrispThread","endCrispThread","hideCrisp","showCrisp","initialInstalationConnector","recieve_newsletter","EmailTemplate","Configuration","path_url","footer","footer_small","createLead","updateWelcomeTrialContract","extractRequiredKeys","entity_type_repo","entity_instance_repo","staff","get_my_types","ui_types","get_UI_types","get_instances_by_type","r_keys","payload_keys","selected_uuids","delete_instances","fetchInstances","download_instances","get_currentCompanyId","textarea","opacity","focus","select","execCommand","mapFieldsMetadata","vuexPrefix","prefix","fields","vuexPrefix2","append_to_path","emitter","localEmail","localSubject","localBody","email_to","VueFeatureRepository","got_feature_func","hideNoData","hideSelected","hideSearch","getJobFile","getJobs","documentId","formatedDate","bckColor","handleInputTextField","_k","handleNewDate","VDatePicker","document_repo","wf_repo","getAvailableTypes","fetchDocTypes","searchDocuments","get_workflow_template","get_documents","updateData","calculateTableHeight","rowHeight","offsetHeight","items_to_delete","document_ids","cascade_entities","deleteDocuments","downloadDocuments","changeDocsWorkflow","Stage","condition_script","jump_script","WorkflowTemplate","every","WaitForApproval","username_location","persist","super","need_detail","UploadAsInvoice","AddDocumentRepresentationToConversation","conversation","input_mode","crop","headPages","tailPages","textFormat","AskAI","save_as_key","prompt","cheap","cache","multitool","forced_tool","base_price","LookupAndMatchInstance","destination_match_key","origin_match_key","LookupAndMatchMultipleInstances","save_list_key","SendThroughEmail","email_location","SendEmailWithTemplate","template_code","context_location","RunCommand","payload_location","SendDataToEndpoint","endpoint","headers_location","request_method","persist_response","NotifyCounterpart","CreateInstanceFromContext","payload_of_addresses","CompleteConversation","agent","force_tool","max_iterations","CreateInstance","AddInstanceToList","list_location","CreateInstancesFromList","ModifyContext","location_to_modify","new_value_location","ExtractInstanceFromRawData","get_from_key","RunScript","input_location","nameToClass","cru_errors_customerScreenValues","autocompleteCustomerData","feature_customer_reference","cru_label_debit_account","cru_error_debit_account","actual_debit_account","cru_debit_account","cru_label_income_accounts","cru_error_income_accounts","cru_income_accounts","cru_label_automatic_charge_account","cru_error_automatic_charge_account","cru_automatic_charge_account","cru_error_charge_account","cru_charge_account","cru_ref_income_accounts","updateRefIncomeAccounts","getIncomeType","cru_label_retention_customer_account","cru_retention_customer_account","cru_label_apl_re_0","cru_apl_re_0","wrong_format_signature_date","enabled_charge_account","get_automatic_charge_account_types","feature_income_accounts_reference","show_ret_types_agrario","ret_types","metadata_error","emitInput","show_calc_btn","calc_vat_field","calc_total_btn","calc_retention_btn","calc_mismatch_to_ex0","cancelBtnText","isConfirmButtonDisabled","confirmBtnText","buttonsOnTop","showCancelBtn","showConfirmBtn","solo","changeInvoiceLineValue","rounded","show_balance","clear_ref_accounts","add_account","remove_account","ref_account","Sequence","suffix","fill","rectificative_code","rectificative_current","rectificative_prefix","rectificative_suffix","rectificative_fill","min_number","min_inv_date","min_rectificative_number","min_rectificative_inv_date"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAA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,KACX2d,EAAS3d,WACTA,EAAWic,EAAY0B,EAAS3d,UAAU,IAE9C,IAAIJ,EAAW,KAKf,GAJI+d,EAAS/d,WACTA,EAAWqc,EAAY0B,EAAS/d,UAAU,IAGzB,UAAjB+d,EAASruB,KACT,OAAO,IAAI,OACPquB,EAAS5jB,GACT4jB,EAASje,WACTie,EAASG,aACTH,EAASI,aACTJ,EAAS1f,eACT0f,EAASK,aACThjB,EACA2iB,EAASM,cACTje,EACAJ,EACA+d,EAASvhB,MACTuhB,EAASO,iBACTP,EAASQ,wBACTR,EAASS,WACTT,EAASU,SACTV,EAASW,kBACkB,GAA3BX,EAASY,iBAAoBZ,EAASY,sBAAiBntB,EACvDusB,EAASa,KACT,EACA,EACA,EACA,EACA,EACA,GACA,GACA5iB,EACA,GACA+hB,EAASc,qBACTd,EAASe,aACTf,EAASjkB,YACTikB,EAASpc,yBACToc,EAASgB,cACThB,EAASiB,uBACTjB,EAASkB,cACT,KACAlB,EAASnc,uCACTmc,EAASxkB,SACTwkB,EAASlhB,gBACTkhB,EAASmB,WACT,MAED,GAAsB,kBAAlBnB,EAASruB,KAChB,OAAO,IAAI,OACPquB,EAAS5jB,GACT4jB,EAASje,WACTie,EAASG,aACTH,EAASI,aACTJ,EAAS1f,eACT0f,EAASK,aACThjB,EACA2iB,EAASM,cACTje,EACAJ,EACA+d,EAASvhB,MACTuhB,EAASO,iBACTP,EAASQ,wBACTR,EAASS,WACTT,EAASU,SACTV,EAASW,kBACkB,GAA3BX,EAASY,iBAAoBZ,EAASY,sBAAiBntB,EACvDusB,EAASa,KACT,EACA,EACA,EACA,EACA,EACA,GACA,GACA5iB,EACA,GACA+hB,EAASc,qBACTd,EAASe,aACTf,EAASjkB,YACTikB,EAASpc,yBACToc,EAASgB,cACThB,EAASiB,uBACTjB,EAASkB,cACT,KACAlB,EAASnc,uCACTmc,EAASxkB,SACTwkB,EAASlhB,gBACTkhB,EAASmB,WACT,MAED,GAAsB,+BAAlBnB,EAASruB,KAChB,OAAO,IAAI,OACPquB,EAAS5jB,GACT4jB,EAASje,WACTie,EAASG,aACTH,EAASI,aACT,GACA,GACA/iB,EACA2iB,EAASM,cACTje,EACAJ,EACA,GACA,GACA,GACA,GACA,GACA+d,EAASW,kBACkB,GAA3BX,EAASY,iBAAoBZ,EAASY,sBAAiBntB,EACvDusB,EAASa,KACT,EACA,EACA,EACA,EACA,EACA,GACA,GACA5iB,EACA,GACA+hB,EAASc,qBACT,GACAd,EAASjkB,YACTikB,EAASpc,yBACT,GACA,MACA,EACA,KACA,GACAoc,EAASxkB,SACTwkB,EAASlhB,gBACT,GACAkhB,EAASoB,cACTpB,EAASqB,8BACTrB,EAASsB,2BACTtB,EAASuB,yBAEV,CACH,IAAI1lB,EAAqB,KAIzB,OAHImkB,EAASkB,eAAiBlB,EAASnkB,qBACnCA,EAAqB,IAAI,OAAkBmkB,EAASnkB,mBAAmB6C,OAAQshB,EAASnkB,mBAAmBC,WAAYkkB,EAASnkB,mBAAmByE,eAAgB0f,EAASnkB,mBAAmBwkB,eAE5L,IAAI,OACPL,EAAS5jB,GACT4jB,EAASje,WACTie,EAASG,aACTH,EAASI,aACTJ,EAAS1f,eACT0f,EAASK,aACThjB,EACA2iB,EAASM,cACTje,EACAJ,EACA+d,EAASvhB,MACTuhB,EAASO,iBACTP,EAASQ,wBACTR,EAASS,WACTT,EAASU,SACTV,EAASW,kBACkB,GAA3BX,EAASY,iBAAoBZ,EAASY,sBAAiBntB,EACvDusB,EAASa,KACT,EACA,EACA,EACA,EACA,EACA,GACA,GACA5iB,EACA,GACA+hB,EAASc,qBACTd,EAASe,aACTf,EAASjkB,YACTikB,EAASpc,yBACToc,EAASgB,cACThB,EAASiB,uBACTjB,EAASkB,cACTrlB,EACAmkB,EAASnc,uCACTmc,EAASxkB,SACTwkB,EAASlhB,gBACTkhB,EAASmB,WACTnB,EAASoB,cACT,KACApB,EAAShkB,6BAIrB,cAAcmB,GACV,IAAI9O,EAAOmzB,KAAK3qB,MAAM2qB,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A,EAAU,WACc5+B,GAAtB8sC,IACFA,EAAqB,WACN9sC,GAAd4qC,IACDA,EAAa,WACE5qC,GAAd6qC,IACDA,EAAa,MAEZN,IACDA,EAAeE,EAAwBF,SAG7BvqC,GAAT4sC,IACDA,EAAQ,IAEVvoB,EAAA,KAAOmY,MAAM,EAAOoM,cAAcjgC,GAAK,CACrC4hC,eACAv/B,QACAkzB,YACA0M,aACAC,aACAtb,UACAub,OACA1d,OACA2d,WACA8B,WACA7B,cACAC,YACA5M,UACAO,UACAsM,+BACAC,8BACAC,uCACAC,sCACAC,mBACAC,2BACAC,wBACAC,mBACAC,YACAC,iBACAC,sBACAhiB,cACAiiB,wBACArW,wBACAC,wBACAqW,oBACAC,cACAC,oBACAC,yBACAC,0BACAC,uBACAC,wBACAC,WACAxrB,UACAyrB,gBACAC,eACA7W,YACA8W,QACAC,aACAC,oBACAC,sBACAC,QACAE,uBACC9tC,KAAKi9B,IACN,IAAI13B,EAAS,EACTD,EAAQ,IACZgmC,EAAiB3hC,EAAGpE,EAAOD,GAAOtF,KAAKurC,IACrCtO,EAAKrhC,KAAK2vC,aAAeA,EACzBntC,EAAQ6+B,KACPC,MAAMz9B,IACPpB,EAAOoB,OAERy9B,MAAMz9B,IACPpB,EAAOoB,OAIboqC,aAAc,EAAGlgC,KAAIokC,iBAAgBC,yBAC5B3oB,EAAA,KAAO2X,KACZ,EAAO6M,eACP,CAAElgC,KAAIokC,iBAAgBC,wBAG1BlE,aAAc,EACZngC,KACAskC,cACA1C,eACAQ,WACAH,aACAC,aACAqC,eACAC,iBACA/f,OACAggB,cACAC,QACApC,YACA5M,UACAO,UACAkO,qBACA5B,+BACAC,8BACAC,uCACAC,sCACAC,mBACAC,2BACAC,wBACAC,mBACAC,YACAC,iBACAC,sBACAhiB,cACAiiB,wBACArW,wBACAC,wBACAqW,oBACAC,cACAC,oBACAC,yBACAC,0BACAC,uBACAC,wBACAC,WACAxrB,UACAysB,gBACAhB,gBACAC,eACA7W,YACA8W,QAC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C26B,EAAOkvD,GAA6B7pF,GACpC26B,EAAOmvD,GAAgC9pF,GACvC26B,EAAOovD,GAAiC/pF,GACxC26B,EAAOqvD,GAAyB,CAAChqF,QAAM2C,SACvCg4B,EAAOsvD,GAAqB,CAACjqF,QAAM2C,SACnCg4B,EAAOuvD,GAA0B,CAAClqF,QAAM2C,SACxCg4B,EAAOwvD,GAA0B,CAACnqF,QAAM2C,SACxCg4B,EAAOyvD,GAA6BpqF,GACpC26B,EAAO0vD,GAA6BrqF,GACpC26B,EAAO2vD,GAA0B,CAACtqF,QAAM2C,SACxCg4B,EAAO4vD,GAA4BvqF,IAGxB,GAAU,CACrB88C,iBACA9U,gBACAs4B,kBACAjlB,eACAi5C,2BACAn5C,eACA1B,cACAg4C,mBACA7T,aACA+T,iBACAC,YACAE,OACAE,iBACA/0C,kBACA80C,sBACAh1C,mBACAk1C,qBACAC,qBACAC,qBACAnB,kBACAoB,kBACAE,qBACAE,mBACAE,oBACAqC,eACAnC,8BACAE,4BACAE,oCACAE,iCACAE,+BACAE,6BACAI,yBACAE,4BACAj6B,6BACAC,sCACA45B,oCACA35B,mBACAm6B,2BACAE,kCACAE,wCACAj3C,oBACAg4C,qBACA90B,iBACAE,oBACAlI,yBACAi5B,YACA/wC,gBACA0wC,iBACA1oD,qBACAC,iBACA8sD,sBACAC,WACAr8B,eACAtX,mBACA6zC,YACA3zC,sBACA/Z,gBACA6tD,mBACAC,6BACAE,mBACAC,yBACAC,6BACAnkC,8BACAE,qBACAC,6BACAukC,yBACAC,uBACAjlC,0BACAD,YACApN,YACAwyC,mBACAC,gCACAG,gCACAG,qBACA9F,8BACAC,iBACAmG,cACA99B,mBACAg+B,gBACAxlC,mBACAqmC,eACAC,sBACAE,UACAf,uBACA59B,qBACAC,8BACAC,sCACAo7B,kCACAh7B,2BACAC,wBACAs9B,0BACAC,mCACAC,oCACAC,gCACAC,4CACAC,qDACAC,kCACAC,yCACAC,4CACAC,+BACAC,wBACA93B,4BACAjG,kBACAC,q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AM,gBACN6jB,OAAO,EACP4D,UAAW,IAAM,4GAElB,CACCre,KAAM,mDACNpJ,KAAM,iBACN6jB,OAAO,EACP4D,UAAW,IAAM,4GAElB,CACCre,KAAM,qDACGpJ,KAAM,qBACN6jB,OAAO,EACP4D,UAAW,IAAM,iDAG3B,CACCre,KAAM,6DACNpJ,KAAM,yBACN6jB,OAAO,EACP4D,UAAW,IAAM,sFAelB,CACCre,KAAM,qCACNpJ,KAAM,kBACNynB,UAAW,IAAM,2GACjB5D,OAAO,GAER,CACCza,KAAM,oCACNpJ,KAAM,oBACNynB,UAAW,IAAM,qFACjB5D,OAAO,GAER,CACCza,KAAM,kBACNpJ,KAAM,iBACNynB,UAAW,IAAM,sFAElB,CACCre,KAAM,aACNpJ,KAAM,eACNynB,UAAW,IAAM,2GACjB5D,OAAO,GAER,CACCza,KAAM,kBACNpJ,KAAM,iBACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,sBACNpJ,KAAM,iBACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,2BACNpJ,KAAM,gBACNynB,UAAW,IAAM,2GACjB5D,OAAO,GAER,CACCza,KAAM,iCACNpJ,KAAM,kBACNynB,UAAW,IAAM,4CACjB5D,OAAO,GAER,CACCza,KAAM,qCACNpJ,KAAM,kBACNynB,UAAW,IAAM,4CACjB5D,OAAO,GAER,CACCza,KAAM,2BACNpJ,KAAM,gBACNynB,UAAW,IAAM,2GACjB5D,OAAO,GAER,CACCza,KAAM,iBACNpJ,KAAM,gBACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,iBACNpJ,KAAM,gBACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,+BACNpJ,KAAM,gBACNynB,UAAW,IAAM,iIACjB5D,OAAO,GAER,CACCza,KAAM,iDACNpJ,KAAM,oBACNynB,UAAW,IAAM,uJACjB5D,OAAO,GAER,CACCza,KAAM,sCACNpJ,KAAM,uBACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,yBACNpJ,KAAM,eACNynB,UAAW,IAAM,2GACjB5D,OAAO,GAER,CACCza,KAAM,iCACNpJ,KAAM,kBACNynB,UAAW,IAAM,4CACjB5D,OAAO,GAER,CACCza,KAAM,qCACNpJ,KAAM,kBACNynB,UAAW,IAAM,4CACjB5D,OAAO,GAER,CACCza,KAAM,SACNpJ,KAAM,QACNynB,UAAW,IAAM,qFACjB5D,OAAO,GAER,CACCza,KAAM,qBACNpJ,KAAM,gBACNynB,UAAW,IAAM,qFACjB5D,OAAO,GAER,CACCza,KAAM,yBACNpJ,KAAM,wBACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,mBACNpJ,KAAM,kBACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,oBACNpJ,KAAM,mBACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,2BACNpJ,KAAM,0BACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,iBACNpJ,KAAM,0BACNynB,UAAW,IAAM,sFAGlB,CACCre,KAAM,cACNpJ,KAAM,uBACNynB,UAAW,IAAM,sFAElB,CACCre,KAAM,qBACNpJ,KAAM,oBACNynB,UAAW,IAAM,iDAElB,CACCre,KAAM,sBACNpJ,KAAM,qBACNynB,UAAW,IAAM,iDAElB,CACCre,KAAM,kBACNpJ,KAAM,iBACNynB,UAAW,IAAM,qFACjB5D,OAAO,GAER,CACCza,KAAM,YACNpJ,KAAM,WACNynB,UAAW,IAAM,2GACjB5D,OAAO,GAER,CACCza,KAAM,aACNpJ,KAAM,YACNynB,UAAW,IAAM,qFACjB5D,OAAO,GAER,CACCza,KAAM,cACNpJ,KAAM,cAEP,CACCoJ,KAAM,2BACNpJ,KAAM,0BACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,sCACGpJ,KAAM,cACNynB,UAAW,IAAM,gDAE1B5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hK,EAAe,GACfwlH,EAAkB,EAClB+X,EAAiB,GACjBwJ,EAAiB,GACjBC,EAAe,EACfC,EAA6B,GAC7BC,EAAgC,EAChCC,EAA+B,GAC/BC,EAA+B,GAC/BC,EAA6B,EAC7Bn4G,GAAsC,EACtCvf,EACAjH,EACAC,EACA2+H,EACAC,EACAC,EACAC,GAtCJ,KAAAznI,KAAe,GACf,KAAAwlH,QAAkB,EAClB,KAAA+X,OAAgB,GAChB,KAAAwJ,OAAiB,GACjB,KAAAC,KAAe,EACf,KAAAC,mBAA6B,GAC7B,KAAAC,sBAAgC,EAChC,KAAAC,qBAA+B,GAC/B,KAAAC,qBAA+B,GAC/B,KAAAC,mBAA6B,EAC7B,KAAAn4G,4BAAsC,EA+BlCvqB,KAAKqF,GAAKA,EACVrF,KAAK3E,KAAOA,EACZ2E,KAAK6gH,QAAUA,EACf7gH,KAAK44H,OAASA,EACd54H,KAAKoiI,OAASA,EACdpiI,KAAKqiI,KAAOA,EACZriI,KAAKsiI,mBAAqBA,EAC1BtiI,KAAKuiI,sBAAwBA,EAC7BviI,KAAKwiI,qBAAuBA,EAC5BxiI,KAAKyiI,qBAAuBA,EAC5BziI,KAAK0iI,mBAAqBA,EAC1B1iI,KAAKuqB,2BAA6BA,EAClCvqB,KAAKgL,WAAaA,EAClBhL,KAAK+D,YAAcA,EACnB/D,KAAKgE,0BAA4BA,EACjChE,KAAK2iI,WAAaA,EAClB3iI,KAAK4iI,aAAeA,EACpB5iI,KAAK6iI,yBAA2BA,EAChC7iI,KAAK8iI,2BAA6BA","file":"js/app.cd720594.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\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 CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\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// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"pdfjs-dist\":\"pdfjs-dist\",\"filestack\":\"filestack\"}[chunkId]||chunkId) + \".\" + {\"chunk-05e74fa0\":\"71be3179\",\"chunk-078e0824\":\"76298032\",\"chunk-1bc3b28a\":\"06bb67ef\",\"chunk-2d0ab66e\":\"4e025e99\",\"chunk-2d20ef0d\":\"0afdb13c\",\"chunk-3152e277\":\"8d33debe\",\"chunk-3f650f0f\":\"0e9a0892\",\"chunk-41ea8144\":\"2f3c11d0\",\"chunk-4402aafb\":\"4595a405\",\"chunk-44d9bef7\":\"76443c04\",\"chunk-490c2fe4\":\"dc699ced\",\"chunk-4a5f46a6\":\"f127ac0b\",\"chunk-4bc3df79\":\"f6201ac5\",\"chunk-528d819a\":\"567a337c\",\"chunk-579cb3e7\":\"30c47c43\",\"chunk-59fa425e\":\"3cc1e77d\",\"chunk-08567d80\":\"132e6699\",\"chunk-22497a23\":\"883af74e\",\"chunk-3ae14688\":\"14e4dfed\",\"chunk-59a3d670\":\"eadd42fb\",\"chunk-bf28fa5c\":\"235a4f3a\",\"chunk-635da6fe\":\"0e21b8db\",\"chunk-2d0d0015\":\"4181e70d\",\"chunk-61200040\":\"633fe8e9\",\"chunk-8618f882\":\"b22bbf0d\",\"chunk-1ecdc0f5\":\"9bd0243f\",\"chunk-2d0cc9a8\":\"f3c97da6\",\"chunk-2d0d3730\":\"2e00dcad\",\"chunk-2d0d800b\":\"de11e16c\",\"chunk-8a80acba\":\"2565f745\",\"chunk-2f9a6be8\":\"46e4b904\",\"chunk-67f1e220\":\"4eb49aad\",\"chunk-7c5f7efe\":\"088e78ae\",\"chunk-7a201df4\":\"1156ca8e\",\"chunk-7cc8240d\":\"f5dc79a5\",\"chunk-040a81d8\":\"0e87020d\",\"chunk-116a6924\":\"fc06ce80\",\"chunk-166107c0\":\"073034aa\",\"chunk-1cf272b4\":\"0636e893\",\"chunk-2d0c7932\":\"53bac78a\",\"chunk-2d213778\":\"490a1d0c\",\"chunk-2d213aca\":\"0483e8b5\",\"chunk-370191c6\":\"4b644c5e\",\"chunk-4800dad1\":\"4d5ea992\",\"chunk-c097abe0\":\"6c08da00\",\"chunk-f4b70aec\":\"e28e1cf3\",\"chunk-efa1315a\":\"26fa5bd7\",\"chunk-4ffaf18b\":\"d9fb22fc\",\"chunk-6de0de20\":\"39c8df00\",\"chunk-7ac1986a\":\"5c9ec2aa\",\"chunk-08252e97\":\"186a3127\",\"chunk-0df5d0b3\":\"5f148cb0\",\"chunk-16351ff3\":\"c664cff3\",\"chunk-012ee304\":\"3fc0611c\",\"chunk-2d20ef3b\":\"2b5dda7d\",\"chunk-3ebdbede\":\"9e333583\",\"chunk-65b5bcca\":\"45a0ace0\",\"chunk-2d0a383a\":\"de934716\",\"chunk-2d21058d\":\"ea5650c2\",\"chunk-34cf2111\":\"3b4e8009\",\"chunk-37c0fe21\":\"f8b0774f\",\"chunk-3afcd00a\":\"48776621\",\"chunk-4417c31e\":\"8cc2a050\",\"chunk-16648fd4\":\"e4df8601\",\"chunk-406e9cef\":\"8a82b365\",\"chunk-e2fee220\":\"c012dcfe\",\"chunk-4feb24e6\":\"1558f45d\",\"chunk-50101ea4\":\"779dc640\",\"chunk-52952ff8\":\"b39f5c1e\",\"chunk-5c53ccc8\":\"2dcfdb8d\",\"chunk-3688ab3e\":\"ab05df32\",\"chunk-63ce8256\":\"8760a2c5\",\"chunk-694a3ab6\":\"c30cf5ea\",\"chunk-75f24935\":\"e9c30404\",\"chunk-7ec8bddb\":\"a0ca2721\",\"chunk-1a886cfa\":\"cfc51ccb\",\"chunk-9847096e\":\"e019f9fc\",\"chunk-c12be636\":\"e4e9111e\",\"chunk-d0b8709a\":\"f7929a2e\",\"chunk-dac15c48\":\"47d55123\",\"chunk-9566de1a\":\"51aa4fa2\",\"chunk-9f14bd6e\":\"a648c62c\",\"chunk-a9e5c22c\":\"d04e59c5\",\"chunk-b76d3f8c\":\"dd1de055\",\"chunk-cb9e2d76\":\"4ae16f8f\",\"chunk-deb5e4c4\":\"da4dc595\",\"pdfjs-dist\":\"bc3c204a\",\"filestack\":\"04b9f98f\"}[chunkId] + \".js\"\n \t}\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 \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-05e74fa0\":1,\"chunk-078e0824\":1,\"chunk-1bc3b28a\":1,\"chunk-3152e277\":1,\"chunk-3f650f0f\":1,\"chunk-41ea8144\":1,\"chunk-4402aafb\":1,\"chunk-44d9bef7\":1,\"chunk-490c2fe4\":1,\"chunk-4bc3df79\":1,\"chunk-528d819a\":1,\"chunk-579cb3e7\":1,\"chunk-59fa425e\":1,\"chunk-08567d80\":1,\"chunk-22497a23\":1,\"chunk-3ae14688\":1,\"chunk-59a3d670\":1,\"chunk-bf28fa5c\":1,\"chunk-635da6fe\":1,\"chunk-61200040\":1,\"chunk-8618f882\":1,\"chunk-1ecdc0f5\":1,\"chunk-8a80acba\":1,\"chunk-2f9a6be8\":1,\"chunk-67f1e220\":1,\"chunk-7c5f7efe\":1,\"chunk-7a201df4\":1,\"chunk-7cc8240d\":1,\"chunk-040a81d8\":1,\"chunk-116a6924\":1,\"chunk-166107c0\":1,\"chunk-1cf272b4\":1,\"chunk-370191c6\":1,\"chunk-4800dad1\":1,\"chunk-c097abe0\":1,\"chunk-f4b70aec\":1,\"chunk-efa1315a\":1,\"chunk-4ffaf18b\":1,\"chunk-6de0de20\":1,\"chunk-7ac1986a\":1,\"chunk-08252e97\":1,\"chunk-0df5d0b3\":1,\"chunk-16351ff3\":1,\"chunk-012ee304\":1,\"chunk-3ebdbede\":1,\"chunk-65b5bcca\":1,\"chunk-34cf2111\":1,\"chunk-37c0fe21\":1,\"chunk-3afcd00a\":1,\"chunk-4417c31e\":1,\"chunk-16648fd4\":1,\"chunk-406e9cef\":1,\"chunk-e2fee220\":1,\"chunk-4feb24e6\":1,\"chunk-50101ea4\":1,\"chunk-52952ff8\":1,\"chunk-5c53ccc8\":1,\"chunk-3688ab3e\":1,\"chunk-63ce8256\":1,\"chunk-75f24935\":1,\"chunk-1a886cfa\":1,\"chunk-9847096e\":1,\"chunk-c12be636\":1,\"chunk-d0b8709a\":1,\"chunk-dac15c48\":1,\"chunk-9566de1a\":1,\"chunk-9f14bd6e\":1,\"chunk-a9e5c22c\":1,\"chunk-b76d3f8c\":1,\"chunk-cb9e2d76\":1,\"chunk-deb5e4c4\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"pdfjs-dist\":\"pdfjs-dist\",\"filestack\":\"filestack\"}[chunkId]||chunkId) + \".\" + {\"chunk-05e74fa0\":\"2cb06a69\",\"chunk-078e0824\":\"720db3e0\",\"chunk-1bc3b28a\":\"4942fded\",\"chunk-2d0ab66e\":\"31d6cfe0\",\"chunk-2d20ef0d\":\"31d6cfe0\",\"chunk-3152e277\":\"091adb99\",\"chunk-3f650f0f\":\"612e8f1b\",\"chunk-41ea8144\":\"f5672501\",\"chunk-4402aafb\":\"5c43c91a\",\"chunk-44d9bef7\":\"7a82d8e7\",\"chunk-490c2fe4\":\"d9f016b3\",\"chunk-4a5f46a6\":\"31d6cfe0\",\"chunk-4bc3df79\":\"53ff19af\",\"chunk-528d819a\":\"4b840b70\",\"chunk-579cb3e7\":\"2175c3f3\",\"chunk-59fa425e\":\"af1fcaca\",\"chunk-08567d80\":\"64d69600\",\"chunk-22497a23\":\"55157d66\",\"chunk-3ae14688\":\"efaafb1c\",\"chunk-59a3d670\":\"af9c9653\",\"chunk-bf28fa5c\":\"8a9e15ce\",\"chunk-635da6fe\":\"f2d4c7c7\",\"chunk-2d0d0015\":\"31d6cfe0\",\"chunk-61200040\":\"8ee09797\",\"chunk-8618f882\":\"e0aa68ad\",\"chunk-1ecdc0f5\":\"f3645ab4\",\"chunk-2d0cc9a8\":\"31d6cfe0\",\"chunk-2d0d3730\":\"31d6cfe0\",\"chunk-2d0d800b\":\"31d6cfe0\",\"chunk-8a80acba\":\"ff5c175c\",\"chunk-2f9a6be8\":\"324bae17\",\"chunk-67f1e220\":\"26b12ead\",\"chunk-7c5f7efe\":\"0485711b\",\"chunk-7a201df4\":\"07d280b3\",\"chunk-7cc8240d\":\"5925f42e\",\"chunk-040a81d8\":\"88a20f27\",\"chunk-116a6924\":\"ca26e9e5\",\"chunk-166107c0\":\"ada78b86\",\"chunk-1cf272b4\":\"70a5fdbe\",\"chunk-2d0c7932\":\"31d6cfe0\",\"chunk-2d213778\":\"31d6cfe0\",\"chunk-2d213aca\":\"31d6cfe0\",\"chunk-370191c6\":\"3ad4a0f5\",\"chunk-4800dad1\":\"0fff2959\",\"chunk-c097abe0\":\"1bc3b04c\",\"chunk-f4b70aec\":\"0f47cabc\",\"chunk-efa1315a\":\"da5f52fb\",\"chunk-4ffaf18b\":\"9ead7bd4\",\"chunk-6de0de20\":\"916a68b3\",\"chunk-7ac1986a\":\"01bd6ef9\",\"chunk-08252e97\":\"87e8a695\",\"chunk-0df5d0b3\":\"7c424d3c\",\"chunk-16351ff3\":\"05a956ce\",\"chunk-012ee304\":\"4a66708a\",\"chunk-2d20ef3b\":\"31d6cfe0\",\"chunk-3ebdbede\":\"6347ef03\",\"chunk-65b5bcca\":\"7db54d11\",\"chunk-2d0a383a\":\"31d6cfe0\",\"chunk-2d21058d\":\"31d6cfe0\",\"chunk-34cf2111\":\"20322543\",\"chunk-37c0fe21\":\"abc7c0c5\",\"chunk-3afcd00a\":\"75af0635\",\"chunk-4417c31e\":\"e0029606\",\"chunk-16648fd4\":\"3f052366\",\"chunk-406e9cef\":\"73edbc9a\",\"chunk-e2fee220\":\"84d4175c\",\"chunk-4feb24e6\":\"2f3a6214\",\"chunk-50101ea4\":\"c27b22f0\",\"chunk-52952ff8\":\"7d3615d9\",\"chunk-5c53ccc8\":\"13ab120a\",\"chunk-3688ab3e\":\"fd988ca0\",\"chunk-63ce8256\":\"a1721cbe\",\"chunk-694a3ab6\":\"31d6cfe0\",\"chunk-75f24935\":\"9185fed5\",\"chunk-7ec8bddb\":\"31d6cfe0\",\"chunk-1a886cfa\":\"147dfde0\",\"chunk-9847096e\":\"c6e5892f\",\"chunk-c12be636\":\"a1721cbe\",\"chunk-d0b8709a\":\"beb3528f\",\"chunk-dac15c48\":\"407d81df\",\"chunk-9566de1a\":\"835b2032\",\"chunk-9f14bd6e\":\"3c6e3714\",\"chunk-a9e5c22c\":\"84778fc9\",\"chunk-b76d3f8c\":\"883c22fb\",\"chunk-cb9e2d76\":\"d9f016b3\",\"chunk-deb5e4c4\":\"9ed872a4\",\"pdfjs-dist\":\"31d6cfe0\",\"filestack\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\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 \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\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/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppConfirmModal.vue?vue&type=style&index=0&id=9a1d9c34&scoped=true&lang=css&\"","export const round=(x,num_dec)=>{\n if(!num_dec){\n num_dec=4\n }\n let num = 1\n for(let i=0;i {\n let res = false\n try{\n let d_str_split = d_str.split('/')\n let d = new Date(d_str_split[1]+'/'+d_str_split[0]+'/'+d_str_split[2]);\n if (!isNaN(d.getTime())){\n res = true\n }\n if(d_str_split[2].length<2 || d_str_split[2].length>4 || d_str_split[0].length>2 || d_str_split[1].length>2){\n res = false\n }\n }\n catch(err){\n res = false\n }\n return res\n}\n\nexport const sleep = async (ms) => new Promise(\n (resolve) => setTimeout(resolve, ms)\n);\n\n\nexport const dateIsInPaths = (date, paths) => {\n for (let i in paths) {\n if (Date.parse(paths[i]['max_date']) >= Date.parse(date) && Date.parse(date) >= Date.parse(paths[i]['min_date'])) {\n return true;\n }\n }\n return false;\n}\n","export * from \"-!../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.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!./App.vue?vue&type=style&index=0&lang=css&\"","\n\nexport class VueOtherDocumentListScreenData {\n \n availableFilters: Object;\n user_id: number;\n totalItems: number;\n loading_odocs: boolean;\n other_documents: Array;\n other_documents_headers: Array;\n selectedItems: Array;\n documentName: string;\n limit: number;\n offset: number;\n currentPage: number;\n search: string;\n loadingItems: boolean;\n selectAllItems: boolean;\n tableHeight: string;\n initNumItemsPerPage: number;\n sortBy: string;\n footerItemsPerPageText: string;\n footerItemsPerPageOptions: Array;\n showSelect: boolean;\n textNoResults: string;\n textLoading: string;\n itemKey: string;\n hideHeaderCheckbox: boolean;\n mobile: boolean;\n showDeletePupup: boolean;\n msgDeletePupup: string;\n resolvePopupPromise: any;\n loading_d_other_doc: boolean;\n drawer: boolean;\n filter_doc_name: string;\n filter_doc_type: any;\n filter_date_from: any;\n filter_date_to: any;\n action_menu: boolean;\n asyncJobState: string;\n asyncJobId: number;\n filter_need_approval: boolean;\n action: string;\n dialogChangeWorkflow: boolean;\n workflowOptions: Array;\n selectedWorkflow: any;\n cascadeEntities: boolean;\n constructor(){\n this.availableFilters = {\n original_file_name: {\n 'name': 'original_file_name',\n 'label': 'Nombre',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-file-document',\n },\n type: {\n 'name': 'type',\n 'label': 'Tipo',\n 'user_values': [\n { value: '', text: 'Todos'},\n { value: 'otros', text: 'Otros'}\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-chart',\n 'text':''\n },\n date_from: {\n 'name': 'date_from',\n 'label': 'Fecha desde',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n date_to: {\n 'name': 'date_to',\n 'label': 'Fecha hasta',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n need_approval: {\n 'name': 'need_approval',\n 'label': 'Pendiente de mi aprobación',\n 'user_values': [\n { value: '', text: 'Todos'},\n { value: 'yes', text: 'Sí'},\n { value: 'no', text: 'No'},\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-chart',\n 'text':''\n },\n },\n this.cascadeEntities = false;\n this.user_id = undefined;\n this.totalItems = 0;\n this.loading_odocs = false;\n this.other_documents = [];\n this.other_documents_headers = [\n {\n text: 'Id',\n sortable: true,\n value: 'id'\n },\n {\n text: 'Nombre del documento',\n sortable: true,\n value:'original_file_name'\n },\n {\n text: 'Tipo de documento',\n sortable: true,\n value: 'type'\n },\n {\n text: 'Fecha de subida',\n sortable: true,\n value: 'created'\n },\n {\n text: 'Workflow',\n sortable: false,\n value: 'workflow_name'\n },\n {\n text: 'Estado',\n sortable: false, \n value: 'state'\n }\n ];\n this.selectedItems = [];\n this.documentName = '';\n this.limit = 10;\n this.offset = 0;\n this.currentPage = 1;\n this.search = '';\n this.loadingItems = false;\n this.selectAllItems = false;\n this.tableHeight = '59vh';\n this.initNumItemsPerPage = 0;\n this.sortBy = '';\n this.footerItemsPerPageText = 'Documentos por página:';\n this.footerItemsPerPageOptions = [5, 10, 50, 100];\n this.showSelect = false;\n this.textNoResults = 'No se han encontrado documentos';\n this.textLoading = 'Cargando...';\n this.itemKey = 'id';\n this.hideHeaderCheckbox = false;\n this.mobile = false;\n this.showDeletePupup = false;\n this.msgDeletePupup = 'Se van a borrar los documentos seleccionados.';\n this.resolvePopupPromise = undefined;\n this.loading_d_other_doc = false;\n this.drawer = false;\n this.filter_doc_name = '';\n this.filter_doc_type = undefined;\n this.filter_date_from = undefined;\n this.filter_date_to = undefined;\n this.action_menu = false;\n this.asyncJobState = 'done';\n this.asyncJobId = 0;\n this.filter_need_approval = false;\n this.action = '';\n this.dialogChangeWorkflow = false;\n this.workflowOptions = [{'name':'Sin workflow', 'id':0}];\n this.selectedWorkflow = undefined;\n }\n \n}","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./CreationObject.vue?vue&type=style&index=0&lang=css&\"","module.exports = __webpack_public_path__ + \"img/soon.a7dee4d9.svg\";","import {InvoiceableRepository} from '@/modules/facturae/domain/InvoiceableRepository'\nimport {FileRepository} from '@/modules/shared/domain/FileRepository'\nimport {InvoiceEditorScreenData} from '@/modules/facturae/domain/InvoiceEditorScreenData'\nimport {InvoiceLine, Tax, STATE_TRANSLATOR, PAYMENT_STATE_TRANSLATOR, recargo_rates, ExtraAmount} from '@/modules/facturae/domain/Invoiceable'\nimport { ProductRepository } from '../domain/ProductRepository'\nimport { jobs } from \"@/api/jobs\"\nimport { ConfigurationRepository } from '../domain/ConfigurationRepository'\nexport class InvoiceEditorComponent{\n \n invoice_repo:InvoiceableRepository\n file_repo:FileRepository\n screen_data: InvoiceEditorScreenData\n state_translator= STATE_TRANSLATOR\n payment_state_translator = PAYMENT_STATE_TRANSLATOR\n recargo_rates = recargo_rates\n product_repo:ProductRepository\n config_repo:ConfigurationRepository\n invoiceable_type:string\n currentCompany: any\n \n constructor(\n invoice_repo: InvoiceableRepository,\n file_repo: FileRepository,\n screen_data: InvoiceEditorScreenData,\n product_repo: ProductRepository,\n config_repo: ConfigurationRepository,\n invoiceable_type: string,\n currentCompany: any\n ) {\n this.invoice_repo = invoice_repo;\n this.file_repo = file_repo;\n this.screen_data = screen_data;\n this.product_repo = product_repo;\n this.config_repo = config_repo;\n this.invoiceable_type = invoiceable_type;\n this.currentCompany = currentCompany;\n }\n\n async mountEditor(invoiceable_id: string|Number, companydb_id, next_number: string, next_rectificative_number:string, default_sequence_id:Number) {\n let products = await this.product_repo.getProductList(companydb_id, {})\n this.screen_data.setProducts(products)\n let rectificative_invoice = null\n // this.screen_data.configuration = await this.config_repo.get_configuration(companydb_id, this.invoiceable_type)\n let config = await this.config_repo.get_configuration(companydb_id, this.invoiceable_type)\n this.screen_data.setConfiguration(config)\n let tax_type = this.screen_data.configuration?.tax_type ? this.screen_data.configuration.tax_type : 'iva'\n let invoiceable = await this.invoice_repo.create_empty_invoiceable(companydb_id, this.currentCompany, next_number, next_rectificative_number, tax_type, this.invoiceable_type)\n if (invoiceable_id) {\n invoiceable = await this.invoice_repo.find_by_id(invoiceable_id)\n if (this.invoiceable_type == 'invoice' && invoiceable.rectificative_info && invoiceable.rectificative_info.invoice_id) {\n rectificative_invoice = await this.invoice_repo.find_by_id(invoiceable.rectificative_info.invoice_id)\n }\n if (!invoiceable) {\n return false;\n }\n \n } else {\n if (default_sequence_id) {\n invoiceable.sequence_id = default_sequence_id\n }\n }\n if (invoiceable.sequence_id) {\n if (invoiceable.is_from_recurring_contract) {\n this.screen_data.setConfiguration(config, true)\n }\n let seq = this.screen_data.configuration.sequences.find(s => s.id == invoiceable.sequence_id)\n if (seq) {\n this.screen_data.setSequence(seq)\n }\n }\n this.screen_data.setInvoice(invoiceable)\n this.screen_data.setRectificativeInvoice(rectificative_invoice)\n await this.uploadCustomers()\n return true\n }\n \n async import_excel_lines(){\n let res = await this.screen_data.ask_for_file()\n if(res && this.screen_data.file){ \n var file = this.screen_data.file\n }\n else{\n return\n }\n this.screen_data.setLoading(true)\n let path = await this.file_repo.uploadFile(file)\n console.log('saving')\n let my_inv_id = await this.invoice_repo.save(this.screen_data.invoice)\n console.log('got_id', this.screen_data.invoice.id)\n await this.invoice_repo.import_lines_from_excel(my_inv_id, path)\n let inv = await this.invoice_repo.find_by_id(my_inv_id)\n this.screen_data.setInvoice(inv)\n this.screen_data.file = null\n this.screen_data.setLoading(false)\n }\n\n // updateLine(line:InvoiceLine) {\n // const actual_round = (value: number) => Math.round(value * 100) / 100;\n // if (line.selected_product) {\n // line.product_code = line.selected_product.code\n // line.description = line.selected_product.description\n // line.unit_price_without_tax = line.selected_product.price\n // line.selected_tax = line.selected_product.selected_tax\n // line.selected_retention = line.selected_product.selected_retention\n // if (line.selected_product.selected_tax == 0.0 && line.selected_product.selected_tax_event) {\n // line.selected_tax_event = line.selected_product.selected_tax_event\n // }\n // if (line.quantity == 0){\n // line.quantity = 1\n // }\n // line.selected_product = null\n // }\n // let reason = ''\n // if (line.selected_tax_event){\n // if (line.selected_tax_event == 'ISP'){\n // reason = 'Inversión del sujeto pasivo en virtud del art 84.Uno de la Ley 37/1992, del IVA.'\n // line.special_taxable_event = {code:'01', reason:reason}\n // }\n // else if (line.selected_tax_event == 'NS'){\n // reason = 'Operación no sujeta a IVA en virtud del art. 7 de la Ley 37/1992, del IVA.'\n // line.special_taxable_event = {code:'02', reason:reason}\n // }\n // else if (line.selected_tax_event == 'EX'){\n // reason = 'Operación exenta en virtud del art. 20 de la Ley 37/1992, del IVA.'\n // line.special_taxable_event = {code:'01', reason:reason}\n // }\n // else if(line.selected_tax_event == 'INTRA.'){\n // reason = 'Entrega intracomunitaria exenta en virtud del art. 25 de la Ley 37/1992, del IVA.'\n // line.special_taxable_event = {code:'01', reason:reason}\n // }\n // else if(line.selected_tax_event == 'EXPORT.'){\n // reason = 'Operación exenta por exportación en virtud del art. 21 de la Ley 37/1992, del IVA.'\n // line.special_taxable_event = {code:'01', reason:reason}\n // }\n // else{\n // line.special_taxable_event = null\n // }\n // }\n // if (line.selected_tax != 0.0){\n // line.selected_tax_event = 'N/A'\n // line.special_taxable_event = null\n // }\n \n // line.total_cost = actual_round(line.quantity * line.unit_price_without_tax)\n // line.gross_amount = line.total_cost\n // if (Object.keys(this.recargo_rates).includes(line.selected_tax.toString())){\n // line.taxes[0].rate = this.recargo_rates[line.selected_tax]\n // line.taxes[0].recargo_rate = line.selected_tax\n // line.taxes[0].amount = actual_round(line.total_cost * line.taxes[0].rate)\n // line.taxes[0].recargo_amount = actual_round(line.total_cost * line.taxes[0].recargo_rate)\n // }\n // else{\n // line.taxes[0].rate = line.selected_tax\n // line.taxes[0].amount = actual_round(line.total_cost * line.taxes[0].rate)\n // line.taxes[0].recargo_amount = 0\n // line.taxes[0].recargo_rate = null\n // }\n // line.taxes[0].base = line.total_cost\n\n // if (line.selected_retention == 'na'){\n // line.taxes_withheld = []\n // }\n // else{\n // let rate = parseFloat(line.selected_retention)\n // line.taxes_withheld = [new Tax(rate, line.total_cost, actual_round(line.total_cost*rate))]\n // }\n // return line\n // }\n\n update_invoice_line(i){\n let line = this.screen_data.invoice.lines[i]\n if (line) {\n let updated_line = line.updateLine()\n let lines = this.screen_data.invoice.lines\n lines[i] = updated_line\n this.screen_data.setLines(lines)\n }\n } \n async save_invoice(){\n this.screen_data.setLoading(true)\n // console.log(this.screen_data.invoice)\n let inv_id = await this.invoice_repo.save(this.screen_data.invoice)\n let msg = ''\n if (inv_id){\n let inv = await this.invoice_repo.find_by_id(inv_id)\n this.screen_data.setInvoice(inv)\n msg = this.invoiceable_type == 'invoice' ? 'Factura guardada' : this.capitalizeFirstLetter(this.screen_data.invoice.name) + ' guardado'\n this.screen_data.success_message(msg)\n }\n else {\n msg = this.invoiceable_type == 'invoice' ? 'Error guardando factura' : 'Error guardando ' + this.screen_data.invoice.name\n this.screen_data.error_message(msg)\n }\n this.screen_data.setLoading(false)\n }\n add_line(){\n let default_tax = 0.21\n let tax_type = this.screen_data.invoice.tax_type? this.screen_data.invoice.tax_type : 'iva'\n console.log('tax_type', tax_type)\n if(!tax_type.includes('iva') && tax_type.includes('igic')){\n default_tax = 0.07\n }\n let line = new InvoiceLine('', 0,0,0,0, [new Tax(default_tax,0,0)])\n line.selected_tax = default_tax\n line.discounts = [new ExtraAmount('Descuento', 0, 0)]\n let lines = this.screen_data.invoice.lines\n lines.push(line)\n this.screen_data.setLines(lines)\n }\n delete_line(i){\n let lines = this.screen_data.invoice.lines\n lines.splice(i,1)\n this.screen_data.setLines(lines)\n }\n async delete_all_lines(){\n let accept = await this.screen_data.delete_all_lines_dialog()\n if (accept){\n this.screen_data.setLoading(true)\n this.deleteLinesInBatches(50);\n }\n }\n\n deleteLinesInBatches(batchSize) {\n let lines = this.screen_data.invoice.lines\n \n const processBatch = () => {\n if (lines.length > 0) {\n // Remove the first batchSize lines\n lines = lines.slice(batchSize);\n this.screen_data.setLines(lines);\n \n // Log progress if needed\n console.log(`Batch processed, remaining lines: ${lines.length}`);\n \n // Schedule the next batch for the next event loop cycle\n setTimeout(() => {\n processBatch();\n }, 0);\n } else {\n this.screen_data.setLoading(false);\n console.log('All lines deleted');\n this.update_invoice();\n }\n };\n \n // Start processing the first batch\n setTimeout(() => {\n processBatch();\n }, 0);\n }\n\n update_invoice(){\n const default_reasons= ['Inversión del sujeto pasivo en virtud del art 84.Uno de la Ley 37/1992, del IVA.',\n 'Operación no sujeta a IVA en virtud del art. 7 de la Ley 37/1992, del IVA.',\n 'Operación exenta en virtud del art. 20 de la Ley 37/1992, del IVA.',\n 'Entrega intracomunitaria exenta en virtud del art. 25 de la Ley 37/1992, del IVA.',\n 'Operación exenta por exportación en virtud del art. 21 de la Ley 37/1992, del IVA.',null,'', undefined]\n if (this.screen_data.invoice.state == 'draft'){\n let reason = ''\n for(let line of this.screen_data.invoice.lines){\n if(line.taxes[0].rate == 0.0){\n // console.log(line)\n reason = line.special_taxable_event? line.special_taxable_event['reason'] : ''\n break\n }\n }\n this.screen_data.invoice.additional_info = this.screen_data.invoice.additional_info? this.screen_data.invoice.additional_info : ''\n if (default_reasons.some(default_reason => this.screen_data.invoice.additional_info.includes(default_reason))){ // replaceable observaciones (solo si es 0)\n for (let default_reason of default_reasons) {\n if (this.screen_data.invoice.additional_info.includes(default_reason)) {\n if ([null, '', undefined].includes(default_reason) && this.screen_data.invoice.additional_info.length > 0) {\n if (!this.screen_data.invoice.additional_info.endsWith('\\n')) {\n this.screen_data.invoice.additional_info += '\\n';\n }\n this.screen_data.invoice.additional_info += reason;\n } else {\n this.screen_data.invoice.additional_info = this.screen_data.invoice.additional_info.replace(default_reason, reason);\n }\n break;\n }\n }\n }\n }\n this.screen_data.invoice.compute()\n }\n\n async download_e_invoice(){\n try {\n let inv_id = await this.invoice_repo.save(this.screen_data.invoice)\n this.screen_data.download_loading = true\n let res = null\n this.screen_data.action = 'download'\n if (this.screen_data.download_type == 'pdf') {\n res = await this.invoice_repo.download_pdf(inv_id)\n } else if (this.screen_data.download_type == 'xml') {\n res = await this.invoice_repo.download_xml(inv_id)\n } else {\n this.screen_data.error_message('Tipo de descarga no válido');\n return;\n }\n this.screen_data.asyncJobState = 'running';\n this.screen_data.asyncJobId = res.job_id;\n } catch (e) {\n this.screen_data.error_message('Error al descargar ' + this.screen_data.invoice.name);\n }\n this.screen_data.download_loading = false;\n this.screen_data.downloadPopup = false;\n \n }\n\n async download_from_url(s_url){\n const response = await fetch(s_url)\n if (!response.ok || response.type === 'opaque') {\n throw new Error('Error al descargar ' + this.screen_data.invoice.name);\n }\n const blob = await response.blob();\n const url = await URL.createObjectURL(blob)\n const a = document.createElement(\"a\");\n a.href = url;\n let ext = ''\n if (this.screen_data.download_type == 'pdf') {\n ext = 'pdf'\n } else {\n if (this.screen_data.invoice.state == 'signed') {\n ext = 'xsig'\n } else {\n ext = 'xml'\n }\n }\n if (this.screen_data.invoice.state == 'draft') {\n a.download = `factura${this.screen_data.invoice.id}_${new Date().toISOString().replace(/T/, '_').replace(/\\..+/, '')}.${ext}`;\n } else {\n a.download = `factura_${this.screen_data.invoice.invoice_number}.${ext}`;\n }\n document.body.appendChild(a);\n a.click();\n document.body.removeChild(a);\n this.screen_data.download_type = '';\n }\n\n async jobDone(){\n const response = await jobs.getJob({ id: this.screen_data.asyncJobId });\n this.screen_data.asyncJobState = response.data.state;\n if (this.screen_data.action == 'download') {\n let recived_url = response.data.output_info.url\n try {\n await this.download_from_url(recived_url)\n this.screen_data.success_message('Descarga completada')\n } catch (e) {\n this.screen_data.error_message('Error al descargar ' + this.screen_data.invoice.name)\n }\n } else if (['send_email', 'send_accounting', 'send_invoice'].includes(this.screen_data.action)) {\n let success = response.data.output_info.success\n let message = response.data.output_info.message\n if (success) {\n this.screen_data.success_message('Envio realizado con exito')\n } else {\n this.screen_data.error_message('Error: '.concat(message))\n }\n let inv = await this.invoice_repo.find_by_id(this.screen_data.invoice.id)\n this.screen_data.setInvoice(inv)\n this.screen_data.senderOption = '';\n this.screen_data.emailForm = {\n to: '',\n subject: '',\n body: ''\n }\n }\n }\n\n async sign_invoice(){\n this.screen_data.setLoading(true)\n let inv_id = await this.invoice_repo.save(this.screen_data.invoice)\n let signed = await this.invoice_repo.sign(inv_id)\n let inv = await this.invoice_repo.find_by_id(inv_id)\n this.screen_data.setInvoice(inv)\n if(signed){\n this.screen_data.success_message('Factura firmada')\n }\n else{\n this.screen_data.error_message('Error firmando factura')\n }\n this.screen_data.setLoading(false)\n }\n\n async issue_invoice() {\n this.screen_data.setLoading(true)\n let inv_id = await this.invoice_repo.save(this.screen_data.invoice)\n let issued = await this.invoice_repo.issue(inv_id)\n let inv = await this.invoice_repo.find_by_id(inv_id)\n this.screen_data.setInvoice(inv)\n if(issued){\n this.screen_data.success_message(this.capitalizeFirstLetter(this.screen_data.invoice.name) + ' emitido correctamente')\n }\n else{\n this.screen_data.error_message('Error emitiendo ' + this.screen_data.invoice.name)\n }\n this.screen_data.setLoading(false)\n }\n\n async send_e_invoice() {\n this.screen_data.send_loading = true\n if (this.screen_data.senderOption == 'EMAIL') {\n await this.send_invoice_email()\n }\n else if (this.screen_data.senderOption == 'FACEB2B' || this.screen_data.senderOption == 'FACE') {\n let mode = this.screen_data.senderOption == 'FACEB2B' ? 'b2b' : 'face'\n await this.send_invoice(mode)\n }\n else if (this.screen_data.senderOption == 'CONT') {\n await this.send_invoice_to_accounting()\n }\n this.screen_data.send_loading = false\n this.screen_data.send_dialog = false\n }\n\n async send_invoice(mode='b2b'){\n try {\n let inv_id = await this.invoice_repo.save(this.screen_data.invoice)\n let res = await this.invoice_repo.send(inv_id, mode)\n this.screen_data.action = 'send_invoice'\n this.screen_data.asyncJobState = 'running';\n this.screen_data.asyncJobId = res.job_id;\n } catch (err) {\n this.screen_data.error_message('Error al enviar la factura')\n }\n }\n\n async uploadCustomers() {\n let customers = await this.invoice_repo.get_customer_list(this.screen_data.invoice.company_id)\n let actual_customer = this.screen_data.invoice.customer\n // TODO: Implementes this if only to fix already existing customer tht has no customer id\n if (actual_customer.id == null) {\n let match = customers.find(c => c.cif == actual_customer.cif)\n if (match) {\n this.screen_data.invoice.customer.id = match.id\n }\n }\n if (this.screen_data.invoice.customer && this.screen_data.invoice.customer.id == null) {\n customers.push(this.screen_data.invoice.customer)\n }\n this.screen_data.setCustomers(customers)\n }\n\n refresh_emisor(currentCompany){\n let supplier = this.invoice_repo.supplier_from_current_company(currentCompany)\n this.screen_data.invoice.supplier = supplier\n }\n\n show_supplier_pop_up(){\n console.log('showing supplier pop up')\n this.screen_data.supplier_pop_up = true;\n }\n\n show_customer_pop_up(){\n this.screen_data.customer_pop_up = true;\n }\n\n async reject_invoice() {\n this.screen_data.setLoadingReject(true)\n let res = await this.invoice_repo.reject_invoiceable(this.screen_data.invoice.id, this.screen_data.reject_comment)\n this.screen_data.setLoadingReject(false)\n this.screen_data.setRejectDialog(false)\n let message = ''\n if (res == 'ok') {\n message = this.invoiceable_type == 'invoice' ? 'Factura rechazada' : this.capitalizeFirstLetter(this.screen_data.invoice.name)+' rechazado'\n this.screen_data.success_message(message)\n let inv = await this.invoice_repo.find_by_id(this.screen_data.invoice.id)\n this.screen_data.setInvoice(inv)\n } else {\n message = this.invoiceable_type == 'invoice' ? 'Error rechazando factura' : 'Error rechazando '+ this.screen_data.invoice.name\n this.screen_data.error_message(message)\n }\n }\n\n capitalizeFirstLetter(val) {\n return String(val).charAt(0).toUpperCase() + String(val).slice(1);\n }\n\n async pay_accept_invoice() {\n this.screen_data.setLoadingPaid(true)\n if (['budget', 'delivery_note'].includes(this.invoiceable_type)) {\n this.screen_data.invoice.state = 'accepted'\n try {\n await this.invoice_repo.save(this.screen_data.invoice)\n } catch (error) {\n this.screen_data.error_message('Error aceptando ' + this.screen_data.invoice.name)\n return\n }\n this.screen_data.setLoadingPaid(false)\n this.screen_data.setPaidDialog(false)\n // this.screen_data.success_message(this.screen_data.invoice.name + ' aceptado')\n this.screen_data.success_message(this.capitalizeFirstLetter(this.screen_data.invoice.name) + ' aceptado')\n } else {\n let res = await this.invoice_repo.pay_downloaded_invoice(this.screen_data.invoice.id)\n this.screen_data.setLoadingPaid(false)\n this.screen_data.setPaidDialog(false)\n if (res == 'ok') {\n this.screen_data.success_message('Factura pagada')\n } else {\n this.screen_data.error_message('Error pagando factura')\n }\n }\n if (this.screen_data.invoice) {\n let inv = await this.invoice_repo.find_by_id(this.screen_data.invoice.id)\n this.screen_data.setInvoice(inv)\n }\n }\n\n async unsign_invoice() {\n this.screen_data.setLoading(true)\n let inv_id = await this.invoice_repo.save(this.screen_data.invoice)\n let unsigned = await this.invoice_repo.unsign(inv_id)\n let inv = await this.invoice_repo.find_by_id(inv_id)\n inv.compute()\n this.screen_data.setInvoice(inv)\n if(unsigned){\n this.screen_data.success_message('Factura desfirmada')\n }\n else{\n this.screen_data.error_message('Error desfirmando factura')\n }\n this.screen_data.setLoading(false)\n }\n\n async send_invoice_email(){\n try {\n let inv_id = await this.invoice_repo.save(this.screen_data.invoice)\n let res = await this.invoice_repo.send_invoice_email(inv_id, this.screen_data.emailForm)\n this.screen_data.action = 'send_email'\n this.screen_data.asyncJobState = 'running';\n this.screen_data.asyncJobId = res.job_id;\n } catch (error) {\n this.screen_data.error_message('Error al enviar ' + this.screen_data.invoice.name)\n }\n }\n\n async send_invoice_to_accounting(){\n try {\n let inv_id = await this.invoice_repo.save(this.screen_data.invoice)\n let res = await this.invoice_repo.send_invoice_accounting(inv_id)\n this.screen_data.action = 'send_accounting'\n this.screen_data.asyncJobState = 'running';\n this.screen_data.asyncJobId = res.job_id;\n } catch (error) {\n this.screen_data.error_message('Error al enviar la factura')\n }\n }\n\n async save_third_party(third) {\n let res = await this.invoice_repo.save_third(third)\n if (res.status == 'ok') {\n this.screen_data.success_message('Tercero guardado correctamente')\n await this.uploadCustomers()\n if ([0, -1].includes(this.screen_data.invoice.customer.id)) {\n if (res.message['id']) {\n let third = this.screen_data.customers.find(c => c.id == res.message['id'])\n this.screen_data.invoice.customer = third\n }\n } else {\n this.screen_data.invoice.customer = third\n }\n } else {\n if (res.message == 'Third CIF already exists') {\n this.screen_data.error_message('El CIF ya existe')\n }\n else {\n this.screen_data.error_message('Error guardando tercero')\n }\n }\n // await this.invoice_repo.save(this.screen_data.invoice)\n }\n\n async save_company_as_party(supplier) {\n // console.log(supplier)\n let res = await this.invoice_repo.save_company_as_party(supplier)\n if (res.status == 'ok') {\n this.screen_data.success_message('Emisor guardado correctamente')\n this.screen_data.invoice.supplier = supplier\n }\n else {\n if (res.message == 'Company CIF does not match') {\n this.screen_data.error_message('El CIF del emisor no coincide con el CIF empresa')\n } else {\n this.screen_data.error_message('Error guardando emisor')\n }\n }\n // await this.invoice_repo.save(this.screen_data.invoice)\n }\n\n sequenceChanged() {\n for (let i in this.screen_data.availableSequences) { \n // console.log(this.screen_data.configuration.sequences[i])\n if (this.screen_data.availableSequences[i].id == this.screen_data.invoice.sequence_id) {\n // console.log(this.screen_data.configuration.sequences[i])\n this.screen_data.invoice.predicted_invoice_number = this.screen_data.availableSequences[i].next_number;\n this.screen_data.invoice.predicted_rectificative_invoice_number = this.screen_data.availableSequences[i].next_rectificative_number;\n }\n }\n let seq = this.screen_data.availableSequences.find(s => s.id == this.screen_data.invoice.sequence_id)\n if (seq) {\n this.screen_data.setSequence(seq)\n }\n }\n }","module.exports = __webpack_public_path__ + \"img/mark_as_rejected_disabled.c708830f.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{class:{ 'modal-container': _vm.isInModal, 'container-full-bg-gray': !_vm.isInModal },attrs:{\"fluid\":\"\"}},[_c('CreationObject',{attrs:{\"objectType\":_vm.objectType,\"objectName\":\"Proveedor\",\"url\":_vm.url,\"id\":_vm.supplier,\"is-in-modal\":_vm.isInModal,\"is-header-fixed\":_vm.isInModal ? true : false,\"third-name\":_vm.cru_name,\"third-cif\":_vm.cru_cif,\"document_id\":_vm.document_id,\"company_nif\":_vm.nif,\"company_name\":_vm.name,\"areParamsChanged\":_vm.areParamsChanged,\"hideSaveBtn\":_vm.got_feature('feature_not_create_thirds_and_masters')},on:{\"createdObject\":_vm.mycreated,\"updateParams\":function($event){return _vm.$emit('updateParams')},\"cancel\":function($event){return _vm.$emit('cancel')}},scopedSlots:_vm._u([{key:\"tabs-title\",fn:function(){return [_c('div',{staticClass:\"px-8 pt-2 tabs-title-div-bck\"},[_c('v-row',{attrs:{\"align\":\"center\"}},[_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"12\"}},[_c('v-tabs',{model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},[_c('v-tab',{key:\"data\"},[_vm._v(\"Datos\")]),_c('v-tab',{key:\"parameters\"},[_vm._v(\"Parámetros\")])],1)],1)],1)],1)]},proxy:true},(_vm.currentCompany)?{key:\"inputs\",fn:function(){return [(Object.keys(_vm.cru_errors_supplierScreenValues).length)?_c('app-row',[_c('v-expand-transition',[_c('app-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(Object.keys(_vm.cru_errors_supplierScreenValues).length),expression:\"Object.keys(cru_errors_supplierScreenValues).length\"}],staticClass:\"pt-8\",attrs:{\"cols\":\"12\"}},[_c('v-alert',{attrs:{\"outlined\":\"\",\"prominent\":\"\",\"text\":\"\",\"type\":\"error\"}},_vm._l((_vm.cru_errors_supplierScreenValues),function(error){return _c('div',{key:error.toString()},[(Array.isArray(error))?_c('div',[_vm._v(_vm._s(_vm.firstAppearance(error)))]):_c('div',[_vm._v(_vm._s(error))])])}),0)],1)],1)],1):_vm._e(),_c('v-tabs-items',{staticClass:\"ma-0 pa-0\",model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},[_c('v-tab-item',{key:\"data\",staticClass:\"ma-0 pa-0\"},[(_vm.got_feature('feature_can_user_company_data'))?_c('app-row',{staticClass:\"pt-0 mt-0\"},[_c('app-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-btn',{staticClass:\"btn-save\",attrs:{\"color\":\"primary\",\"disabled\":_vm.cru_cif===''},on:{\"click\":function($event){return _vm.autocompleteSupplierData()}}},[_vm._v(\"\\n Autocompletar\\n \")]),_c('message-popup',{attrs:{\"title\":\"Aviso\",\"show_message\":_vm.showAutocompletePupup,\"message\":(\"

¿Está seguro que quiere modificar los campos con los siguientes datos?

\\n
    \\n
  • CIF: \" + (_vm.company_data && _vm.company_data['cif']) + \"
  • \\n
  • Nombre: \" + (_vm.company_data && _vm.company_data['name']) + \"
  • \\n
  • Nombre comercial: \" + (_vm.company_data && _vm.company_data['comercial_names']) + \"
  • \\n
  • Dirección: \" + (_vm.company_data && _vm.company_data['address']) + \"
  • \\n
  • CP: \" + (_vm.company_data && _vm.company_data['zip_code']) + \"
  • \\n
  • Ciudad: \" + (_vm.company_data && _vm.company_data['city']) + \"
  • \\n
  • Provincia: \" + (_vm.company_data && _vm.company_data['province']) + \"
  • \\n
  • Pais: \" + (_vm.company_data && _vm.company_data['country']) + \"
  • \\n
  • Email: \" + (_vm.company_data && _vm.company_data['email']) + \"
  • \\n
  • Teléfono: \" + (_vm.company_data && _vm.company_data['phones']) + \"
  • \\n
  • Website: \" + (_vm.company_data && _vm.company_data['websites']) + \"
  • \\n
\"),\"actions\":[{ 'action_text': 'Cancelar', 'emit': 'close-message' }, { 'action_text': 'Aceptar', 'emit': 'confirm-update-data', 'prin': true }]},on:{\"close-message\":function($event){return _vm.confirmCompanyData(false)},\"confirm-update-data\":function($event){return _vm.confirmCompanyData(true)}}}),_c('message-popup',{attrs:{\"title\":\"Aviso\",\"show_message\":_vm.showDataNotFoundMessage,\"message\":(\"

No se ha encontrado ninguna referencia al CIF indicado

\\n

CIF : \" + _vm.cru_cif + \"

\"),\"actions\":[{ 'action_text': 'Aceptar', 'emit': 'close-message','prin': true } ]},on:{\"close-message\":function($event){_vm.showDataNotFoundMessage = false}}})],1)],1):_vm._e(),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_cif,\"error\":Boolean(_vm.cru_error_cif),\"error-messages\":_vm.cru_error_cif},on:{\"input\":_vm.check_duplicates},model:{value:(_vm.cru_cif),callback:function ($$v) {_vm.cru_cif=$$v},expression:\"cru_cif\"}}),_c('div',{staticStyle:{\"margin-top\":\"-28px\",\"color\":\"#f34336\"}},[_vm._v(\"\\n \"+_vm._s(_vm.duplicate_message)+\"\\n \")])],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"4\",\"has-input-fields-above\":_vm.$vuetify.breakpoint.mdAndDown}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"append-icon\":\"mdi-format-letter-case-upper\",\"append-icon-tooltip-text\":\"Transformar texto a mayúsculas\",\"label\":_vm.cru_label_name,\"error\":Boolean(_vm.cru_error_name),\"error-messages\":_vm.cru_error_name},on:{\"click:append\":function($event){return _vm.upper()}},model:{value:(_vm.cru_name),callback:function ($$v) {_vm.cru_name=$$v},expression:\"cru_name\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"4\",\"has-input-fields-above\":_vm.$vuetify.breakpoint.mdAndDown}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g({},on),[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.feature_supplier_reference,\"label\":_vm.cru_label_reference,\"error\":Boolean(_vm.cru_error_reference),\"error-message\":_vm.cru_error_reference},model:{value:(_vm.cru_reference),callback:function ($$v) {_vm.cru_reference=$$v},expression:\"cru_reference\"}})],1)]}}],null,false,4168905897)},[_c('span',[_vm._v(\"Asignará a este proveedor los documentos que contengan esta referencia\")])])],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{staticClass:\"d-flex flex-sm-nowrap align-baseline\",attrs:{\"has-input-fields-above\":\"\",\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"flex-grow-1\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_type,\"items\":_vm.thirdTypeTypes,\"readonly\":false,\"error\":Boolean(_vm.cru_error_type),\"error-messages\":_vm.cru_error_type},model:{value:(_vm.cru_type),callback:function ($$v) {_vm.cru_type=$$v},expression:\"cru_type\"}}),(_vm.cru_type && (_vm.cru_type == 'fisica' || (_vm.hasEInvoiceContract && _vm.cru_type == 'juridica')))?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){_vm.showAdditionalInfo = true}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-information-variant\")])],1)]}}],null,false,2444764291)},[_c('span',[_vm._v(\"Datos ampliados\")])]):_vm._e()],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":_vm.feature_account_type_innuva && !_vm.supplier ? 8 : 4}},[_c('app-doc-text-field',{attrs:{\"kind\":\"account\",\"third\":\"supplier\",\"label\":_vm.cru_label_credit_account,\"error\":Boolean(_vm.cru_error_credit_account),\"readonly\":!['', null, undefined].includes(_vm.actual_credit_account),\"num_digits\":_vm.currentCompany.companydb_type.params && (_vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') || _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length')) ? false : _vm.currentCompany.num_digits,\"enable_account_types\":_vm.feature_account_type_innuva && !_vm.supplier,\"account_types\":_vm.account_types},model:{value:(_vm.cru_credit_account),callback:function ($$v) {_vm.cru_credit_account=$$v},expression:\"cru_credit_account\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_alias,\"error\":Boolean(_vm.cru_error_alias),\"error-messages\":_vm.cru_error_alias,\"append-icon\":!!_vm.name? 'mdi-lightbulb' : '',\"append-icon-tooltip-text\":!!_vm.name ? 'Obtener Nombre Comercial detectado en la factura' : ''},on:{\"click:append\":function($event){_vm.cru_alias = _vm.name}},model:{value:(_vm.cru_alias),callback:function ($$v) {_vm.cru_alias=$$v},expression:\"cru_alias\"}})],1),(_vm.got_feature('feature_identity_key'))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_identity_key,\"items\":_vm.identity_keys,\"readonly\":false,\"error\":Boolean(_vm.cru_error_identity_key),\"error-messages\":_vm.cru_error_identity_key},model:{value:(_vm.cru_identity_key),callback:function ($$v) {_vm.cru_identity_key=$$v},expression:\"cru_identity_key\"}})],1):_vm._e(),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_address,\"error\":Boolean(_vm.cru_error_address),\"error-messages\":_vm.cru_error_address},model:{value:(_vm.cru_address),callback:function ($$v) {_vm.cru_address=$$v},expression:\"cru_address\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_zip_code,\"error\":Boolean(_vm.cru_error_zip_code),\"error-messages\":_vm.cru_error_zip_code},model:{value:(_vm.cru_zip_code),callback:function ($$v) {_vm.cru_zip_code=$$v},expression:\"cru_zip_code\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_city,\"error\":Boolean(_vm.cru_error_city),\"error-messages\":_vm.cru_error_city},model:{value:(_vm.cru_city),callback:function ($$v) {_vm.cru_city=$$v},expression:\"cru_city\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_province,\"error\":Boolean(_vm.cru_error_province),\"error-messages\":_vm.cru_error_province},model:{value:(_vm.cru_province),callback:function ($$v) {_vm.cru_province=$$v},expression:\"cru_province\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_country,\"items\":_vm.autocompleteCountryItems,\"error\":Boolean(_vm.cru_error_country),\"error-messages\":_vm.cru_error_country},model:{value:(_vm.cru_country),callback:function ($$v) {_vm.cru_country=$$v},expression:\"cru_country\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_email,\"error\":Boolean(_vm.cru_error_email),\"error-messages\":_vm.cru_error_email},model:{value:(_vm.cru_email),callback:function ($$v) {_vm.cru_email=$$v},expression:\"cru_email\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_phone,\"error\":Boolean(_vm.cru_error_phone),\"error-messages\":_vm.cru_error_phone},model:{value:(_vm.cru_phone),callback:function ($$v) {_vm.cru_phone=$$v},expression:\"cru_phone\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_website,\"error\":Boolean(_vm.cru_error_website),\"error-messages\":_vm.cru_error_website},model:{value:(_vm.cru_website),callback:function ($$v) {_vm.cru_website=$$v},expression:\"cru_website\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"8\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_notes,\"error\":Boolean(_vm.cru_error_notes),\"error-messages\":_vm.cru_error_notes},model:{value:(_vm.cru_notes),callback:function ($$v) {_vm.cru_notes=$$v},expression:\"cru_notes\"}})],1)],1)],1),_c('v-tab-item',{key:\"parameters\",staticClass:\"ma-0 pa-0\"},[_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"label\":_vm.cru_label_expens_accounts,\"error\":Boolean(_vm.cru_error_expens_accounts),\"error-messages\":_vm.cru_error_expens_accounts,\"is_array\":true,\"max_length_account\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length') ? _vm.currentCompany.companydb_type.params['accounts_max_length'] : false,\"num_digits\":_vm.currentCompany.companydb_type.params && (_vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') || _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length')) ? false : _vm.currentCompany.num_digits,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(_vm.cru_expens_accounts),callback:function ($$v) {_vm.cru_expens_accounts=$$v},expression:\"cru_expens_accounts\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":_vm.$vuetify.breakpoint.mdAndDown,\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input\",attrs:{\"autocomplete\":\"off\",\"disabled\":!_vm.feature_payment_move,\"label\":_vm.cru_label_automatic_payment_account,\"items\":_vm.automaticPaymentAccountTypes,\"readonly\":false,\"error\":Boolean(_vm.cru_error_automatic_payment_account),\"error-messages\":_vm.cru_error_automatic_payment_account},model:{value:(_vm.cru_automatic_payment_account),callback:function ($$v) {_vm.cru_automatic_payment_account=$$v},expression:\"cru_automatic_payment_account\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":_vm.$vuetify.breakpoint.mdAndDown,\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"dense\":\"\",\"kind\":\"account\",\"disabled\":!_vm.feature_payment_move || (_vm.cru_automatic_payment_account && _vm.cru_automatic_payment_account != 'y'),\"label\":_vm.cru_label_payment_account,\"hint\":\"Únicamente aplica cuando la opción 'Sí' está activa\",\"error\":Boolean(_vm.cru_error_payment_account),\"error-messages\":_vm.cru_error_payment_account,\"num_digits\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_payment_account),callback:function ($$v) {_vm.cru_payment_account=$$v},expression:\"cru_payment_account\"}})],1)],1),(_vm.showRefAccountDetailLocal)?_c('app-row',{style:(_vm.refAccountsStyle),attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"6\"}},[_c('DetailReferenceAccounts',{attrs:{\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"accounts\":_vm.cru_ref_expens_accounts,\"error\":_vm.errorInRefAccounts,\"max_length_account\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length') ? _vm.currentCompany.companydb_type.params['accounts_max_length'] : false,\"num_digits\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') ? false : _vm.currentCompany.num_digits,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"update\":_vm.updateRefExpensAccounts,\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems}})],1)],1):_vm._e(),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_retention_type,\"items\":_vm.filtered_retention_types,\"readonly\":false,\"error\":Boolean(_vm.cru_error_retention_type),\"error-messages\":_vm.cru_error_retention_type},model:{value:(_vm.cru_retention_type),callback:function ($$v) {_vm.cru_retention_type=$$v},expression:\"cru_retention_type\"}})],1),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_expense_income_type)?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"outlined\":\"\",\"clearable\":true,\"autocomplete\":\"off\",\"label\":_vm.cru_label_expens_income_type,\"items\":_vm.getExpensType,\"item-text\":\"name\",\"item-value\":\"eit_id\",\"readonly\":false},model:{value:(_vm.cru_default_expens_income_type),callback:function ($$v) {_vm.cru_default_expens_income_type=$$v},expression:\"cru_default_expens_income_type\"}})],1):_vm._e(),(_vm.feature_cadastral_reference && _vm.cru_retention_type=='retention_rental_account')?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"string\",\"label\":_vm.cru_label_cadastral_reference},model:{value:(_vm.cru_cadastral_reference),callback:function ($$v) {_vm.cru_cadastral_reference=$$v},expression:\"cru_cadastral_reference\"}})],1):_vm._e(),(_vm.feature_building_code && _vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params['show'] && _vm.currentCompany.companydb_type.params['show'].includes('building_code'))?_c('app-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\",\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_building_code},on:{\"change\":function($event){_vm.areParamsChanged=true}},model:{value:(_vm.cru_building_code),callback:function ($$v) {_vm.cru_building_code=$$v},expression:\"cru_building_code\"}})],1):_vm._e()],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[(_vm.got_feature('feature_assign_fiscal_location'))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_fiscal_location,\"items\":_vm.fiscal_locations,\"readonly\":false,\"error\":Boolean(_vm.cru_error_fiscal_location),\"error-messages\":_vm.cru_error_fiscal_location},model:{value:(_vm.cru_fiscal_location),callback:function ($$v) {_vm.cru_fiscal_location=$$v},expression:\"cru_fiscal_location\"}})],1):_vm._e()],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-select',{staticClass:\"autocomplete-input\",attrs:{\"disabled\":!_vm.feature_decimal_separator,\"items\":_vm.decimal_separator_choices,\"label\":_vm.cru_label_decimal_separator},model:{value:(_vm.cru_decimal_separator),callback:function ($$v) {_vm.cru_decimal_separator=$$v},expression:\"cru_decimal_separator\"}})],1),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_description_sii)?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-select',{attrs:{\"outlined\":\"\",\"items\":[\n { 'text': 'Descripción Factura', 'value': 'descr_factura' },\n { 'text': 'Valor Fijo', 'value': 'valor_fijo' }\n ],\"label\":_vm.cru_label_description_sii},on:{\"change\":function($event){return _vm.changeDescriptionSII()}},model:{value:(_vm.cru_description_sii),callback:function ($$v) {_vm.cru_description_sii=$$v},expression:\"cru_description_sii\"}})],1):_vm._e(),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_description_sii)?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"disabled\":_vm.cru_description_sii != 'valor_fijo',\"kind\":\"text\",\"label\":_vm.cru_label_fixed_value,\"error\":Boolean(_vm.cru_error_fixed_value),\"error-messages\":_vm.cru_error_fixed_value},model:{value:(_vm.cru_fixed_value),callback:function ($$v) {_vm.cru_fixed_value=$$v},expression:\"cru_fixed_value\"}})],1):_vm._e()],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_auto_fill_due_date,\"disabled\":!_vm.feature_can_auto_fill_due_date,\"items\":[{'text': 'N/A', 'value': 'na'}, {'text': 'Si', 'value': 'y'}, {'text': 'No', 'value': 'n'}],\"readonly\":false,\"error\":Boolean(_vm.cru_error_auto_fill_due_date),\"error-messages\":_vm.cru_error_auto_fill_due_date},model:{value:(_vm.cru_auto_fill_due_date),callback:function ($$v) {_vm.cru_auto_fill_due_date=$$v},expression:\"cru_auto_fill_due_date\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"number\",\"disabled\":!_vm.feature_price_range,\"label\":_vm.cru_label_min_price,\"error\":Boolean(_vm.cru_error_min_price)},model:{value:(_vm.cru_min_price),callback:function ($$v) {_vm.cru_min_price=$$v},expression:\"cru_min_price\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"number\",\"disabled\":!_vm.feature_price_range,\"label\":_vm.cru_label_max_price,\"error\":Boolean(_vm.cru_error_max_price)},model:{value:(_vm.cru_max_price),callback:function ($$v) {_vm.cru_max_price=$$v},expression:\"cru_max_price\"}})],1)],1),_c('app-row',[(_vm.got_feature('feature_actividad_selector') && _vm.activities.length > 0 && (_vm.currentCompany && !_vm.currentCompany.hide_activities_master))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{attrs:{\"label\":_vm.cru_label_default_actividad,\"items\":_vm.activities,\"item-value\":\"code\",\"item-text\":\"name\",\"clearable\":true},model:{value:(_vm.cru_default_actividad),callback:function ($$v) {_vm.cru_default_actividad=$$v},expression:\"cru_default_actividad\"}})],1):(_vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"string\",\"label\":_vm.cru_label_default_actividad},model:{value:(_vm.cru_default_actividad),callback:function ($$v) {_vm.cru_default_actividad=$$v},expression:\"cru_default_actividad\"}})],1):_vm._e(),(_vm.got_feature('feature_default_project_channel_in_third') && _vm.got_feature('feature_document_projects') && (_vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.show && _vm.currentCompany.companydb_type.params.show.includes('project') && !_vm.currentCompany.hide_projects_master))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{attrs:{\"label\":_vm.cru_label_default_project,\"items\":_vm.projects,\"item-value\":\"id\",\"item-text\":\"name\",\"clearable\":true},model:{value:(_vm.cru_default_project),callback:function ($$v) {_vm.cru_default_project=$$v},expression:\"cru_default_project\"}})],1):_vm._e(),(_vm.got_feature('feature_default_project_channel_in_third') && _vm.got_feature('feature_channel') && (_vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.show && _vm.currentCompany.companydb_type.params.show.includes('channel') && !_vm.currentCompany.hide_channels_master))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{attrs:{\"label\":_vm.cru_label_default_channel,\"items\":_vm.channels,\"item-value\":\"channel_id\",\"item-text\":\"name\",\"clearable\":true},model:{value:(_vm.cru_default_channel),callback:function ($$v) {_vm.cru_default_channel=$$v},expression:\"cru_default_channel\"}})],1):_vm._e(),(_vm.feature_payment_method && _vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.show && _vm.currentCompany.companydb_type.params.show.includes('payment_method'))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-text-field',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_payment_method,\"error\":Boolean(_vm.cru_error_payment_method),\"error-messages\":_vm.cru_error_payment_method},model:{value:(_vm.cru_payment_method),callback:function ($$v) {_vm.cru_payment_method=$$v},expression:\"cru_payment_method\"}})],1):_vm._e(),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"disabled\":!_vm.showSuplidoAccount(),\"autocomplete\":\"off\",\"label\":_vm.cru_label_suplido_account,\"kind\":\"account\",\"num_digits\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_suplido_account),callback:function ($$v) {_vm.cru_suplido_account=$$v},expression:\"cru_suplido_account\"}})],1)],1),_c('app-row',[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[(_vm.got_feature('feature_retention_accounts_supplier'))?_c('app-doc-text-field',{attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_retention_professional_account,\"kind\":\"account\",\"num_digits\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_retention_professional_account),callback:function ($$v) {_vm.cru_retention_professional_account=$$v},expression:\"cru_retention_professional_account\"}}):_vm._e()],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[(_vm.got_feature('feature_retention_accounts_supplier'))?_c('app-doc-text-field',{attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_retention_rental_account,\"kind\":\"account\",\"num_digits\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_retention_rental_account),callback:function ($$v) {_vm.cru_retention_rental_account=$$v},expression:\"cru_retention_rental_account\"}}):_vm._e()],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-select',{attrs:{\"items\":[\n {'text': 'N/A', 'value': ''},\n {'text': 'Mantener todos los caracteres', 'value': 'no_cut'},\n {'text': 'Mantener los primeros caracteres', 'value': 'cut_first'},\n {'text': 'Mantener los últimos caracteres', 'value': 'cut_last'}\n ],\"label\":_vm.cru_label_cut_inv_num},model:{value:(_vm.cru_cut_inv_num),callback:function ($$v) {_vm.cru_cut_inv_num=$$v},expression:\"cru_cut_inv_num\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-text-field',{attrs:{\"disabled\":!(_vm.cru_cut_inv_num && _vm.cru_cut_inv_num != 'no_cut'),\"label\":_vm.cru_label_num_chars_inv_num,\"autocomplete\":\"off\",\"error\":Boolean(_vm.cru_error_num_chars_inv_num),\"error-messages\":_vm.cru_error_num_chars_inv_num},model:{value:(_vm.cru_num_chars_inv_num),callback:function ($$v) {_vm.cru_num_chars_inv_num=$$v},expression:\"cru_num_chars_inv_num\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-select',{attrs:{\"autocomplete\":\"off\",\"disabled\":!(_vm.cru_cut_inv_num && _vm.cru_cut_inv_num != 'no_cut'),\"label\":_vm.cru_label_chars_to_exclude,\"items\":[{'name':'Guión','value':'-'},\n {'name':'Punto','value':'.'},\n {'name':'Coma','value':','},\n {'name':'Dos puntos','value':':'},\n {'name':'Punto y coma','value':';'},\n {'name': 'Barra', 'value': '/'},\n {'name': 'Contrabarra', 'value': '\\\\'},\n {'name': 'Almohadilla', 'value': '#'},\n {'name':'Letras','value':'letters'},\n {'name':'Espacio en blanco','value':'whitespace'}],\"item-text\":\"name\",\"item-value\":\"value\",\"multiple\":\"\",\"clearable\":\"\"},model:{value:(_vm.cru_chars_to_exclude),callback:function ($$v) {_vm.cru_chars_to_exclude=$$v},expression:\"cru_chars_to_exclude\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[(_vm.feature_bien_inversion && !_vm.hideBienInversionAccount && (_vm.isNotDesgloseDeCuentas() || _vm.isRegularSupplierAccountType))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"account\",\"label\":_vm.cru_label_expens_account_bien_inversion,\"error\":Boolean(_vm.cru_error_expens_account_bien_inversion),\"max_length_account\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length') ? _vm.currentCompany.companydb_type.params['accounts_max_length'] : false,\"num_digits\":_vm.currentCompany.companydb_type.params && (_vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') || _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length')) ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_expens_account_bien_inversion),callback:function ($$v) {_vm.cru_expens_account_bien_inversion=$$v},expression:\"cru_expens_account_bien_inversion\"}})],1):_vm._e(),(_vm.got_feature('feature_serie_in_docs'))?[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('v-checkbox',{attrs:{\"label\":_vm.cru_label_have_serie},model:{value:(_vm.cru_have_serie),callback:function ($$v) {_vm.cru_have_serie=$$v},expression:\"cru_have_serie\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-combobox',{attrs:{\"disabled\":!_vm.cru_have_serie,\"label\":_vm.cru_label_series,\"items\":[],\"multiple\":\"\",\"small-chips\":\"\"},model:{value:(_vm.cru_series),callback:function ($$v) {_vm.cru_series=$$v},expression:\"cru_series\"}})],1)]:_vm._e()],2),(_vm.got_feature('feature_other_documents') && _vm.cru_data)?_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-select',{attrs:{\"label\":\"Workflow post-contabilización\",\"item-value\":\"id\",\"item-text\":\"name\",\"items\":_vm.workflowOptions,\"outlined\":\"\",\"name\":\"selectorWorkflow\"},model:{value:(_vm.cru_data['after_done_wf']),callback:function ($$v) {_vm.$set(_vm.cru_data, 'after_done_wf', $$v)},expression:\"cru_data['after_done_wf']\"}})],1)],1):_vm._e(),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[(_vm.got_feature('feature_ignore_cif_validation'))?_c('app-col',{staticClass:\"checkbox-col\",attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('v-checkbox',{attrs:{\"label\":_vm.cru_label_ignore_cif_validation},model:{value:(_vm.cru_ignore_cif_validation),callback:function ($$v) {_vm.cru_ignore_cif_validation=$$v},expression:\"cru_ignore_cif_validation\"}})],1):_vm._e()],1),_c('app-row',[_c('app-col',{attrs:{\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"6\"}},[_c('app-creation-object-section-card',{scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('span',{staticClass:\"mx-4\"},[_vm._v(\"Posición fiscal\")])]},proxy:true}],null,false,3075812012)},[_c('v-container',[_c('v-row',{staticClass:\"ma-0 pa-0\"},[_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_inversion_sujeto_pasivo_iva,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('inversion_sujeto_pasivo_iva')}},model:{value:(_vm.cru_inversion_sujeto_pasivo_iva),callback:function ($$v) {_vm.cru_inversion_sujeto_pasivo_iva=$$v},expression:\"cru_inversion_sujeto_pasivo_iva\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_inversion_sujeto_pasivo_igic,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('inversion_sujeto_pasivo_igic')}},model:{value:(_vm.cru_inversion_sujeto_pasivo_igic),callback:function ($$v) {_vm.cru_inversion_sujeto_pasivo_igic=$$v},expression:\"cru_inversion_sujeto_pasivo_igic\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_intracomunitario,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('intracomunitario')}},model:{value:(_vm.cru_intracomunitario),callback:function ($$v) {_vm.cru_intracomunitario=$$v},expression:\"cru_intracomunitario\"}})],1),(_vm.got_feature('feature_supplier_comerciante_minorista') && _vm.currentCompany.tax_type == 'igic')?_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_is_comerciante_minorista,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('is_comerciante_minorista')}},model:{value:(_vm.cru_is_comerciante_minorista),callback:function ($$v) {_vm.cru_is_comerciante_minorista=$$v},expression:\"cru_is_comerciante_minorista\"}})],1):_vm._e(),(_vm.feature_no_sujeta || _vm.got_feature('feature_exenta_no_sujeta'))?_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_no_sujeta,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('no_sujeta')}},model:{value:(_vm.cru_no_sujeta),callback:function ($$v) {_vm.cru_no_sujeta=$$v},expression:\"cru_no_sujeta\"}})],1):_vm._e(),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"disabled\":!_vm.got_feature('feature_exenta_no_sujeta'),\"autocomplete\":\"off\",\"label\":_vm.cru_label_dry_0_percent,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('dry_0_percent')}},model:{value:(_vm.cru_dry_0_percent),callback:function ($$v) {_vm.cru_dry_0_percent=$$v},expression:\"cru_dry_0_percent\"}})],1),(_vm.feature_criterio_de_caja)?_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_criterio_de_caja,\"readonly\":false,\"hide-details\":true},model:{value:(_vm.cru_criterio_de_caja),callback:function ($$v) {_vm.cru_criterio_de_caja=$$v},expression:\"cru_criterio_de_caja\"}})],1):_vm._e()],1),(_vm.feature_no_sujeta && _vm.feature_no_sujeta_reference && !_vm.cru_no_sujeta)?_c('v-row',{staticClass:\"ma-0 pa-0\",staticStyle:{\"margin-top\":\"-2vh\"}},[_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\"}},[_c('DetailReferenceSimple',{attrs:{\"ref_list\":_vm.cru_refs_no_sujeta},on:{\"update\":_vm.updateRefNoSujeta}})],1)],1):_vm._e(),_c('v-row',{staticClass:\"ma-0 pa-0 mt-4\"},[(_vm.cru_inversion_sujeto_pasivo_iva)?_c('v-col',{staticClass:\"pa-0 ma-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_percent,\"items\":_vm.iva_values,\"readonly\":false,\"background-color\":Boolean(_vm.cru_error_inversion_sujeto_pasivo_iva_percent)?'#ff9898':'#ffffff'},on:{\"change\":function($event){_vm.areParamsChanged=true}},model:{value:(_vm.cru_inversion_sujeto_pasivo_iva_percent),callback:function ($$v) {_vm.cru_inversion_sujeto_pasivo_iva_percent=$$v},expression:\"cru_inversion_sujeto_pasivo_iva_percent\"}})],1):_vm._e(),(_vm.cru_inversion_sujeto_pasivo_igic)?_c('v-col',{staticClass:\"pa-0 ma-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_percent,\"items\":_vm.igic_values,\"readonly\":false,\"background-color\":Boolean(_vm.cru_error_inversion_sujeto_pasivo_igic_percent)?'#ff9898':'#ffffff'},on:{\"change\":function($event){_vm.areParamsChanged=true}},model:{value:(_vm.cru_inversion_sujeto_pasivo_igic_percent),callback:function ($$v) {_vm.cru_inversion_sujeto_pasivo_igic_percent=$$v},expression:\"cru_inversion_sujeto_pasivo_igic_percent\"}})],1):_vm._e(),((_vm.cru_intracomunitario && _vm.feature_intra_type) || (_vm.cru_extracomunitario && _vm.feature_extra_type))?_c('v-col',{staticClass:\"pa-0 ma-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_intracomunitario_type,\"items\":[{text: 'Bienes', value: 'bienes'}, {text: 'Servicios', value: 'servicios'}],\"readonly\":false,\"background-color\":Boolean(_vm.cru_error_intracomunitario_type)?'#ff9898':'#ffffff'},on:{\"change\":function($event){_vm.areParamsChanged=true}},model:{value:(_vm.cru_intracomunitario_type),callback:function ($$v) {_vm.cru_intracomunitario_type=$$v},expression:\"cru_intracomunitario_type\"}})],1):_vm._e(),(_vm.cru_intracomunitario)?_c('v-col',{staticClass:\"pa-0 ma-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_percent,\"items\":_vm.intra_values,\"readonly\":false,\"background-color\":Boolean(_vm.cru_error_intracomunitario_percent)?'#ff9898':'#ffffff'},on:{\"change\":function($event){_vm.areParamsChanged=true}},model:{value:(_vm.cru_intracomunitario_percent),callback:function ($$v) {_vm.cru_intracomunitario_percent=$$v},expression:\"cru_intracomunitario_percent\"}})],1):_vm._e(),(_vm.cru_is_comerciante_minorista)?_c('v-col',{staticClass:\"pa-0 ma-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_percent,\"items\":_vm.igic_values,\"readonly\":false,\"background-color\":Boolean(_vm.cru_is_comerciante_minorista_percent)?'#ff9898':'#ffffff'},on:{\"change\":function($event){_vm.areParamsChanged=true}},model:{value:(_vm.cru_is_comerciante_minorista_percent),callback:function ($$v) {_vm.cru_is_comerciante_minorista_percent=$$v},expression:\"cru_is_comerciante_minorista_percent\"}})],1):_vm._e()],1)],1)],1)],1),_c('app-col',{attrs:{\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"6\"}},[_c('app-creation-object-section-card',{scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('span',{staticClass:\"mx-4\"},[_vm._v(\"Deducibilidad\")])]},proxy:true}],null,false,1660206073)},[_c('v-container',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"hide-details\":\"\",\"mandatory\":false},on:{\"change\":function($event){_vm.areIvaChecksChanged=true}},model:{value:(_vm.selectedIvaCheck),callback:function ($$v) {_vm.selectedIvaCheck=$$v},expression:\"selectedIvaCheck\"}},[_c('v-row',{staticClass:\"ma-0 pa-0\",attrs:{\"align\":\"center\"}},[_c('v-col',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"cols\":\"12\",\"lg\":\"6\"},on:{\"click\":_vm.toggleIvaCheck}},[_c('v-radio',{attrs:{\"value\":\"iva_igic_no_deducible\",\"label\":_vm.cru_label_iva_igic_no_deducible}})],1),(_vm.feature_gasto_iva_parcial)?_c('v-col',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"cols\":\"12\",\"lg\":\"6\"},on:{\"click\":_vm.toggleIvaCheck}},[_c('v-radio',{attrs:{\"value\":\"gasto_iva_parcial\",\"label\":_vm.cru_label_gasto_iva_parcial}})],1):_vm._e(),(_vm.feature_iva_deducible_parcialmente)?_c('v-col',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"cols\":\"12\",\"lg\":\"6\"},on:{\"click\":_vm.toggleIvaCheck}},[_c('v-radio',{attrs:{\"value\":\"iva_parcial\",\"label\":_vm.cru_label_iva_parcial}})],1):_vm._e(),(_vm.feature_prorate && _vm.currentCompany.prorate)?_c('v-col',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"cols\":\"12\",\"lg\":\"6\"},on:{\"click\":_vm.toggleIvaCheck}},[_c('v-radio',{attrs:{\"value\":\"prorate\",\"label\":_vm.cru_label_prorate}})],1):_vm._e()],1)],1),(_vm.got_feature('feature_no_deducible_accounts') && _vm.selectedIvaCheck=='gasto_iva_parcial')?_c('v-row',{staticClass:\"ma-0 pa-0 mt-4\"},[_c('v-col',{staticClass:\"ma-0 pa-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"6\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"account\",\"label\":_vm.cru_label_gasto_no_deducible_account,\"error\":Boolean(_vm.cru_error_gasto_no_deducible_account),\"max_length_account\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length') ? _vm.currentCompany.companydb_type.params['accounts_max_length'] : false,\"num_digits\":_vm.currentCompany.companydb_type.params && (_vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') || _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length')) ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_gasto_no_deducible_account),callback:function ($$v) {_vm.cru_gasto_no_deducible_account=$$v},expression:\"cru_gasto_no_deducible_account\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"6\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"account\",\"label\":_vm.cru_label_iva_no_deducible_account,\"error\":Boolean(_vm.cru_error_iva_no_deducible_account),\"max_length_account\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length') ? _vm.currentCompany.companydb_type.params['accounts_max_length'] : false,\"num_digits\":_vm.currentCompany.companydb_type.params && (_vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') || _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length')) ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_iva_no_deducible_account),callback:function ($$v) {_vm.cru_iva_no_deducible_account=$$v},expression:\"cru_iva_no_deducible_account\"}})],1)],1):_vm._e(),_c('v-row',{staticClass:\"ma-0 pa-0 mt-4\"},[(_vm.selectedIvaCheck=='gasto_iva_parcial' || _vm.selectedIvaCheck=='iva_parcial')?_c('v-col',{staticClass:\"ma-0 pa-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"6\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"number\",\"label\":_vm.cru_label_gasto_iva_percent,\"error\":Boolean(_vm.cru_error_gasto_iva_percent)},on:{\"change\":function($event){_vm.areIvaChecksChanged=true}},model:{value:(_vm.cru_gasto_iva_percent),callback:function ($$v) {_vm.cru_gasto_iva_percent=$$v},expression:\"cru_gasto_iva_percent\"}})],1):_vm._e(),(_vm.got_feature('feature_exc_expense_account') && _vm.selectedIvaCheck=='iva_parcial')?_c('v-col',{staticClass:\"ma-0 pa-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"6\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"account\",\"label\":_vm.cru_label_exc_expense_account,\"error\":Boolean(_vm.cru_error_exc_expense_account),\"max_length_account\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length') ? _vm.currentCompany.companydb_type.params['accounts_max_length'] : false,\"num_digits\":_vm.currentCompany.companydb_type.params && (_vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') || _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length')) ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_exc_expense_account),callback:function ($$v) {_vm.cru_exc_expense_account=$$v},expression:\"cru_exc_expense_account\"}})],1):_vm._e(),(_vm.selectedIvaCheck=='iva_igic_no_deducible' && _vm.got_feature('feature_comerciante_minorista') && _vm.currentCompany.companydb_type.params && ((!_vm.currentCompany.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentCompany.companydb_type.params.hide && !_vm.currentCompany.companydb_type.params.hide.includes('comerciante_minorista'))))?_c('v-col',{staticClass:\"ma-0 pa-0 pr-4\",attrs:{\"cols\":\"12\",\"lg\":\"6\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_register_iva_igic_0,\"readonly\":false,\"hide-details\":true},model:{value:(_vm.cru_register_iva_igic_0),callback:function ($$v) {_vm.cru_register_iva_igic_0=$$v},expression:\"cru_register_iva_igic_0\"}})],1):_vm._e()],1)],1)],1)],1)],1)],1)],1)]},proxy:true}:null],null,true)}),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"800\"},model:{value:(_vm.showAdditionalInfo),callback:function ($$v) {_vm.showAdditionalInfo=$$v},expression:\"showAdditionalInfo\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_c('span',{staticClass:\"text-h5 primary--text py-1 ml-2\"},[_vm._v(\"Datos ampliados\")])]),_c('v-divider'),_c('v-card-text',[(_vm.cru_type=='fisica')?[_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\"}},[_c('app-text-field',{attrs:{\"label\":\"Nombre\",\"type\":\"text\"},model:{value:(_vm.cru_first_name),callback:function ($$v) {_vm.cru_first_name=$$v},expression:\"cru_first_name\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\"}},[_c('app-text-field',{attrs:{\"label\":\"Primer Apellido\",\"type\":\"text\"},model:{value:(_vm.cru_first_surname),callback:function ($$v) {_vm.cru_first_surname=$$v},expression:\"cru_first_surname\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\"}},[_c('app-text-field',{attrs:{\"label\":\"Segundo Apellido\",\"type\":\"text\"},model:{value:(_vm.cru_second_surname),callback:function ($$v) {_vm.cru_second_surname=$$v},expression:\"cru_second_surname\"}})],1)],1)]:_vm._e(),(_vm.cru_type=='juridica')?[_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_alias,\"type\":\"text\"},model:{value:(_vm.cru_alias),callback:function ($$v) {_vm.cru_alias=$$v},expression:\"cru_alias\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_dire,\"type\":\"text\"},model:{value:(_vm.cru_dire),callback:function ($$v) {_vm.cru_dire=$$v},expression:\"cru_dire\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_accounting_office,\"type\":\"text\"},model:{value:(_vm.cru_accounting_office),callback:function ($$v) {_vm.cru_accounting_office=$$v},expression:\"cru_accounting_office\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_management_body,\"type\":\"text\"},model:{value:(_vm.cru_management_body),callback:function ($$v) {_vm.cru_management_body=$$v},expression:\"cru_management_body\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_processing_unit,\"type\":\"text\"},model:{value:(_vm.cru_processing_unit),callback:function ($$v) {_vm.cru_processing_unit=$$v},expression:\"cru_processing_unit\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_proposing_body,\"type\":\"text\"},model:{value:(_vm.cru_proposing_body),callback:function ($$v) {_vm.cru_proposing_body=$$v},expression:\"cru_proposing_body\"}})],1)],1)]:_vm._e()],2),_c('v-card-actions',{staticClass:\"pr-8\"},[_c('v-spacer'),_c('app-btn',{attrs:{\"outlined\":\"\"},on:{\"click\":function($event){_vm.showAdditionalInfo=false}}},[_vm._v(\"Cancelar\")]),_c('app-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.updateWithAdditionalInfo}},[_vm._v(\"\\n Guardar\\n \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateSupplier.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateSupplier.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CreateSupplier.vue?vue&type=template&id=7b75284e&scoped=true&\"\nimport script from \"./CreateSupplier.vue?vue&type=script&lang=js&\"\nexport * from \"./CreateSupplier.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CreateSupplier.vue?vue&type=style&index=0&id=7b75284e&scoped=true&lang=css&\"\nimport style1 from \"./CreateSupplier.vue?vue&type=style&index=1&id=7b75284e&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 \"7b75284e\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCheckbox,VCol,VContainer,VDialog,VDivider,VExpandTransition,VIcon,VRadio,VRadioGroup,VRow,VSpacer,VTab,VTabItem,VTabs,VTabsItems,VTooltip})\n","export function isValidConcept(str) {\n const regex = /^[a-zA-Z0-9]{1,}$/; // Comprueba que solo haya letras y números\n \n return regex.test(str);\n}\n\nexport function isValidConceptMaxDigits(str, maxDigits) {\n const regexDigits = new RegExp(`^[a-zA-Z0-9]{1,${maxDigits}}$`); // Comprueba que la cadena no exceda el número máximo de digitos\n \n return isValidConcept(str) && regexDigits.test(str);\n}","module.exports = __webpack_public_path__ + \"img/btn-eye.aa35b6a4.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./InvoiceLines.vue?vue&type=style&index=1&id=6c4a8b52&lang=scss&scoped=true&\"","import { Invoiceable, InvoiceLine, Tax, Party , ExtraAmount, RectificativeInfo, Invoice, Budget, DeliveryNote, RecInv} from \"@/modules/facturae/domain/Invoiceable\";\nimport { InvoiceableRepository } from \"@/modules/facturae/domain/InvoiceableRepository\";\nimport { CommandDispatcher } from \"@/modules/shared/domain/CommandDispatcher\";\nimport { QueryDispatcher } from \"@/modules/shared/domain/QueryDispatcher\";\nimport { query_dispatcher_get, sync_command_dispatcher, async_command_dispatcher } from \"@/api/client\";\nimport axios from \"axios\";\nimport { EmailTemplate } from \"../domain/Configuration\";\n\nexport function objectToDict(obj: any): Record {\n const dict: Record = {};\n\n for (const key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n const value = obj[key];\n if (typeof value === 'object' && value !== null && !Array.isArray(value)) {\n // Recursively convert nested object\n dict[key] = objectToDict(value);\n } else {\n dict[key] = value;\n }\n }\n }\n\n return dict;\n}\n\nexport function dataToLines(data): InvoiceLine[] {\n let lines = []\n if (data.invoice_lines) {\n lines = data.invoice_lines.map(line => \n new InvoiceLine(\n line.description, \n line.quantity, \n line.unit_price_without_tax, \n line.total_cost, \n line.gross_amount, \n line.taxes.map(tax => new Tax(tax.rate, tax.base, tax.amount, tax.recargo_rate, tax.recargo_amount)),\n line.taxes_withheld.map(tax => new Tax(tax.rate, tax.base, tax.amount)), \n line.id, \n null, \n null, \n null, \n line.product_code, \n null, \n line.special_taxable_event,\n line.additional_information,\n line.discounts.map(d => new ExtraAmount(d.reason, d.amount, d.rate))\n )\n );\n for(let line in lines){\n lines[line].selected_retention = 'na'\n if (lines[line].taxes_withheld.length > 0){\n lines[line].selected_retention = lines[line].taxes_withheld[0].rate //autocomplete selected retention\n }\n lines[line].selected_tax = lines[line].taxes[0].rate //autocomplete selected tax\n if (lines[line].taxes[0].recargo_rate){\n lines[line].selected_tax = lines[line].taxes[0].recargo_rate\n }\n lines[line].selected_tax_event = 'N/A'\n if (lines[line].special_taxable_event){\n let code = lines[line].special_taxable_event.code\n if (code == '01'){\n if (lines[line].special_taxable_event.reason.includes('sujeto pasivo')){\n lines[line].selected_tax_event = 'ISP'\n }\n else if(lines[line].special_taxable_event.reason.includes('intracomunitaria')){\n lines[line].selected_tax_event = 'INTRA.'\n }\n else if(lines[line].special_taxable_event.reason.includes('exportaci')){\n lines[line].selected_tax_event = 'EXPORT.'\n }\n else if(lines[line].special_taxable_event.reason.includes('exent')){\n lines[line].selected_tax_event = 'EX'\n }\n }\n else if (code == '02'){\n lines[line].selected_tax_event = 'NS'\n }\n }\n }\n lines.sort((a, b) => {\n if (a.id === undefined && b.id === undefined) return 0; // Ambos no tienen ID, no cambiar su orden\n if (a.id === undefined) return 1; // 'a' no tiene ID, mover al final\n if (b.id === undefined) return -1; // 'b' no tiene ID, mover al final\n return a.id - b.id; // Ambos tienen ID, ordenar por ID\n });\n }\n return lines\n}\n\nexport function dataToParty(data:any, customer:boolean): Party {\n let party = new Party(\n data.id,\n data.company_id,\n data.cif,\n data.post_code,\n data.type,\n data.name,\n data.first_surname,\n data.second_surname,\n data.business_name,\n data.trade_name,\n data.address,\n data.city,\n data.province,\n data.email,\n data.phone,\n data.website,\n null,\n null,\n null,\n null,\n data.bank_account_number,\n data.bic\n )\n if (customer) {\n party.DIRe = data.DIRe\n party.accounting_office = data.accounting_office\n party.management_body = data.management_body\n party.processing_unit = data.processing_unit\n party.proposing_body = data.proposing_body\n party.mandate_id = data.mandate_id\n party.mandate_signature_date = data.mandate_signature_date\n }\n return party\n}\n\nexport class ApiInvoiceableRepository implements InvoiceableRepository {\n\n command_dispatcher: CommandDispatcher\n query_dispatcher: QueryDispatcher\n async_command_dispatcher: CommandDispatcher\n constructor() {\n this.command_dispatcher = sync_command_dispatcher\n this.query_dispatcher = query_dispatcher_get\n this.async_command_dispatcher = async_command_dispatcher\n }\n // tax(rate: number, base: number, amount: number) {\n // line(description: string, quantity: number, unit_price_without_tax: number, total_cost: number, gross_amount: number, taxes: Tax[], id?: number) {\n // inv(id: number, total_amount: number, invoice_lines: InvoiceLine[], other_amounts?: number) {\n api_to_domain(inv_data) {\n let lines = dataToLines(inv_data)\n let discounts = []\n if (inv_data.general_discounts){\n discounts = inv_data.general_discounts.map(discount => new ExtraAmount(discount.reason, discount.amount, discount.rate))\n }\n let supplier = null\n if (inv_data.supplier) {\n supplier = dataToParty(inv_data.supplier, false)\n }\n let customer = null\n if (inv_data.customer) {\n customer = dataToParty(inv_data.customer, true)\n }\n\n if (inv_data.type == 'budget') {\n return new Budget(\n inv_data.id,\n inv_data.company_id,\n inv_data.total_amount,\n inv_data.total_to_pay,\n inv_data.invoice_number,\n inv_data.invoice_date,\n lines,\n inv_data.other_amounts,\n supplier,\n customer,\n inv_data.state,\n inv_data.invoice_due_date,\n inv_data.external_invoice_number,\n inv_data.start_date,\n inv_data.end_date,\n inv_data.retention_concept,\n inv_data.retention_amount!=0?inv_data.retention_amount:undefined,\n inv_data.kind,\n 0,\n 0,\n 0,\n 0,\n 0,\n [],\n [],\n discounts,\n [],\n inv_data.reimbursable_amounts,\n inv_data.signing_time,\n inv_data.sequence_id,\n inv_data.predicted_invoice_number,\n inv_data.payment_state,\n inv_data.accounting_document_id,\n inv_data.rectificative,\n null,\n inv_data.predicted_rectificative_invoice_number,\n inv_data.tax_type,\n inv_data.additional_info,\n inv_data.free_notes,\n null,\n )\n } else if (inv_data.type === 'delivery_note') {\n return new DeliveryNote(\n inv_data.id,\n inv_data.company_id,\n inv_data.total_amount,\n inv_data.total_to_pay,\n inv_data.invoice_number,\n inv_data.invoice_date,\n lines,\n inv_data.other_amounts,\n supplier,\n customer,\n inv_data.state,\n inv_data.invoice_due_date,\n inv_data.external_invoice_number,\n inv_data.start_date,\n inv_data.end_date,\n inv_data.retention_concept,\n inv_data.retention_amount!=0?inv_data.retention_amount:undefined,\n inv_data.kind,\n 0,\n 0,\n 0,\n 0,\n 0,\n [],\n [],\n discounts,\n [],\n inv_data.reimbursable_amounts,\n inv_data.signing_time,\n inv_data.sequence_id,\n inv_data.predicted_invoice_number,\n inv_data.payment_state,\n inv_data.accounting_document_id,\n inv_data.rectificative,\n null,\n inv_data.predicted_rectificative_invoice_number,\n inv_data.tax_type,\n inv_data.additional_info,\n inv_data.free_notes,\n null,\n )\n } else if (inv_data.type === 'recurring_invoice_contract') {\n return new RecInv(\n inv_data.id,\n inv_data.company_id,\n inv_data.total_amount,\n inv_data.total_to_pay,\n '',\n '',\n lines,\n inv_data.other_amounts,\n supplier,\n customer,\n '',\n '',\n '',\n '',\n '',\n inv_data.retention_concept,\n inv_data.retention_amount!=0?inv_data.retention_amount:undefined,\n inv_data.kind,\n 0,\n 0,\n 0,\n 0,\n 0,\n [],\n [],\n discounts,\n [],\n inv_data.reimbursable_amounts,\n '',\n inv_data.sequence_id,\n inv_data.predicted_invoice_number,\n '',\n null,\n false,\n null,\n '',\n inv_data.tax_type,\n inv_data.additional_info,\n '',\n inv_data.payment_means,\n inv_data.recurring_invoice_contract_id,\n inv_data.is_for_recurring_contracts,\n inv_data.related_invoiceable_ids\n )\n } else {\n let rectificative_info = null\n if (inv_data.rectificative && inv_data.rectificative_info){\n rectificative_info = new RectificativeInfo(inv_data.rectificative_info.reason, inv_data.rectificative_info.invoice_id, inv_data.rectificative_info.invoice_number, inv_data.rectificative_info.invoice_date)\n }\n return new Invoice(\n inv_data.id,\n inv_data.company_id,\n inv_data.total_amount,\n inv_data.total_to_pay,\n inv_data.invoice_number,\n inv_data.invoice_date,\n lines,\n inv_data.other_amounts,\n supplier,\n customer,\n inv_data.state,\n inv_data.invoice_due_date,\n inv_data.external_invoice_number,\n inv_data.start_date,\n inv_data.end_date,\n inv_data.retention_concept,\n inv_data.retention_amount!=0?inv_data.retention_amount:undefined,\n inv_data.kind,\n 0,\n 0,\n 0,\n 0,\n 0,\n [],\n [],\n discounts,\n [],\n inv_data.reimbursable_amounts,\n inv_data.signing_time,\n inv_data.sequence_id, \n inv_data.predicted_invoice_number,\n inv_data.payment_state,\n inv_data.accounting_document_id,\n inv_data.rectificative,\n rectificative_info,\n inv_data.predicted_rectificative_invoice_number,\n inv_data.tax_type,\n inv_data.additional_info,\n inv_data.free_notes,\n inv_data.payment_means,\n null,\n inv_data.is_from_recurring_contract\n )\n }\n }\n domain_to_api(inv) {\n let data = JSON.parse(JSON.stringify(objectToDict(inv)));\n data['invoice_lines'] = [...data['lines']]\n delete data['lines']\n delete data['related_invoiceable_ids']\n for(let line in data['invoice_lines']){\n delete data['invoice_lines'][line]['selected_retention']\n delete data['invoice_lines'][line]['selected_tax']\n }\n if (data['retention_amount'] == ''){\n data['retention_amount'] = null\n }\n return data\n }\n\n async duplicate_as_draft(ids: Array): Promise {\n let res = await this.command_dispatcher.dispatch('duplicate.as.draft', { inv_ids: ids })\n return res.output\n }\n async send_to_accounting(ids: Array): Promise {\n return await this.async_command_dispatcher.dispatch('send.invoices.to.accounting', { inv_ids: ids })\n }\n async generate_invoice_from_invoiceable(ids: Array): Promise {\n let res = await this.command_dispatcher.dispatch('generate.invoice.from.invoiceable', { invoiceables_ids: ids })\n return res.output\n }\n async generate_remitance(ids: Array): Promise {\n let res = await this.command_dispatcher.dispatch(\"generate.invoices.remittance\", { inv_ids: ids })\n return res.output\n }\n async find_by_id(id): Promise {\n let inv_data = await this.query_dispatcher.dispatch('get.static.invoice', { inv_id: id })\n if (inv_data){\n return this.api_to_domain(inv_data)\n }\n return null\n }\n\n async filter_invoices(args): Promise<{results: Invoiceable[], count: number}> {\n let inv_data = await this.query_dispatcher.dispatch('get.facture.e.list', args)\n let count = inv_data.count\n inv_data = inv_data.results || []\n let inv_list = []\n for (let inv in inv_data) {\n inv_list.push(this.api_to_domain(inv_data[inv]))\n }\n if(!count){\n count = inv_list.length\n }\n return {results:inv_list, count: count}\n }\n\n async save(inv) {\n let inv_data = this.domain_to_api(inv)\n let command = 'save.invoice'\n if (inv.type == 'budget') {\n command = 'save.budget'\n } else if (inv.type == 'delivery_note') {\n command = 'save.delivery_note'\n }\n let res = await this.command_dispatcher.dispatch(command, { inv: inv_data })\n return res['output']['inv_id']\n }\n\n async import_lines_from_excel(id, path) {\n await this.command_dispatcher.dispatch('import.lines.from.excel', { inv_id: id, excel_path: path })\n }\n\n async mock_find_by_id(id): Promise {\n\n return new Invoiceable(1, 200, 605, 605, \"2020/0001\", \"2020-01-01\", [\n new InvoiceLine(\"line 1\", 1, 100, 100, 100, [new Tax(0.21, 100, 21)], [],1),\n new InvoiceLine(\"line 2\", 1, 100, 100, 100, [new Tax(0.21, 100, 21)], [],2),\n new InvoiceLine(\"line 3\", 1, 100, 100, 100, [new Tax(0.21, 100, 21)], [],3),\n new InvoiceLine(\"line 4\", 1, 100, 100, 100, [new Tax(0.21, 100, 21)], [],4),\n new InvoiceLine(\"line 5\", 1, 100, 100, 100, [new Tax(0.21, 100, 21)], [],5),\n ], 0, new Party(1, 200,\"12345678Z\", \"12345\", null, \"Supplier\", \"Supplier last name\", null, null , \"Supplier address\", \"Supplier city\", \"Supplier province\"), new Party(2, 200,\"12345678Z\", \"12345\",\"fisica\", \"Customer name\", \"Customer last name\", \"Customer address\", \"Customer city\", \"Customer province\"))\n }\n\n supplier_from_current_company(currentCompany) {\n let supplier = new Party(0, currentCompany.id, \"\", \"\", \"juridica\", \"\", \"\", \"\",\"\",\"\", \"\", \"\")\n if (currentCompany.configuration && currentCompany.configuration.company_as_party){\n let cap = currentCompany.configuration.company_as_party\n supplier.business_name = cap.business_name ? cap.business_name : \"\"\n supplier.trade_name = cap.trade_name ? cap.trade_name : \"\"\n supplier.name = cap.name ? cap.name : \"\"\n supplier.first_surname = cap.first_surname ? cap.first_surname : \"\"\n supplier.second_surname = cap.second_surname ? cap.second_surname : \"\"\n supplier.type = cap.type\n supplier.cif = cap.cif\n supplier.address = cap.address\n supplier.city = cap.city\n supplier.province = cap.province\n supplier.email = cap.email\n supplier.phone = cap.phone\n supplier.website = cap.website\n supplier.post_code = cap.post_code\n supplier.bank_account_number = cap.bank_account_number\n supplier.bic = cap.bic\n }\n return supplier\n }\n\n create_empty_invoiceable(company_id, currentCompany, next_number, next_rectificative_number, tax_type = 'iva', invoiceable_type='invoice') {\n let first_tax = 0.21\n if(!tax_type.includes('iva') && tax_type.includes('igic')){\n first_tax = 0.07\n }\n let empty_line = new InvoiceLine(\"\", 0, 0, 0, 0, [new Tax(first_tax, 0, 0)])\n empty_line.selected_tax = first_tax\n empty_line.discounts = [new ExtraAmount('Descuento', 0, 0)]\n let supplier = null\n let si = null;\n if (currentCompany) {\n supplier = this.supplier_from_current_company(currentCompany)\n } else{\n supplier = new Party(0, company_id, \"\", \"\", \"juridica\", \"\", \"\", \"\",\"\",\"\", \"\", \"\")\n }\n let today_date = new Date().toISOString().split('T')[0]\n if (invoiceable_type == 'budget') {\n si = new Budget(null, company_id, 0, 0, \"\", today_date, [empty_line], 0, supplier, new Party(0, company_id, \"\", \"\", \"juridica\", \"\", \"\", \"\",\"\",\"\", \"\", \"\"))\n } else if (invoiceable_type === 'delivery_note') {\n si = new DeliveryNote(null, company_id, 0, 0, \"\", today_date, [empty_line], 0, supplier, new Party(0, company_id, \"\", \"\", \"juridica\", \"\", \"\", \"\",\"\",\"\", \"\", \"\"))\n } else if (invoiceable_type === 'recurring_invoice_contract') {\n si = new RecInv(null, company_id, 0, 0, \"\", today_date, [empty_line], 0, supplier, new Party(0, company_id, \"\", \"\", \"juridica\", \"\", \"\", \"\",\"\",\"\", \"\", \"\"), '')\n } else {\n si = new Invoice(null, company_id, 0, 0, \"\", today_date, [empty_line], 0, supplier, new Party(0, company_id, \"\", \"\", \"juridica\", \"\", \"\", \"\",\"\",\"\", \"\", \"\"), 'draft', today_date)\n }\n si.predicted_invoice_number = next_number\n si.predicted_rectificative_invoice_number = next_rectificative_number\n if (tax_type == 'igic'){\n si.tax_type = 'igic'\n }\n else{\n si.tax_type = 'iva'\n }\n \n return si\n }\n\n async download_xml(id) {\n return await this.async_command_dispatcher.dispatch('create.xml.from.invoice', { inv_id: id })\n }\n\n async download_pdf(id: any): Promise {\n return await this.async_command_dispatcher.dispatch('downalod_e_invoice_pdf', { inv_id: id, force_download: true })\n\n }\n\n async download_pdfs(ids: Array): Promise {\n return await this.async_command_dispatcher.dispatch('massive.download.pdfs', { inv_ids: ids })\n\n }\n\n async sign(id): Promise {\n let res = await this.command_dispatcher.dispatch(\"sign.static.invoice.xml\", { inv_id: id })\n if (res.output.error) {\n return false\n }\n else {\n return true\n }\n }\n\n async issue(id): Promise {\n let res = await this.command_dispatcher.dispatch(\"issue.invoiceable\", { inv_id: id })\n if (res.output.status === 'error') {\n return false\n }\n else {\n return true\n }\n }\n\n async unsign(id): Promise {\n try{\n let res = await this.command_dispatcher.dispatch(\"unsign.invoice\", { inv_id: id })\n if (res.output.error) {\n return false\n }\n else {\n return true\n }\n }\n catch(e){\n return false\n }\n \n }\n\n async send(id, send_to): Promise {\n return await this.async_command_dispatcher.dispatch(\"send.factura.e.xml\", { inv_id: id, send_to:send_to })\n }\n\n async send_invoice_email(id, email): Promise {\n let args = { inv_id: id, to: email.to , subject: email.subject, body: email.body }\n return await this.async_command_dispatcher.dispatch(\"send.invoice.via.mail\", args)\n }\n\n async send_invoice_accounting(id) : Promise {\n return await this.async_command_dispatcher.dispatch(\"send.invoice.to.accounting\", { inv_id: id })\n }\n\n async get_customer_list(company_id:string|number): Promise {\n let res = await this.query_dispatcher.dispatch('get.facture.e.customers', { company_id: company_id})\n let customerList = [new Party(-1, company_id, \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\")]\n if (res) {\n for (let customer in res) {\n let emptyParty = new Party(0, res[customer].company_id, \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\") \n emptyParty.id = res[customer].id\n emptyParty.cif = res[customer].cif\n emptyParty.post_code = res[customer].post_code\n emptyParty.type = res[customer].type\n emptyParty.name = res[customer].name\n emptyParty.first_surname = res[customer].first_surname\n emptyParty.second_surname = res[customer].second_surname\n emptyParty.business_name = res[customer].business_name\n emptyParty.trade_name = res[customer].trade_name\n emptyParty.address = res[customer].address\n emptyParty.city = res[customer].city\n emptyParty.province = res[customer].province\n emptyParty.email = res[customer].email\n emptyParty.phone = res[customer].phone\n emptyParty.website = res[customer].website\n emptyParty.DIRe = res[customer].DIRe\n emptyParty.accounting_office = res[customer].accounting_office\n emptyParty.management_body = res[customer].management_body\n emptyParty.processing_unit = res[customer].processing_unit\n emptyParty.proposing_body = res[customer].proposing_body\n emptyParty.bank_account_number = res[customer].bank_account_number\n emptyParty.bic = res[customer].bic\n emptyParty.mandate_id = res[customer].mandate_id\n emptyParty.mandate_signature_date = res[customer].mandate_signature_date\n emptyParty.debit_account = res[customer].debit_account\n customerList.push(emptyParty)\n }\n }\n return customerList\n }\n\n async download_registred_invoices(): Promise {\n await this.command_dispatcher.dispatch('download.registered.invoices', {})\n }\n\n async reject_invoiceable(id: number, reject_comment: string): Promise {\n let res = await this.command_dispatcher.dispatch('reject.invoice', { inv_id: id, comment: reject_comment })\n return res.output\n }\n\n async delete_selected_items(selected_ids: Array): Promise {\n try{\n await this.command_dispatcher.dispatch('delete.static.invoices', { inv_ids: selected_ids })\n return true\n }\n catch(e){\n return false\n }\n }\n async pay_downloaded_invoice(id:number): Promise {\n let res = await this.command_dispatcher.dispatch('pay.invoice', { inv_id: id })\n return res.output\n }\n\n async save_third(party:Party): Promise<{ status: string, message?: string|Party }> {\n let res = await this.command_dispatcher.dispatch('save.third', { third: party })\n return res.output\n }\n\n async save_company_as_party(party:Party): Promise<{ status: string, message?: string|Party }> {\n let res = await this.command_dispatcher.dispatch('save.company.as.party', { supplier: party })\n return res.output\n }\n\n async get_pdf_info(uuid:string) : Promise {\n let queryURL = `/e_invoice_to_pdf/?uuid=${uuid}`;\n let response = await axios.get(process.env.VUE_APP_API_ENDPOINT+queryURL, {})\n if (response) {\n return {\n 'invoiceable': response.data.invoiceable? this.api_to_domain(response.data.invoiceable) : null,\n 'configuration': response.data.configuration,\n 'rectificative_e_invoice': response.data.rectificative_e_invoice? this.api_to_domain(response.data.rectificative_e_invoice) : null,\n }\n } else {\n return {\n 'invoiceable': null,\n 'configuration': null,\n 'rectificative_e_invoice': null,\n }\n }\n }\n\n async get_pdf_info_by_id(invoiceable_id: String) : Promise {\n let res = await this.query_dispatcher.dispatch('invoice.info.for.pdf', {invoiceable_id: invoiceable_id})\n return{\n 'invoiceable': res.invoiceable? this.api_to_domain(res.invoiceable) : null,\n 'configuration': res.configuration,\n 'rectificative_e_invoice': res.rectificative_e_invoice? this.api_to_domain(res.rectificative_e_invoice) : null,\n }\n }\n\n async company_has_active_einvoice_contract(company_id:Number): Promise { \n let res = await this.query_dispatcher.dispatch('check.user.has.active.envoice.contract', {company_id: company_id})\n if (res.company) {\n return res.company\n }\n else {\n return false;\n }\n }\n\n async massive_send_via_email(ids: Array, email_template: EmailTemplate): Promise {\n let args = { inv_ids: ids, subject: email_template.subject, body: email_template.message }\n return await this.async_command_dispatcher.dispatch(\"massive.send.invoice.via.mail\", args)\n }\n}","module.exports = __webpack_public_path__ + \"img/mark_as_rejected.b388667b.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-select',{staticClass:\"rounded-lg app-select-no-border\",attrs:{\"filled\":!_vm.outlined,\"outlined\":_vm.outlined,\"label\":_vm.label,\"name\":_vm.name,\"multiple\":_vm.multiple,\"type\":_vm.type,\"hint\":_vm.hint,\"items\":_vm.items,\"item-text\":_vm.itemText,\"item-value\":_vm.itemValue,\"rules\":_vm.rules,\"readonly\":_vm.readonly,\"disabled\":_vm.disabled,\"clearable\":_vm.clearable,\"return-object\":_vm.returnObject,\"hide-details\":_vm.hideDetails,\"value\":_vm.value,\"color\":\"primary\"},on:{\"input\":function (e) { return _vm.$emit('input', e); },\"change\":function (e) { return _vm.$emit('change', e); },\"click:clear\":function (e) { return _vm.$emit('click:clear', e); }},scopedSlots:_vm._u([(_vm.prependInnerIcon)?{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{attrs:{\"color\":\"primary\",\"left\":\"\"}},[_vm._v(\"\\n \"+_vm._s(_vm.prependInnerIcon)+\"\\n \")])]},proxy:true}:null,{key:\"selection\",fn:function(data){return [_vm._t(\"selection\",function(){return [_c('span',[_vm._v(_vm._s(data.item[_vm.itemText]))])]},null,data)]}},{key:\"item\",fn:function(data){return [_vm._t(\"item\",function(){return [_vm._v(\"\\n \"+_vm._s(data.item[_vm.itemText])+\"\\n \")]},null,data)]}}],null,true)})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppSelect.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppSelect.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppSelect.vue?vue&type=template&id=1d211b5c&\"\nimport script from \"./AppSelect.vue?vue&type=script&lang=js&\"\nexport * from \"./AppSelect.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppSelect.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VIcon,VSelect})\n","module.exports = __webpack_public_path__ + \"img/bank-save-transaction-disabled.26aa1d8b.svg\";","module.exports = __webpack_public_path__ + \"img/btn-pencil.936be7b9.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-text-field',{staticClass:\"custom-text-field\",attrs:{\"hide-details\":\"\",\"filled\":\"\",\"label\":\"\",\"dense\":\"\",\"flat\":\"\",\"solo\":\"\",\"reverse\":_vm.reverse,\"required\":_vm.required,\"value\":_vm.value,\"readonly\":_vm.readonly,\"background-color\":\"white\",\"type\":_vm.type,\"hide-spin-buttons\":\"\"},on:{\"input\":_vm.handleInput,\"change\":_vm.handleChange}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableCustomTextField.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableCustomTextField.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TableCustomTextField.vue?vue&type=template&id=4ef7a5e1&scoped=true&\"\nimport script from \"./TableCustomTextField.vue?vue&type=script&lang=js&\"\nexport * from \"./TableCustomTextField.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TableCustomTextField.vue?vue&type=style&index=0&id=4ef7a5e1&scoped=true&lang=css&\"\nimport style1 from \"./TableCustomTextField.vue?vue&type=style&index=1&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 \"4ef7a5e1\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./DetailReferenceAccounts.vue?vue&type=style&index=0&id=5b60e5f3&scoped=true&lang=css&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./TableCustomTextField.vue?vue&type=style&index=0&id=4ef7a5e1&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"persistent\":_vm.persistent,\"max-width\":\"500\"},model:{value:(_vm.show_message),callback:function ($$v) {_vm.show_message=$$v},expression:\"show_message\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(_vm._s(_vm.title))]),_c('v-card-text',{domProps:{\"innerHTML\":_vm._s(_vm.message)}}),_c('v-card-actions',[_c('v-spacer'),_vm._l((_vm.actions),function(action,index){return _c('div',{key:index},[_c('v-btn',{class:{\n 'primary-bckground': action['prin']\n },attrs:{\"name\":\"aceptar\",\"color\":action['prin'] ? 'white' : 'primary darken-1',\"text\":\"\",\"outlined\":action['prin']},on:{\"click\":function($event){return _vm.doEmit(action['emit'])}}},[_vm._v(\"\\n \"+_vm._s(action['action_text'])+\"\\n \")])],1)})],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagePopup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagePopup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MessagePopup.vue?vue&type=template&id=0044f2b2&scoped=true&\"\nimport script from \"./MessagePopup.vue?vue&type=script&lang=js&\"\nexport * from \"./MessagePopup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MessagePopup.vue?vue&type=style&index=0&id=0044f2b2&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 \"0044f2b2\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VDialog,VSpacer})\n","module.exports = __webpack_public_path__ + \"img/bank-back-arrow.ae01c915.svg\";","module.exports = __webpack_public_path__ + \"img/icon-download.aab04703.svg\";","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppAutocomplete.vue?vue&type=style&index=0&lang=css&\"","var map = {\n\t\"./add_box.svg\": \"7553\",\n\t\"./add_info.svg\": \"5ee5\",\n\t\"./back-arrow.svg\": \"9e57\",\n\t\"./bank-account-switch-disabled.svg\": \"3a8a\",\n\t\"./bank-account-switch.svg\": \"b3d8\",\n\t\"./bank-add-transaction.svg\": \"3ac8\",\n\t\"./bank-asiento-disabled.svg\": \"1b25\",\n\t\"./bank-asiento.svg\": \"71fe\",\n\t\"./bank-assert-rule-disabled.svg\": \"386e\",\n\t\"./bank-assert-rule.svg\": \"7191\",\n\t\"./bank-assert-rules-disabled.svg\": \"87fc\",\n\t\"./bank-assert-rules.svg\": \"86d6\",\n\t\"./bank-back-arrow.svg\": \"1442\",\n\t\"./bank-btn-effects.svg\": \"beb5\",\n\t\"./bank-config.svg\": \"97a6\",\n\t\"./bank-delete-transaction-disabled.svg\": \"d54b\",\n\t\"./bank-delete-transaction.svg\": \"2094\",\n\t\"./bank-download-transactions-disabled.svg\": \"fb15\",\n\t\"./bank-download-transactions.svg\": \"b8b2\",\n\t\"./bank-effect-switch-disabled.svg\": \"4d6e\",\n\t\"./bank-effect-switch.svg\": \"f2b4\",\n\t\"./bank-filters.svg\": \"a1a6\",\n\t\"./bank-generate-rule.svg\": \"e8c0\",\n\t\"./bank-generate-rules-disabled.svg\": \"4ece\",\n\t\"./bank-generate-rules.svg\": \"d975\",\n\t\"./bank-hide-mismatch.svg\": \"cef6\",\n\t\"./bank-mark-as-reviewed-disabled.svg\": \"a42c\",\n\t\"./bank-mark-as-reviewed.svg\": \"8133\",\n\t\"./bank-refresh.svg\": \"c25d\",\n\t\"./bank-save-transaction-disabled.svg\": \"1041\",\n\t\"./bank-save-transaction.svg\": \"17c0\",\n\t\"./bank-show-mismatch.svg\": \"4aa3\",\n\t\"./bank-sync-effects.svg\": \"240b\",\n\t\"./bank-uncheck-reviewed-disabled.svg\": \"8ee5\",\n\t\"./bank-uncheck-reviewed.svg\": \"2f63\",\n\t\"./bank-upload-file.svg\": \"f3ad\",\n\t\"./btn-eye.svg\": \"0a2f\",\n\t\"./btn-pencil.svg\": \"1181\",\n\t\"./btn-plus.svg\": \"2fc8\",\n\t\"./btn-show-menu.svg\": \"b340\",\n\t\"./created_invoices.svg\": \"66a7\",\n\t\"./delete-filters.svg\": \"1836\",\n\t\"./download_xml.svg\": \"9780\",\n\t\"./einvoice-download-black.svg\": \"552c\",\n\t\"./einvoice-download-white.svg\": \"c06e\",\n\t\"./einvoice-draft-filter.svg\": \"fc90\",\n\t\"./einvoice-info-black.svg\": \"8a6d\",\n\t\"./einvoice-info-white.svg\": \"a2f4\",\n\t\"./einvoice-issued-filter.svg\": \"e1f8\",\n\t\"./einvoice-received-filter.svg\": \"a167\",\n\t\"./folder_info.svg\": \"ed04\",\n\t\"./hide_invoice.svg\": \"439c\",\n\t\"./icon-download.svg\": \"144c\",\n\t\"./icon-expand.svg\": \"efa8\",\n\t\"./icon-preview.svg\": \"c593\",\n\t\"./icon-print.svg\": \"c5360\",\n\t\"./icon-select-company.svg\": \"d011\",\n\t\"./icon-shrink.svg\": \"c568\",\n\t\"./icon-zoom-in.svg\": \"bae7\",\n\t\"./icon-zoom-out.svg\": \"54c5\",\n\t\"./import-bank.svg\": \"8831\",\n\t\"./json-schema-editor-vue.css\": \"620c\",\n\t\"./logo.png\": \"cf05\",\n\t\"./logo.svg\": \"9b19\",\n\t\"./mark_as_paid.svg\": \"8614\",\n\t\"./mark_as_paid_disabled.svg\": \"7397\",\n\t\"./mark_as_rejected.svg\": \"0c2b\",\n\t\"./mark_as_rejected_disabled.svg\": \"062f\",\n\t\"./reconcile.svg\": \"6097\",\n\t\"./save_invoice.svg\": \"c55b\",\n\t\"./save_invoice_disabled.svg\": \"1e8d\",\n\t\"./send_invoice.svg\": \"c2c0\",\n\t\"./send_invoice_disabled.svg\": \"fd9e\",\n\t\"./sign_invoice.svg\": \"747a\",\n\t\"./sign_invoice_disabled.svg\": \"cb78\",\n\t\"./soon.svg\": \"03f0\",\n\t\"./split_view_mode.svg\": \"8548\",\n\t\"./start_contract.svg\": \"86f6\",\n\t\"./stop_contract.svg\": \"eb1c\",\n\t\"./toggle-rules.svg\": \"a777\",\n\t\"./toggle-rules2.svg\": \"21a2\",\n\t\"./transacciones-new.svg\": \"9a03\",\n\t\"./transacciones.svg\": \"1997\",\n\t\"./unsign_invoice.svg\": \"4108\",\n\t\"./upload_excel.svg\": \"73e9\",\n\t\"./view_invoice.svg\": \"dd7c\"\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 = \"1771\";","module.exports = __webpack_public_path__ + \"img/bank-save-transaction.1e77459b.svg\";","module.exports = __webpack_public_path__ + \"img/delete-filters.c5e28cb9.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./CreateSupplier.vue?vue&type=style&index=1&id=7b75284e&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/transacciones.0b7c8c90.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./CreateSupplier.vue?vue&type=style&index=0&id=7b75284e&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/bank-asiento-disabled.38bf2048.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./DetailAccounts.vue?vue&type=style&index=0&id=2120f9ca&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/save_invoice_disabled.9dd1d852.svg\";","module.exports = __webpack_public_path__ + \"img/bank-delete-transaction.ef5e119b.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-combobox',{staticClass:\"ma-0 pa-0 rounded-lg app-doc-combobox-outlined\",attrs:{\"outlined\":\"\",\"multiple\":_vm.multiple,\"disabled\":_vm.disabled,\"label\":_vm.label,\"items\":_vm.items,\"value\":_vm.value,\"error\":_vm.error,\"readonly\":_vm.readonly,\"dense\":_vm.dense,\"hide-details\":_vm.hideDetails,\"hint\":_vm.hint,\"rules\":_vm.rules,\"append-icon\":_vm.appendIcon,\"error-messages\":_vm.errorMessages,\"item-text\":_vm.itemText,\"item-value\":_vm.itemValue,\"filter\":_vm.filter,\"small-chips\":_vm.smallChips},on:{\"click\":function (e) { return _vm.$emit('click', e); },\"blur\":function (e) { return _vm.$emit('blur', e); },\"mouseup\":function (e) { return _vm.$emit('mouseup', e); },\"change\":function (e) { return _vm.$emit('change', e); },\"focus\":function (e) { return _vm.$emit('focus', e); },\"input\":function (e) { return _vm.$emit('input', e); },\"click:append\":function (e) { return _vm.$emit('click:append', e); },\"keydown\":function (e) { return _vm.$emit('keydown', e); }},nativeOn:{\"input\":function($event){return (function (e) { return _vm.$emit('input.native', e); }).apply(null, arguments)}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._t(\"item\",function(){return [_vm._v(\"\\n \"+_vm._s(data.item[_vm.itemText])+\"\\n \")]},null,data)]}}],null,true)})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppCombobox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppCombobox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppCombobox.vue?vue&type=template&id=8df1498e&\"\nimport script from \"./AppCombobox.vue?vue&type=script&lang=js&\"\nexport * from \"./AppCombobox.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppCombobox.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCombobox } from 'vuetify/lib/components/VCombobox';\ninstallComponents(component, {VCombobox})\n","module.exports = __webpack_public_path__ + \"img/toggle-rules2.9e83feb2.svg\";","import { connector as api_connector } from \"@/api\";\nimport moment from \"moment\";\n\nimport { client } from \"@/api/client\";\nimport { getField, updateField } from 'vuex-map-fields';\nimport { iva_order_company } from \"../../modules/invoices/domain/Invoice\"\n\n// Types\nexport const FETCH_CONNECTOR_BEGIN = \"FETCH_CONNECTOR_BEGIN\";\nexport const FETCH_CONNECTOR_ERROR = \"FETCH_CONNECTOR_ERROR\";\nexport const FETCH_CONNECTOR_SUCCESS = \"FETCH_CONNECTOR_SUCCESS\";\n\nexport const WRITE_CONNECTOR_BEGIN = \"WRITE_CONNECTOR_BEGIN\";\nexport const WRITE_CONNECTOR_ERROR = \"WRITE_CONNECTOR_ERROR\";\nexport const WRITE_CONNECTOR_SUCCESS = \"WRITE_CONNECTOR_SUCCESS\";\n\nexport const RESET_CONNECTOR = \"RESET_CONNECTOR\";\nexport const SET_ROWS_PER_PAGE = \"SET_ROWS_PER_PAGE\";\n\nexport const SET_NSTFILESPATHS = \"SET_NSTFILESPATHS\";\n\nexport const SET_CURRENT_FILTERS = \"SET_CURRENT_FILTERS\";\nexport const CLEAN_FILTERS = \"CLEAN_FILTERS\";\nexport const SET_TYPE_CHOICES = \"SET_TYPE_CHOICES\";\nexport const SET_COMPANYDB_TYPES = \"SET_COMPANYDB_TYPES\";\nexport const SET_LOAD_PATH_TYPES = \"SET_LOAD_PATH_TYPES\";\nexport const SET_LOCATIONS = \"SET_LOCATIONS\";\n\nexport const SET_ASYNC_JOB_ID = \"SET_ASYNC_JOB_ID\";\nexport const SET_ASYNC_JOB_STATE = \"SET_ASYNC_JOB_STATE\";\nexport const ADD_REFRESH_ACCOUNTS_ACTION = \"ADD_REFRESH_ACCOUNTS_ACTION\";\nexport const ADD_MASSIVE_COMPANYDB_LINK_ACTION = \"ADD_MASSIVE_COMPANYDB_LINK_ACTION\";\nexport const CHANGE_MASSIVE_COMPANYDB_LINK_ACTION = \"CHANGE_MASSIVE_COMPANYDB_LINK_ACTION\";\nexport const ACTIVE_TRAINING_MESSAGE = \"ACTIVE_TRAINING_MESSAGE\";\nexport const INACTIVE_TRAINING_MESSAGE = \"INACTIVE_TRAINING_MESSAGE\";\nexport const ACTIVE_INSTALATION_MESSAGE = 'ACTIVE_INSTALATION_MESSAGE';\nexport const INACTIVE_INSTALATION_MESSAGE = 'INACTIVE_INSTALATION_MESSAGE';\nexport const ADD_MASSIVE_DEACTIVATE_COMPANYDB_LINK_ACTION = \"ADD_MASSIVE_DEACTIVATE_COMPANYDB_LINK_ACTION\";\n\nexport const SET_CSV_ONE_LINE_HEADERS = \"SET_CSV_ONE_LINE_HEADERS\";\nexport const SET_CSV_ONE_LINE_HIDDEN_HEADERS = \"SET_CSV_ONE_LINE_HIDDEN_HEADERS\";\nexport const SET_CSV_MULTI_LINE_HEADERS = \"SET_CSV_MULTI_LINE_HEADERS\";\nexport const SET_CSV_MULTI_LINE_HIDDEN_HEADERS = \"SET_CSV_MULTI_LINE_HIDDEN_HEADERS\";\nexport const SET_USERS_CDB_WITH_SETTINGS = \"SET_USERS_CDB_WITH_SETTINGS\";\nexport const SET_OAUTH_PARAMS = \"SET_OAUTH_PARAMS\";\nexport const SET_OAUTH_APP = \"SET_OAUTH_APP\";\n\nconst add_tipos = (conf)=>{\n if(conf){\n let res=[];\n \n iva_order_company.forEach((e)=>{\n let found=false;\n let found_conf = {};\n conf.tipos_iva.forEach((conf_e)=>{\n if(e==conf_e.iva){\n found=true\n found_conf=conf_e\n }\n })\n if(!found){\n res.push({\"iva\": e, \"base\": \"base_\"+e, \"tipo\": e, \"customer_count\": '',\n \"customer_descr\": \"\", \"supplier_count\": '', \"supplier_descr\": \"\", \n \"customer_account\": \"\", \"customer_recargo\": '', \"supplier_account\": \"\", \n \"supplier_recargo\": '', \"customer_id_contanet\": \"\", \"supplier_id_contanet\": \"\",\n \"intra_supplier_account\": '',\"intra_supplier_id_contanet\": '',\n \"intra_customer_account\": '',\"intra_customer_id_contanet\": ''})\n }\n else{\n res.push(found_conf)\n }\n })\n conf.tipos_iva = res\n \n }\n return conf\n}\n\nconst compare = (a,b)=>{\n if(a.tipo.includes('vat') && b.tipo.includes('igic'))\n return -1\n if(b.tipo.includes('vat') && a.tipo.includes('igic'))\n return 1\n\n return 0\n}\n\nclass Connector {\n constructor({\n id,\n cif,\n name,\n tax_type,\n configuration,\n company,\n review,\n tolerancy,\n path_supplier_folder,\n path_customer_folder,\n iva_igic_no_deducible,\n comerciante_minorista,\n apply_415,\n cartera_supplier,\n cartera_customer,\n cuenta_cartera_supplier,\n cuenta_cartera_customer,\n min_date,\n max_date,\n num_digits,\n links,\n type,\n type_name,\n companydb_type,\n projects,\n channels,\n activities,\n load_paths,\n accounts,\n automatic_payment_account,\n payment_account,\n automatic_charge_account,\n charge_account,\n to_upper,\n tagline_in_invoice,\n tagline_out_invoice,\n have_serie,\n series,\n cut_inv_num, \n num_chars_inv_num,\n chars_to_exclude,\n cut_cus_inv_num,\n num_chars_cus_inv_num,\n chars_to_exclude_cus,\n tagline_payment_move,\n tagline_charge_move,\n search_third_aprox,\n iva_agrario_pesca,\n iva_tabaco,\n check_ret,\n auto_fill_due_date,\n prorate,\n invoice_description_order,\n oauth_session,\n oauth_session_state,\n decimal_separator,\n //third_selector_values,\n max_price,\n min_price,\n location_fk_id,\n taxes,\n criterio_de_caja,\n available_features,\n abono_keywords,\n check_cif_in_docs,\n required_project,\n alfastar_serie_in,\n alfastar_serie_out,\n report_sii,\n hide_projects_master,\n hide_channels_master,\n hide_activities_master,\n external_password,\n ...rest\n }) {\n this.id = id;\n this.cif = cif;\n this.name = name;\n this.tax_type = tax_type;\n this.configuration = add_tipos(JSON.parse(JSON.stringify(configuration)));\n this.configuration['tipos_iva'].sort(compare)\n this.company = company;\n this.review = review;\n this.tolerancy = tolerancy;\n this.path_supplier_folder = path_supplier_folder;\n this.path_customer_folder = path_customer_folder;\n this.iva_igic_no_deducible = iva_igic_no_deducible;\n this.comerciante_minorista = comerciante_minorista;\n this.apply_415 = apply_415;\n this.cartera_supplier = cartera_supplier;\n this.cartera_customer = cartera_customer;\n this.cuenta_cartera_supplier = cuenta_cartera_supplier;\n this.cuenta_cartera_customer = cuenta_cartera_customer;\n this.min_date = min_date;\n this.max_date = max_date;\n this.num_digits = num_digits;\n this.type = type;\n this.type_name = type_name;\n this.companydb_type = companydb_type;\n this.projects = projects;\n this.channels = channels;\n this.activities = activities;\n this.load_paths = load_paths;\n this.accounts = accounts;\n // this.links = [{\n // link_path: \"\",\n // min_date: moment('01/01','DD/MM').format('YYYY-MM-DD'),\n // max_date: moment('31/12','DD/MM').format('YYYY-MM-DD'),\n // start_ejercicio: moment('01/01','DD/MM').format('YYYY-MM-DD'),\n // end_ejercicio: moment('31/12','DD/MM').format('YYYY-MM-DD'),\n // year_ejercicio: moment('01/01','DD/MM').year(),\n // deleted:false, active: true,\n // }]\n this.automatic_payment_account = automatic_payment_account\n this.payment_account = payment_account\n this.automatic_charge_account = automatic_charge_account\n this.charge_account = charge_account\n this.to_upper = to_upper\n this.tagline_in_invoice = tagline_in_invoice\n this.tagline_out_invoice = tagline_out_invoice\n this.have_serie = have_serie\n this.series = series\n this.cut_inv_num = cut_inv_num \n this.num_chars_inv_num = num_chars_inv_num\n this.chars_to_exclude = chars_to_exclude\n this.cut_cus_inv_num = cut_cus_inv_num\n this.num_chars_cus_inv_num = num_chars_cus_inv_num\n this.chars_to_exclude_cus = chars_to_exclude_cus\n this.tagline_payment_move = tagline_payment_move\n this.tagline_charge_move = tagline_charge_move\n this.search_third_aprox = search_third_aprox\n this.iva_agrario_pesca = iva_agrario_pesca\n this.iva_tabaco = iva_tabaco\n this.check_ret = check_ret\n this.auto_fill_due_date = auto_fill_due_date\n this.prorate = prorate\n this.invoice_description_order = invoice_description_order\n this.oauth_session = oauth_session\n this.oauth_session_state = oauth_session_state\n this.decimal_separator = decimal_separator\n this.max_price = max_price\n this.min_price = min_price\n //this.third_selector_values = third_selector_values? third_selector_values:[]\n this.location_fk_id = location_fk_id\n this.taxes = taxes\n this.criterio_de_caja = criterio_de_caja;\n this.available_features = available_features\n this.abono_keywords = abono_keywords\n this.check_cif_in_docs = check_cif_in_docs\n this.required_project = required_project\n this.alfastar_serie_in = alfastar_serie_in\n this.alfastar_serie_out = alfastar_serie_out\n this.report_sii = report_sii\n this.hide_projects_master = hide_projects_master\n this.hide_channels_master = hide_channels_master\n this.hide_activities_master = hide_activities_master\n this.external_password = external_password\n this.links = [{\n link_path: \"\",\n min_date: moment('01/01','DD/MM').format('YYYY-MM-DD'),\n max_date: moment('31/12','DD/MM').format('YYYY-MM-DD'),\n start_ejercicio: moment('01/01','DD/MM').format('YYYY-MM-DD'),\n end_ejercicio: moment('31/12','DD/MM').format('YYYY-MM-DD'),\n year_ejercicio: moment('01/01','DD/MM').year(),\n prorate_percent: 'N/A',\n deleted:false, \n active: true,\n }]\n if(links.length>0)\n this.links = links.map((x)=>Object.assign({deleted:false,link_path_aux:x.link_path},x))\n }\n}\n\nconst models = {\n Connector\n};\n\n// initial state\nconst state = () => ({\n id: undefined,\n connector: undefined,\n connectorLoading: false,\n connectorError: false,\n connectorWriteLoading: false,\n connectorWriteError: false,\n rowsPerPage: 10,\n nstfilespaths: [],\n\n currentFilters: '',\n filtersData: {\n company__name__icontains: {\n 'name': 'company__name__icontains', \n 'label': 'Nombre de empresa',\n 'value': ''\n },\n company__nif__icontains: {\n 'name': 'company__nif__icontains', \n 'label': 'CIF de empresa',\n 'value': ''\n },\n name__icontains:{\n 'name': 'name__icontains', \n 'label': 'Ruta',\n 'value': ''\n },\n },\n show_message: false,\n type_choices: [],\n companydb_types: [],\n load_path_types: [],\n locations: [],\n\n jobState: 'done',\n asyncJobId: 0,\n importErrors: {},\n\n companyid_labels: {\n 'contanet': 'Ruta al fichero .NST de Contanet',\n 'aplifisa': 'Código de empresa de Aplifisa',\n 'aplifisa_fiscal': 'Código de empresa Aplifisa Fiscal',\n 'contasol': 'Código de empresa de Contasol (XXXYYYY)',\n 'a3': 'Código de empresa de A3 (EXXXXX)',\n 'monitor': 'Código de empresa de Monitor Informática',\n 'sage': 'Código de empresa de SAGE',\n 'sage_despachos': 'Código de empresa de SAGE Despachos',\n 'csv_facturas': 'Código de empresa de CSV Facturas',\n 'csv_asientos': 'Código de empresa de CSV Asientos',\n 'api_facturas': 'Código de empresa de API Facturas',\n 'api_asientos': 'Código de empresa de API Asientos',\n },\n\n actions: [\n { 'id': 'download_excel_companydbs', 'name': 'Exportar Empresas en Excel', 'group': 'action', 'excel': true },\n { 'id': 'delete', 'name': 'Borrar Empresas', 'group': 'action', 'excel': false },\n // { 'id': 'massive_change', 'name': 'Cambios Masivos', 'excel': false},\n { 'id': 'refresh_accounts', 'name': 'Actualizar Proveedores y Clientes masivamente', 'group': 'action', 'excel': false, 'feature': 'feature_massive_refresh_connector_accounts' },\n { 'id': 'massive_add_link', 'name': 'Crear ejercicio de forma masiva', 'group': 'action', 'excel': false, 'feature': 'feature_massive_companydb_link_creation' },\n { 'id': 'massive_deactivate_link', 'name': 'Desactivar ejercicio de forma masiva', 'group': 'action', 'excel': false, 'feature': 'feature_massive_companydb_link_creation' },\n { 'id': 'massive_change_link', 'name': 'Cambiar fecha límite de forma masiva', 'group': 'action', 'excel': false, 'feature': 'feature_massive_companydb_link_change_date' },\n\n ],\n\n csv_one_line_headers: [],\n csv_one_line_hidden_headers: [],\n csv_multi_line_headers: [],\n csv_multi_line_hidden_headers: [],\n cdbs_with_settings: [],\n showMessages: {\n pending_training: {\n message: 'Para poder crear este connector, antes necesita hacer la formación. Nuestro equipo la está preparando. En breve, nos pondremos en contacto con usted.',\n show: false\n },\n init_instalation: {\n message: 'Para poder crear esta empresa, antes necesita instalar el conector de Inmatic en su servidor. ¿Desea empezar ahora su instalación?',\n show: false\n }\n },\n oauth_params: '',\n\n number_series_labels: {\n 'number_serie_supplier': 'Factura proveedor',\n 'number_serie_customer': 'Factura cliente'\n },\n\n taxes_labels: {\n 's_iva_0': 'Venta - IVA 0 %',\n 'p_iva_0': 'Gasto - IVA 0 %',\n 'p_iva_d_21': 'Gasto - IVA 21 % (deducible)',\n 'p_iva_nd_21': 'Gasto - IVA 21 % (no deducible)',\n 'p_iva_75': 'Gasto - IVA 7.5 %',\n 'p_iva_5': 'Gasto - IVA 5 %',\n 'p_iva_2': 'Gasto - IVA 2 %',\n 'p_igic_0': 'Gasto - IGIC 0 %',\n 'p_igic_3': 'Gasto - IGIC 3 %',\n 'p_igic_5': 'Gasto - IGIC 5 %',\n 'p_igic_7': 'Gasto - IGIC 7 %',\n 'p_igic_9': 'Gasto - IGIC 9,5 %',\n 'p_igic_15': 'Gasto - IGIC 15 %',\n 'p_igic_20': 'Gasto - IGIC 20 %',\n 's_igic_0': 'Venta - IGIC 0 %',\n 's_igic_3': 'Venta - IGIC 3 %',\n 's_igic_5': 'Venta - IGIC 5 %',\n 's_igic_7': 'Venta - IGIC 7 %',\n 's_igic_9': 'Venta - IGIC 9,5 %',\n 's_igic_15': 'Venta - IGIC 15 %',\n 's_igic_20': 'Venta - IGIC 20 %',\n 'p_iva_dp': 'Gasto - IVA Prorata (deducible)',\n 'p_iva_ndp': 'Gasto - IVA Prorata (no deducible)',\n }\n})\n\nconst getters = {\n getField,\n connectorFetched: state => !!state.id && !state.connectorLoading && !state.connectorError && !!state.connector,\n currentConnector: state => state.connector,\n connectorWriting: state => state.connectorWriteLoading,\n rowsPerPage: state => state.rowsPerPage,\n get_nstpaths: state => state.nstfilespaths,\n showMessages: state => state.showMessages\n}\n\n// actions\nconst fetchConnector = async ({ commit }, { id }) => {\n commit(FETCH_CONNECTOR_BEGIN);\n \n try {\n const response = await api_connector.getConnector({ id })\n const { data } = response;\n if(data.min_date){\n let d_str_split = data.min_date.split('-')\n data.min_date = d_str_split[2]+'/'+d_str_split[1]+'/'+d_str_split[0]\n }\n if(data.max_date){\n let d_str_split_max = data.max_date.split('-')\n data.max_date = d_str_split_max[2]+'/'+d_str_split_max[1]+'/'+d_str_split_max[0]\n }\n\n const connector = new Connector(data);\n commit(FETCH_CONNECTOR_SUCCESS, { connector });\n return response;\n } catch (error) {\n commit(FETCH_CONNECTOR_ERROR);\n throw error;\n }\n};\n\nconst resetConnector = function({ commit }){\n commit(RESET_CONNECTOR);\n}\n\n// const setRowsPerPage = function({commit}, rowsNumber) {\n// console.log('------------------------------------')\n// console.log(rowsNumber)\n\n// commit(SET_ROWS_PER_PAGE, rowsNumber);\n// };\n\nconst exportConn = ({state}, { url, ids, send_filters, currentCompany }) => {\n return new Promise((resolve, reject)=> {\n let params = {};\n if (send_filters) {\n let filts = ''\n for (let filter in state.filtersData) {\n if (state.filtersData[filter].value) {\n filts += \"&\" + filter + \"=\" + state.filtersData[filter].value;\n } \n }\n params['filters'] = filts;\n params['cdb'] = currentCompany.id;\n } else {\n params['ids'] = ids;\n }\n \n client.post(url, params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst addRefreshAccountsAction = ({ commit, rootGetters }) => {\n if (rootGetters['me/userData']['available_features']['feature_massive_refresh_connector_accounts']) {\n commit(ADD_REFRESH_ACCOUNTS_ACTION);\n }\n}\n\nconst addMassiveCompanyDBLinkAction = ({ commit, rootGetters }) => {\n if (rootGetters['me/userData']['available_features']['feature_massive_companydb_link_creation']) {\n commit(ADD_MASSIVE_COMPANYDB_LINK_ACTION);\n commit(ADD_MASSIVE_DEACTIVATE_COMPANYDB_LINK_ACTION);\n }\n}\n\nconst changeMassiveCompanyDBLinkAction = ({ commit, rootGetters }) => {\n if (rootGetters['me/userData']['available_features']['feature_massive_companydb_link_change_date']) {\n commit(CHANGE_MASSIVE_COMPANYDB_LINK_ACTION);\n }\n}\n\nconst massiveUpdate = ({}, { ids, params }) => {\n return new Promise((resolve, reject)=> {\n client.patch('massive_update_companydb/', { 'ids': ids, 'params': params }).then(response => {\n resolve(response);\n }).catch(err=>{\n var response = JSON.parse(err.request.response);\n console.error(response)\n reject();\n });\n });\n}\n\nconst massiveAddCompanyDBLink = ({}, { ids, min_date, max_date, start_ejercicio, end_ejercicio, year_ejercicio }) => {\n const params = { \n 'ids': ids, \n 'min_date': min_date, \n 'max_date': max_date,\n 'start_ejercicio': start_ejercicio,\n 'end_ejercicio': end_ejercicio,\n 'year_ejercicio': year_ejercicio,\n }\n return new Promise((resolve, reject)=> {\n client.patch('massive_companydb_link_creation/', params).then(response => {\n resolve(response);\n }).catch(err=>{\n try {\n var response = JSON.parse(err.request.response);\n console.error(response);\n } catch {\n console.error(err)\n }\n reject();\n });\n });\n}\nconst massiveChangeCompanyDBLink = ({}, { ids, type, year,date }) => {\n return new Promise((resolve, reject)=> {\n client.patch('massive_change_companydb_link/', { 'ids': ids, 'type': type, 'year': year,'date':date }).then(response => {\n resolve(response);\n }).catch(err=>{\n try {\n var response = JSON.parse(err.request.response);\n console.error(response);\n } catch {\n console.error(err)\n }\n reject();\n });\n });\n}\n\nconst massiveDeactivateCompanyDBLink = ({}, { ids, year }) => {\n return new Promise((resolve, reject) => {\n client.patch('massive_unactivate_companydb_link/', { 'ids': ids, 'year': year }).then(response => {\n resolve(response);\n }).catch(err=>{\n try {\n var response = JSON.parse(err.request.response);\n console.error(response);\n } catch {\n console.error(err)\n }\n reject();\n });\n });\n}\nconst setColumnDataIfParams = ({ commit },data) => {\n if(data['params']){\n if(data['params']['show']){\n commit(SET_CSV_ONE_LINE_HEADERS, data['params']['show']);\n }\n if(data['params']['hide']){\n commit(SET_CSV_ONE_LINE_HIDDEN_HEADERS, data['params']['hide']);\n } \n }\n}\nconst getColumnsCsvOneLine = ({ commit, rootGetters }, cdb_id) => {\n return new Promise((resolve, reject) => {\n if (cdb_id) {\n let url = 'settings/get_setting_csv/csv_facturas_one_line_headers/' + rootGetters[\"me/userData\"]['user'] + '/' + cdb_id + '/';\n client.get(url).then(resp => {\n setColumnDataIfParams({ commit },resp.data);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n } else {\n commit(SET_CSV_ONE_LINE_HEADERS, []);\n commit(SET_CSV_ONE_LINE_HIDDEN_HEADERS, []);\n resolve();\n }\n });\n}\n\nconst setColumnsCsvOneLine = ({ state, rootGetters }, cdb_id) => {\n return new Promise((resolve, reject) => {\n if (cdb_id) {\n let url = 'settings/set_setting/csv_facturas_one_line_headers/' + rootGetters[\"me/userData\"]['user'] + '/' + cdb_id + '/';\n let params = { 'payload': { 'show': state.csv_one_line_headers, 'hide': state.csv_one_line_hidden_headers }};\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n } else {\n reject();\n }\n });\n}\nconst getCdbWithSettings = ({ commit },{settings_code, cdb_id,}) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/get_cdbs_with_settings/'+ settings_code + '/' + cdb_id + '/';\n client.get(url).then(resp => {\n commit(SET_USERS_CDB_WITH_SETTINGS, resp.data);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst checkCompanyApi = async ({ }, { company_id, route}) => {\n return api_connector.checkCompany({ company_id, route});\n};\n\nconst getOpenIdUserSessions = async ({ },data) => {\n return new Promise((resolve, reject) => {\n let url = 'oauth2/get_user_sessions/';\n let params = {params:{...data}}\n client.get(url,params).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n};\nconst validateUser = async ({ } ,{oauth_params, data={}}) => {\n return new Promise((resolve, reject) => {\n let url = 'oauth2/authorize/';\n let endpoint_data={ oauth_params , ...data };\n client.post(url, endpoint_data).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n};\n\nconst connectOuth2User = async ({ }, data) => {\n return new Promise((resolve, reject) => { \n const url = 'oauth2/connect/';\n client.post(url,{...data}).then(resp => {\n if (resp.data){\n window.location.href = resp.data; \n }\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n }) \n};\n\nconst setOauthData = async ({ commit ,dispatch}, oauth_params) => {\n\n return new Promise((resolve, reject) => {\n commit(SET_OAUTH_PARAMS, oauth_params.params);\n\n const urlParams = new URLSearchParams(oauth_params.params);\n let url_state = urlParams.get('state');\n if (url_state.match('^\\\\/\\\\d+\\\\/[\\\\w-]+$')) {\n let companydb = parseInt(url_state.toString().split('/').at(1));\n let data = {value: 'innuva'};\n dispatch(\"validateUser\",{ oauth_params:oauth_params.params, data });\n }\n resolve(url_state);\n });\n}\n\nconst getUserCompanies = async ({}, id) => {\n return new Promise((resolve, reject) => {\n let url = 'oauth2/get_companies/' + id + '/';\n client.get(url).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\nconst createConnProject = ({state,dispatch},{name, external_id, companydb, references} ) => {\n return new Promise(\n (resolve,reject) => {\n client.post(\"/create_companydb_project/\", {\n \"name\" : name,\n \"external_id\" : external_id,\n \"companydb\" : companydb,\n \"references\": references,\n }).then((response) => {\n resolve(response.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\nconst updateConnProject = ({dispatch},{name, external_id, project, references} ) => {\n return new Promise(\n (resolve,reject) => {\n client.patch(\"/update_companydb_project/\", {\n \"name\" : name,\n \"external_id\" : external_id,\n \"project\" : project,\n \"references\": references,\n }).then((response) => {\n dispatch('saveActivities', { activities : response.data.results }, {root:true})\n resolve(response.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\nconst deleteConnProject = ({state},{project_ids, search_filters, companydb_id}) => {\n return new Promise((resolve,reject) => {\n let params = {\n \"project_ids\": project_ids,\n \"search_filters\": search_filters,\n \"companydb_id\": companydb_id,\n };\n client.post('delete_companydb_project/', params).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\n\n\nconst createConnChannel = ({state,dispatch},{name, external_id, companydb, references} ) => {\n return new Promise(\n (resolve,reject) => {\n client.post(\"/create_companydb_channel/\", {\n \"name\" : name,\n \"external_id\" : external_id,\n \"companydb\" : companydb,\n \"references\": references,\n }).then((response) => {\n resolve(response.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\nconst updateConnChannel = ({dispatch},{name, external_id, channel, references} ) => {\n return new Promise(\n (resolve,reject) => {\n console.log(name, external_id, channel, references)\n client.patch(\"/update_companydb_channel/\", {\n \"name\" : name,\n \"external_id\" : external_id,\n \"channel\" : channel,\n \"references\": references,\n }).then((response) => {\n dispatch('saveActivities', { activities : response.data.results }, {root:true})\n resolve(response.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\nconst deleteConnChannel = ({state}, {channel_ids, search_filters, companydb_id}) => {\n return new Promise((resolve,reject) => {\n let params = {\n \"channel_ids\": channel_ids,\n \"search_filters\": search_filters,\n \"companydb_id\": companydb_id,\n };\n client.post('delete_companydb_channel/', params).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\n\nconst deleteConnExpensIncomeType = ({state}, {eit_ids, search_filters, companydb_id}) => {\n return new Promise((resolve,reject) => {\n let params = {\n \"eit_ids\": eit_ids,\n \"search_filters\": search_filters,\n \"companydb_id\": companydb_id,\n };\n client.post('delete_expens_income_type/', params).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\n\nconst createConnActivity = ({state,dispatch},{name,code} ) => {\n return new Promise(\n (resolve,reject) => {\n client.post(\"/create_companydb_activity/\", {\n \"name\" : name,\n \"code\" : code,\n \"companydb\" : state.connector.id\n }).then((response) => {\n dispatch('saveActivities', { activities : response.data.results }, {root:true})\n resolve(response.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\nconst deleteConnActivity = ({state},{act_ids, search_filters, companydb_id} ) => {\n return new Promise((resolve,reject) => {\n let params = {\n \"act_ids\": act_ids,\n \"search_filters\": search_filters,\n \"companydb_id\": companydb_id,\n };\n client.post('delete_companydb_activity/', params).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\nconst updateConnActivity = ({dispatch},{name, code, activity} ) => {\n return new Promise(\n (resolve,reject) => {\n client.patch(\"/update_companydb_activity/\", {\n \"name\" : name,\n \"code\" : code,\n \"activity\" : activity\n }).then((response) => {\n dispatch('saveActivities', { activities : response.data.results }, {root:true})\n resolve(response.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\n\nconst createConnLoadPath = ({ state }, { load_path_data }) => {\n return new Promise((resolve, reject) => {\n load_path_data['companydb'] = state.connector.id;\n client.post('create_load_path/', load_path_data).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n console.error(err)\n reject(err);\n });\n });\n}\n\nconst deleteConnLoadPath = ({ state }, { loadpath_ids, search_filters, companydb_id }) => {\n return new Promise((resolve, reject) => {\n let params = {\n \"loadpath_ids\": loadpath_ids,\n \"search_filters\": search_filters,\n \"companydb_id\": companydb_id,\n };\n client.post('delete_load_path/', params).then(resp => {\n \n resolve(resp.data);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst updateConnLoadPath = ({ state }, { load_path, load_path_data }) => {\n return new Promise((resolve, reject) => {\n load_path_data['cdb'] = state.connector.id;\n load_path_data['load_path'] = load_path;\n client.patch('update_load_path/', load_path_data).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\n\nconst createConnAccount = ({state, dispatch},{account, description} ) => {\n return new Promise(\n (resolve,reject) => {\n client.post(\"/create_account_app/\", {\n \"account\" : account,\n \"description\" : description,\n \"companydb\" : state.connector.id\n }).then((response) => {\n resolve(response.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\n\nconst updateConnAccount = ({state, dispatch},{account, description, account_id} ) => {\n return new Promise(\n (resolve,reject) => {\n client.patch(\"/update_account_app/\", {\n \"account\" : account,\n \"description\" : description,\n \"account_id\" : account_id,\n \"companydb\" : state.connector.id\n }).then((response) => {\n resolve(response.data);\n }).catch(err => {\n reject(err);\n });\n }\n )\n}\n\nconst deleteConnAccounts = ({ state }, { acc_ids, search_filters, companydb_id }) => {\n return new Promise((resolve, reject) => {\n let params = {\n \"acc_ids\": acc_ids,\n \"search_filters\": search_filters,\n \"companydb_id\": companydb_id,\n };\n client.post('delete_accounts/', params).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst setLoadPathTypes = ({ commit }) => {\n return new Promise((resolve, reject)=> {\n client.get('load_path_types/?limit=1000').then(resp => {\n commit(SET_LOAD_PATH_TYPES, resp.data.results);\n resolve();\n }).catch(err => {\n reject(err);\n }); \n });\n}\n\nconst getLocations = ({ commit }, cdb_type_value) => {\n return new Promise((resolve, reject) => {\n client.get('get_companydb_type_locations/?cdb_type_value=' + cdb_type_value).then(resp => {\n commit(SET_LOCATIONS, resp.data.results);\n resolve();\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst actions = {\n fetchConnector,\n resetConnector,\n createCompanyDBUser(context, userData) {\n return new Promise((resolve, reject) => {\n client.post('create_companydb_user/', userData).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n })\n })\n },\n addCompanyDBUser(context, {userId, companyDBId, role_kind}) {\n return new Promise((resolve, reject) => {\n client.post('add_companydb_user/', {'user': userId, 'companyDB': companyDBId, 'role_kind': role_kind}).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n })\n })\n },\n updateCompanyDBUser(context, {user_id, email, kind, view_all_companies, default_role_kind, view_invoices, view_banks, view_e_invoice}) {\n return new Promise((resolve, reject) => {\n let params = {\n 'user_id': user_id,\n 'email': email, \n 'kind': kind,\n 'view_all_companies': view_all_companies,\n 'default_role_kind': default_role_kind,\n 'view_invoices': view_invoices,\n 'view_banks': view_banks,\n 'view_e_invoice': view_e_invoice \n };\n client.put('update_companydb_user/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n })\n })\n },\n deleteCompanyDBUser(context, {ucdbr_ids, companydb_id, search_filters}) {\n return new Promise((resolve, reject) => {\n let params = {\n 'ucdbr_ids': ucdbr_ids,\n 'companydb_id': companydb_id,\n 'search_filters': search_filters,\n };\n client.post('delete_companydb_user/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n })\n })\n },\n getFreeInvitedUsers(context, companyDBId) {\n return new Promise((resolve, reject) => {\n let params = {\n params: {\n companydb: companyDBId\n }\n };\n client.get('get_free_invited_users/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n })\n });\n },\n changePassCDBUser({}, {user_id, pass}) {\n return new Promise((resolve, reject) => {\n client.post('change_pass_cdb_user/', {'user_id': user_id, 'pass': pass}).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n })\n })\n },\n setRowsPerPage(context, rowsNumber) { \n context.commit(SET_ROWS_PER_PAGE, rowsNumber);\n },\n refreshContanetPaths(context) {\n return new Promise((resolve, reject) => {\n client.patch('refresh_contanet_db_list/').then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n },\n getLastGetContanetDBListOp({}) {\n return new Promise((resolve, reject) => {\n client.get('get_last_get_contanet_db_list_op/').then(resp => {\n resolve(resp.data);\n }).catch(err => {\n reject(err);\n });\n });\n },\n refreshAccounts({state}, ids) {\n return new Promise((resolve, reject) => {\n client.post('refresh_connector_accounts/', { 'ids': ids }).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n },\n getLastGetAccountsContanetOp({}, id) {\n return new Promise((resolve, reject) => {\n client.get('get_last_get_accounts_contanet_op/' + id + '/').then(resp => {\n resolve(resp.data);\n }).catch(err => {\n reject(err);\n });\n });\n },\n fetchRefreshProgressState(context, id) {\n return new Promise((resolve, reject) => {\n client.get('operations_progress/' + id + '/').then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n },\n setNstpaths(context) {\n return new Promise((resolve, reject) => {\n client.get('nstfilespaths/?limit=100000').then(response => {\n context.commit('SET_NSTFILESPATHS', response.data.results)\n\n resolve();\n }).catch(error => { reject(error) });\n })\n },\n\n getFilters({ commit, state, dispatch }, filts) {\n commit(SET_CURRENT_FILTERS, filts);\n return true;\n\n },\n generateFilters({ state, dispatch }) {\n let filts = \"\";\n for (let filter in state.filtersData) {\n if (state.filtersData[filter].value) {\n filts += \"&\" + filter + \"=\" + state.filtersData[filter].value;\n } \n }\n return dispatch(\"getFilters\", filts)\n },\n cleanFilters({ commit, dispatch }) {\n commit(CLEAN_FILTERS);\n return dispatch(\"getFilters\", \"\");\n },\n \n importFile(context, file) {\n return new Promise((resolve, reject) => {\n let formData = new FormData();\n formData.append('cdb', context.state.connector.id);\n formData.append('file', file);\n client.post('import_customers_suppliers/', formData).then(response => {\n context.commit(SET_ASYNC_JOB_ID, response.data['AsyncJob']);\n context.commit(SET_ASYNC_JOB_STATE, 'running');\n resolve(response);\n }).catch(error => { \n reject(error) ;\n });\n });\n },\n\n setCompanyDBTypes({ commit }) {\n return new Promise((resolve, reject) => {\n client.get('get_user_companydb_types/').then(resp => {\n commit(SET_COMPANYDB_TYPES, resp.data['companydb_types']);\n // commit(SET_TYPE_CHOICES, resp.data['companydb_types']);\n resolve();\n }).catch(err => {\n reject(err);\n }); \n });\n },\n getFolders({},{session, path, showReadOnly}) {\n return new Promise((resolve, reject) => {\n let url = \"get_cloud_directory/\";\n let params = {params:{path,showReadOnly}}\n client.get(url+session,params).then((response) => {\n resolve(response);\n }).catch(err => {\n if (err.response.status === 401) {\n resolve(err.response);\n } else{\n reject(err);\n }\n }); \n });\n },\n updateAbonoKeywords({ commit }, val){\n commit('updateAbonoKeywords', val)\n },\n exportConn,\n addRefreshAccountsAction,\n addMassiveCompanyDBLinkAction,\n changeMassiveCompanyDBLinkAction,\n massiveUpdate,\n massiveAddCompanyDBLink,\n massiveChangeCompanyDBLink,\n activeInstalationMessage: ({commit, state, dispatch}) => {\n commit(ACTIVE_INSTALATION_MESSAGE);\n },\n inactiveInstalationMessage: ({commit, state, dispatch}) => {\n commit(INACTIVE_INSTALATION_MESSAGE);\n },\n activeTrainingMessage: ({commit, state, dispatch}) => {\n commit(ACTIVE_TRAINING_MESSAGE);\n },\n inactiveTrainingMessage: ({commit, state, dispatch}) => {\n commit(INACTIVE_TRAINING_MESSAGE);\n },\n massiveDeactivateCompanyDBLink,\n getColumnsCsvOneLine,\n setColumnsCsvOneLine,\n checkCompanyApi,\n getCdbWithSettings,\n setColumnDataIfParams,\n getOpenIdUserSessions,\n connectOuth2User,\n setOauthData,\n validateUser,\n getUserCompanies,\n createConnProject,\n updateConnProject,\n deleteConnProject,\n createConnChannel,\n updateConnChannel,\n deleteConnChannel,\n createConnActivity,\n deleteConnActivity,\n updateConnActivity,\n createConnLoadPath,\n deleteConnLoadPath,\n updateConnLoadPath,\n createConnAccount,\n deleteConnAccounts,\n updateConnAccount,\n setLoadPathTypes,\n getLocations,\n deleteConnExpensIncomeType,\n}\n\n// mutations\nconst mutations = {\n updateField,\n [FETCH_CONNECTOR_SUCCESS](state, { connector }) {\n state.connectorLoading = false;\n state.connectorError = false;\n state.connector = { ...connector };\n },\n [FETCH_CONNECTOR_BEGIN](state) {\n state.connectorLoading = true;\n state.docError = false;\n },\n [FETCH_CONNECTOR_ERROR](state) {\n state.connectorLoading = false;\n state.connectorError = true;\n },\n [WRITE_CONNECTOR_SUCCESS](state, { connector }) {\n state.connectorWriteLoading = false;\n state.connectorWriteError = false;\n state.connector = { ...connector };\n },\n [WRITE_CONNECTOR_BEGIN](state) {\n state.connectorWriteLoading = true;\n state.connectorWriteError = false;\n },\n [WRITE_CONNECTOR_ERROR](state) {\n state.connectorWriteLoading = false;\n state.connectorWriteError = true;\n },\n [RESET_CONNECTOR](state) {\n state.connector = {\n name:'',configuration:\n {\"tipos_iva\": []\n },\n links: [],\n review: true,\n }\n },\n [SET_ROWS_PER_PAGE](state, rowsPerPage) {\n state.rowsPerPage = rowsPerPage;\n },\n [SET_NSTFILESPATHS](state, value) {\n state.nstfilespaths = value\n },\n\n [SET_CURRENT_FILTERS](state, filts) {\n state.currentFilters = filts;\n },\n [CLEAN_FILTERS](state) {\n for (let i in state.filtersData) {\n state.filtersData[i].value = '';\n }\n },\n [SET_TYPE_CHOICES](state, type_choices) {\n state.type_choices = type_choices;\n },\n [SET_COMPANYDB_TYPES](state, companydb_types) {\n state.companydb_types = companydb_types;\n },\n [SET_LOAD_PATH_TYPES](state, load_path_types) {\n state.load_path_types = load_path_types;\n },\n [SET_LOCATIONS](state, locations) {\n state.locations = locations;\n },\n [SET_ASYNC_JOB_ID](state, jobId) {\n state.asyncJobId = jobId;\n },\n [SET_ASYNC_JOB_STATE](state, jobState) {\n state.jobState = jobState;\n },\n [ADD_REFRESH_ACCOUNTS_ACTION](state) {\n const found = state.actions.some(el => el.id === 'refresh_accounts');\n if(!found){\n // state.actions.push();\n }\n },\n [ADD_MASSIVE_COMPANYDB_LINK_ACTION](state) {\n const found = state.actions.some(el => el.id === 'massive_add_link');\n if(!found){\n // state.actions.push({ 'id': 'massive_add_link', 'name': 'Crear ejercicio de forma masiva', 'group': 'action', 'excel': false, 'feature': 'feature_massive_companydb_link_creation' });\n }\n },\n [CHANGE_MASSIVE_COMPANYDB_LINK_ACTION](state) {\n const found = state.actions.some(el => el.id === 'massive_change_link');\n if(!found){\n // state.actions.push({ 'id': 'massive_change_link', 'name': 'Cambiar fecha límite ejercicio de forma masiva', 'excel': false });\n }\n },\n [ACTIVE_TRAINING_MESSAGE](state) {\n state.showMessages.pending_training.show = true;\n },\n [INACTIVE_TRAINING_MESSAGE](state) {\n state.showMessages.pending_training.show = false;\n },\n [ACTIVE_INSTALATION_MESSAGE](state) {\n state.showMessages.init_instalation.show = true;\n },\n [INACTIVE_INSTALATION_MESSAGE](state) {\n state.showMessages.init_instalation.show = false;\n },\n [ADD_MASSIVE_DEACTIVATE_COMPANYDB_LINK_ACTION](state) {\n const found = state.actions.some(el => el.id === 'massive_deactivate_link');\n if(!found){\n // state.actions.push();\n }\n },\n [SET_CSV_ONE_LINE_HEADERS](state, headers) {\n state.csv_one_line_headers = headers;\n },\n [SET_CSV_ONE_LINE_HIDDEN_HEADERS](state, headers) {\n state.csv_one_line_hidden_headers = headers;\n },\n [SET_CSV_MULTI_LINE_HEADERS](state, headers) {\n state.csv_multi_line_headers = headers;\n },\n [SET_CSV_MULTI_LINE_HIDDEN_HEADERS](state, headers) {\n state.csv_multi_line_hidden_headers = headers;\n },\n [SET_USERS_CDB_WITH_SETTINGS](state, cdb_list) {\n state.cdbs_with_settings = cdb_list;\n },\n [SET_OAUTH_PARAMS](state, params) {\n state.oauth_params = params;\n },\n [SET_OAUTH_APP](state, data) {\n state.oauth_app = data;\n },\n updateAbonoKeywords(state, val) {\n state.connector.abono_keywords = [];\n for(let i in val){\n state.connector.abono_keywords.push(val[i]);\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n models,\n}\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./RightDrawerTrainerMode.vue?vue&type=style&index=0&id=50146693&scoped=true&lang=css&\"","import { Configuration } from \"./Configuration\";\nimport { Product } from \"./Product\";\n\nexport const STATE_TRANSLATOR = {\n draft: \"Borrador\",\n signed: \"Emitida\",\n sent: \"Enviada\",\n sent_via_mail: \"Enviada por mail\",\n paid: \"Pagado\",\n lost_connection: \"Conexión perdida\",\n rejected: \"Rechazada\",\n b_rejected: \"Rechazado\",\n error: \"Error\",\n issued: \"Emitido\",\n accepted: \"Aceptado\",\n invoiced: \"Facturado\",\n b_sent: \"Enviado\"\n};\n\nexport const PAYMENT_STATE_TRANSLATOR = {\n unpaid: \"No pagada\",\n paid: \"Pagada\",\n partially_paid: \"Parcialmente pagada\",\n overpaid: \"Sobrepagada\",\n overdue: \"Vencida\",\n pending: \"Pendiente\",\n rectified: \"Rectificada\",\n remitted: \"Remesada\",\n};\n\nexport const recargo_rates = {0.052:0.21, 0.014:0.1, 0.005:0.04}\nexport class Tax {\n rate: number;\n base: number;\n amount: number;\n recargo_rate?: number;\n recargo_amount?: number;\n\n constructor(rate: number, base: number, amount: number, recargo_rate?: number, recargo_amount?: number) {\n this.rate = rate;\n this.base = base;\n this.amount = amount;\n this.recargo_rate = recargo_rate;\n this.recargo_amount = recargo_amount;\n }\n}\n\nexport class ExtraAmount {\n reason: string;\n amount?: number;\n rate?: number;\n\n constructor(reason: string, amount?: number, rate?: number) {\n this.reason = reason;\n this.amount = amount;\n this.rate = rate;\n }\n}\n\nexport class ReceiverInfo {\n budget_number: string = '';\n budget_date: string = '';\n\n constructor(budget_number: string='', budget_date: string='') {\n this.budget_number = budget_number;\n this.budget_date = budget_date;\n }\n}\n\nexport class SenderInfo {\n budget_number: string = '';\n budget_date: string = '';\n\n constructor(budget_number: string='', budget_date: string='') {\n this.budget_number = budget_number;\n this.budget_date = budget_date;\n }\n}\n\n\nexport class AdditionalInformation {\n sender_info : SenderInfo = new SenderInfo();\n receiver_info: ReceiverInfo = new ReceiverInfo();\n delivery_note_number: string = '';\n delivery_note_date: string = '';\n additional_line_information: string = '';\n\n constructor(sender_info: SenderInfo, receiver_info: ReceiverInfo, delivery_note_number: string, delivery_note_date: string, additional_line_information: string = '') {\n this.sender_info = sender_info;\n this.receiver_info = receiver_info;\n this.delivery_note_number = delivery_note_number\n this.delivery_note_date = delivery_note_date;\n this.additional_line_information = additional_line_information;\n }\n}\n\nexport class InvoiceLine {\n description: string;\n quantity: number;\n unit_price_without_tax: number;\n total_cost: number;\n gross_amount: number;\n taxes: Tax[];\n taxes_withheld : Tax[];\n selected_retention?:any;\n selected_tax?:any;\n id?: number;\n selected_product?: Product;\n product_code?:string;\n selected_tax_event?: string\n special_taxable_event?: Object;\n additional_information?: AdditionalInformation;\n discounts: ExtraAmount[];\n\n constructor(\n description: string,\n quantity: number,\n unit_price_without_tax: number,\n total_cost: number,\n gross_amount: number,\n taxes: Tax[],\n taxes_withheld?: Tax[],\n id?: number,\n selected_retention?: any,\n selected_tax?: any,\n selected_product?: Product,\n product_code?: string,\n selected_tax_event?: string,\n special_taxable_event?: Object,\n additional_information?: AdditionalInformation,\n discounts?: ExtraAmount[]\n ) {\n this.description = description;\n this.quantity = quantity;\n this.unit_price_without_tax = unit_price_without_tax;\n this.total_cost = total_cost;\n this.gross_amount = gross_amount;\n this.taxes = taxes;\n if(selected_retention){\n this.selected_retention = selected_retention;\n }\n else{\n this.selected_retention = 'na';\n }\n if(selected_tax || selected_tax===0){\n this.selected_tax = selected_tax;\n }\n else {\n this.selected_tax = 0.21;\n }\n if (taxes_withheld){\n this.taxes_withheld = taxes_withheld;\n }\n else{\n this.taxes_withheld = [];\n }\n this.id = id;\n if (selected_product) {\n this.selected_product = selected_product;\n }\n this.product_code = product_code;\n if(selected_tax_event){\n this.selected_tax_event = selected_tax_event;\n }\n else{\n this.selected_tax_event = 'N/A';\n }\n this.special_taxable_event = special_taxable_event;\n this.additional_information = additional_information;\n this.discounts = discounts ? discounts : [];\n }\n\n toString(): string {\n return `${this.id} - ${this.description} - ${this.quantity} - ${this.unit_price_without_tax} - ${this.total_cost} - ${this.gross_amount} - ${this.taxes}`;\n }\n\n clone(): InvoiceLine {\n return new InvoiceLine(\n this.description,\n this.quantity,\n this.unit_price_without_tax,\n this.total_cost,\n this.gross_amount,\n this.taxes.map(tax => tax),\n this.taxes_withheld.map(tax => tax),\n this.id,\n this.selected_retention,\n this.selected_tax,\n this.selected_product ? this.selected_product.clone() : null,\n this.product_code,\n this.selected_tax_event,\n this.special_taxable_event,\n this.additional_information,\n this.discounts.map(d => d)\n );\n }\n\n iamvalid(): boolean{\n if (['', null, undefined].includes(this.description)){ //acceptem tmeporalment linies a zero.\n // if (['', null, undefined].includes(this.description) || this.quantity==0 || this.unit_price_without_tax ==0){\n return false;\n }\n return true;\n }\n\n updateLine(): InvoiceLine {\n const actual_round = (value: number) => Math.round(value * 100) / 100;\n let line = this.clone();\n\n if (line.selected_product) {\n line.product_code = line.selected_product.code\n line.description = line.selected_product.description\n line.unit_price_without_tax = line.selected_product.price\n line.selected_tax = line.selected_product.selected_tax\n line.selected_retention = line.selected_product.selected_retention\n if (line.selected_product.selected_tax == 0.0 && line.selected_product.selected_tax_event) {\n line.selected_tax_event = line.selected_product.selected_tax_event\n }\n if (line.quantity == 0){\n line.quantity = 1\n }\n line.selected_product = null\n }\n\n let reason = ''\n if (line.selected_tax_event){\n if (line.selected_tax_event == 'ISP'){\n reason = 'Inversión del sujeto pasivo en virtud del art 84.Uno de la Ley 37/1992, del IVA.'\n line.special_taxable_event = {code:'01', reason:reason}\n }\n else if (line.selected_tax_event == 'NS'){\n reason = 'Operación no sujeta a IVA en virtud del art. 7 de la Ley 37/1992, del IVA.'\n line.special_taxable_event = {code:'02', reason:reason}\n }\n else if (line.selected_tax_event == 'EX'){\n reason = 'Operación exenta en virtud del art. 20 de la Ley 37/1992, del IVA.'\n line.special_taxable_event = {code:'01', reason:reason}\n }\n else if(line.selected_tax_event == 'INTRA.'){\n reason = 'Entrega intracomunitaria exenta en virtud del art. 25 de la Ley 37/1992, del IVA.'\n line.special_taxable_event = {code:'01', reason:reason}\n }\n else if(line.selected_tax_event == 'EXPORT.'){\n reason = 'Operación exenta por exportación en virtud del art. 21 de la Ley 37/1992, del IVA.'\n line.special_taxable_event = {code:'01', reason:reason}\n }\n else{\n line.special_taxable_event = null\n }\n }\n if (line.selected_tax != 0.0){\n line.selected_tax_event = 'N/A'\n line.special_taxable_event = null\n }\n \n line.total_cost = actual_round(line.quantity * line.unit_price_without_tax)\n line.gross_amount = line.total_cost\n\n let discount = 0\n\n if (line.discounts.length > 0 && line.discounts[0].rate>0)\n discount = line.total_cost * line.discounts[0].rate / 100\n\n line.taxes[0].base = line.total_cost - discount\n\n if (Object.keys(recargo_rates).includes(line.selected_tax.toString())){\n line.taxes[0].rate = recargo_rates[line.selected_tax]\n line.taxes[0].recargo_rate = line.selected_tax\n line.taxes[0].amount = actual_round(line.taxes[0].base * line.taxes[0].rate)\n line.taxes[0].recargo_amount = actual_round(line.taxes[0].base * line.taxes[0].recargo_rate)\n }\n else{\n line.taxes[0].rate = line.selected_tax\n line.taxes[0].amount = actual_round(line.taxes[0].base * line.taxes[0].rate)\n line.taxes[0].recargo_amount = 0\n line.taxes[0].recargo_rate = null\n }\n line.taxes[0].base = line.total_cost\n\n if (line.selected_retention == 'na'){\n line.taxes_withheld = []\n }\n else{\n let rate = parseFloat(line.selected_retention)\n line.taxes_withheld = [new Tax(rate, line.taxes[0].base, actual_round(line.taxes[0].base*rate))]\n }\n return line\n }\n}\n\nexport class Party {\n id: number;\n company_id: string|number;\n cif: string;\n post_code: string;\n type?: string;\n \n name?: string;\n first_surname?: string;\n second_surname?: string;\n\n business_name?: string;\n trade_name?: string;\n \n address?: string;\n city?: string;\n province?: string;\n email?: string;\n phone?: string;\n website?: string;\n DIRe?: string;\n accounting_office?: string;\n management_body?: string;\n processing_unit?: string;\n proposing_body?: string;\n bank_account_number?: string;\n bic?: string;\n mandate_id?: string;\n mandate_signature_date?: string;\n debit_account?: string;\n\n constructor(\n id: number,\n company_id: string|number,\n cif: string,\n post_code: string,\n type: string = 'juridica',\n name?: string,\n first_surname?: string,\n second_surname?: string,\n business_name?: string,\n trade_name?: string,\n address?: string,\n city?: string,\n province?: string,\n email?: string,\n phone?: string,\n website?: string,\n DIRe?: string,\n accounting_office?: string,\n management_body?: string,\n processing_unit?: string,\n proposing_body?: string,\n bank_account_number?: string,\n bic?: string,\n mandate_id?: string,\n mandate_signature_date?: string,\n debit_account?: string\n ) {\n this.id = id;\n this.company_id = company_id;\n this.cif = cif;\n this.post_code = post_code;\n this.type = type;\n this.name = name;\n this.first_surname = first_surname;\n this.second_surname = second_surname;\n this.business_name = business_name;\n this.trade_name = trade_name;\n this.address = address;\n this.city = city;\n this.province = province;\n this.email = email;\n this.phone = phone;\n this.website = website;\n this.DIRe = DIRe;\n this.accounting_office = accounting_office;\n this.management_body = management_body;\n this.processing_unit = processing_unit;\n this.proposing_body = proposing_body;\n this.bank_account_number = bank_account_number;\n this.bic = bic;\n this.mandate_id = mandate_id;\n this.mandate_signature_date = mandate_signature_date;\n this.debit_account = debit_account;\n }\n clone(): Party {\n return new Party(\n this.id,\n this.company_id,\n this.cif,\n this.post_code,\n this.type,\n this.name,\n this.first_surname,\n this.second_surname,\n this.business_name,\n this.trade_name,\n this.address,\n this.city,\n this.province,\n this.email,\n this.phone,\n this.website,\n this.DIRe,\n this.accounting_office,\n this.management_body,\n this.processing_unit,\n this.proposing_body,\n this.bank_account_number,\n this.bic,\n this.mandate_id,\n this.mandate_signature_date,\n this.debit_account \n );\n }\n\n fromPrimitive(dict: any): Party {\n return new Party(\n dict.id ?? 0,\n dict.company_id ?? '',\n dict.cif ?? '',\n dict.post_code ?? '',\n dict.type ?? 'juridica',\n dict.name ?? '',\n dict.first_surname ?? '',\n dict.second_surname ?? '',\n dict.business_name ?? '',\n dict.trade_name ?? '',\n dict.address ?? '',\n dict.city ?? '',\n dict.province ?? '',\n dict.email ?? '',\n dict.phone ?? '',\n dict.website ?? '',\n dict.DIRe ?? '',\n dict.accounting_office ?? '',\n dict.management_body ?? '',\n dict.processing_unit ?? '',\n dict.proposing_body ?? '',\n dict.bank_account_number ?? '',\n dict.bic ?? '',\n dict.mandate_id ?? '',\n dict.mandate_signature_date ?? '',\n dict.debit_account ?? ''\n );\n }\n\n toPrimitive(party:Party): any {\n return {\n id: party.id ?? 0,\n company_id: party.company_id ?? '',\n cif: party.cif ?? '',\n post_code: party.post_code ?? '',\n type: party.type ?? '',\n name: party.name ?? '',\n first_surname: party.first_surname ?? '',\n second_surname: party.second_surname ?? '',\n business_name: party.business_name ?? '',\n trade_name: party.trade_name ?? '',\n address: party.address ?? '',\n city: party.city ?? '',\n province: party.province ?? '',\n email: party.email ?? '',\n phone: party.phone ?? '',\n website: party.website ?? '',\n DIRe: party.DIRe ?? '',\n accounting_office: party.accounting_office ?? '',\n management_body: party.management_body ?? '',\n processing_unit: party.processing_unit ?? '',\n proposing_body: party.proposing_body ?? '',\n bank_account_number: party.bank_account_number ?? '',\n bic: party.bic ?? '',\n mandate_id: party.mandate_id ?? '',\n mandate_signature_date: party.mandate_signature_date ?? '',\n debit_account: party.debit_account ?? '',\n };\n }\n}\n\nexport class RectificativeInfo {\n reason?: string;\n invoice_id?: number;\n invoice_number?: string;\n invoice_date?: string;\n\n constructor(reason?: string, invoice_id?: number, invoice_number?: string, invoice_date?: string) {\n this.reason = reason? reason : \"Motivo: Factura rectificativa por diferencias.\";\n this.invoice_id = invoice_id;\n this.invoice_number = invoice_number;\n this.invoice_date = invoice_date;\n }\n\n clone(): RectificativeInfo {\n return new RectificativeInfo(\n this.reason,\n this.invoice_id,\n this.invoice_number,\n this.invoice_date\n );\n }\n}\nexport class Invoiceable {\n id: number;\n company_id: number;\n total_amount: number;\n total_to_pay: number;\n total_gross_amount: number = 0;\n total_lines_discounts: number = 0;\n total_gross_amount_before_tax: number = 0;\n total_tax_amount: number = 0;\n total_withheld_amount: number = 0;\n invoice_number: string;\n invoice_date: string;\n lines: InvoiceLine[];\n other_amounts?: number;\n total_taxes?: Tax[];\n total_taxes_withheld?: Tax[];\n general_discounts?: ExtraAmount[];\n general_surcharges?: ExtraAmount[];\n reimbursable_amounts?: number[];\n supplier: Party;\n customer: Party;\n state: string;\n invoice_due_date?: string;\n external_invoice_number?:string;\n start_date?: string;\n end_date?: string;\n retention_concept?: string;\n retention_amount?: number;\n kind?: string;\n signing_time?: string;\n sequence_id?: number;\n predicted_invoice_number?: string;\n payment_state?: string;\n accounting_document_id?: number;\n rectificative?: boolean;\n rectificative_info?: RectificativeInfo;\n predicted_rectificative_invoice_number?: string;\n tax_type?: string;\n additional_info?: string;\n free_notes?: string;\n payment_means: string = '04';\n recurring_invoice_contract_id?: number;\n is_from_recurring_contract?: boolean;\n related_invoiceable_ids?: number[];\n\n constructor(\n id: number,\n company_id: number,\n total_amount: number,\n total_to_pay: number,\n invoice_number: string,\n invoice_date: string,\n invoice_lines: InvoiceLine[],\n other_amounts?: number,\n supplier?: Party,\n customer?: Party,\n state: string = 'draft',\n invoice_due_date?: string,\n external_invoice_number?: string,\n start_date?: string,\n end_date?: string,\n retention_concept?: string,\n retention_amount?: number,\n kind: string = 'out_invoice',\n total_gross_amount: number = 0,\n total_lines_discounts: number = 0,\n total_gross_amount_before_tax: number = 0,\n total_tax_amount: number = 0,\n total_withheld_amount: number = 0,\n total_taxes?: Tax[],\n total_taxes_withheld?: Tax[],\n general_discounts?: ExtraAmount[],\n general_surcharges?: ExtraAmount[],\n reimbursable_amounts?: number[],\n signing_time?: string,\n sequence_id?: number,\n predicted_invoice_number?: string,\n payment_state?: string,\n accounting_document_id?: number,\n rectificative?: boolean,\n rectificative_info?: RectificativeInfo,\n predicted_rectificative_invoice_number?: string,\n tax_type?: string,\n additional_info?: string,\n free_notes?: string,\n payment_means: string = '04',\n recurring_invoice_contract_id?: number,\n is_from_recurring_contract?: boolean,\n related_invoiceable_ids?: number[]\n ) {\n this.id = id;\n this.company_id = company_id;\n this.total_amount = total_amount;\n this.total_to_pay = total_to_pay;\n this.total_gross_amount = total_gross_amount;\n this.total_lines_discounts = total_lines_discounts;\n this.total_gross_amount_before_tax = total_gross_amount_before_tax;\n this.total_tax_amount = total_tax_amount;\n this.total_withheld_amount = total_withheld_amount;\n this.invoice_number = invoice_number;\n this.invoice_date = invoice_date;\n this.lines = invoice_lines;\n this.other_amounts = other_amounts;\n this.supplier = supplier;\n this.customer = customer;\n this.state = state;\n this.invoice_due_date = invoice_due_date;\n this.external_invoice_number = external_invoice_number;\n this.start_date = start_date;\n this.end_date = end_date;\n this.retention_concept = retention_concept;\n this.retention_amount = retention_amount;\n this.kind = kind;\n this.total_taxes = total_taxes;\n this.total_taxes_withheld = total_taxes_withheld;\n this.general_discounts = general_discounts;\n this.general_surcharges = general_surcharges;\n this.reimbursable_amounts = reimbursable_amounts;\n this.signing_time = signing_time;\n this.sequence_id = sequence_id;\n this.predicted_invoice_number = predicted_invoice_number;\n this.payment_state = payment_state;\n this.accounting_document_id = accounting_document_id;\n this.rectificative = rectificative;\n this.rectificative_info = rectificative_info;\n this.predicted_rectificative_invoice_number = predicted_rectificative_invoice_number;\n this.tax_type = tax_type;\n this.additional_info = additional_info;\n this.free_notes = free_notes;\n this.recurring_invoice_contract_id = recurring_invoice_contract_id;\n this.is_from_recurring_contract = is_from_recurring_contract;\n this.related_invoiceable_ids = related_invoiceable_ids;\n this.payment_means = payment_means;\n }\n\n clone(): Invoiceable {\n let supplier = this.supplier ? this.supplier.clone() : null;\n let customer = this.customer ? this.customer.clone() : null;\n return new Invoiceable(\n this.id,\n this.company_id,\n this.total_amount,\n this.total_to_pay,\n this.invoice_number,\n this.invoice_date,\n this.lines.map(line => line.clone()),\n this.other_amounts,\n supplier,\n customer\n \n );\n }\n get_lines_with_additional_descriptions(){\n let res = []\n for (let line of this.lines){\n if(line.additional_information && (line.additional_information.delivery_note_date||line.additional_information.delivery_note_number)){\n let line0 = {...line}\n line0['is_delivery_note_header'] = true\n //comprovació si hem d'afegir el header o ja està afegit\n const headerExists = res.some(item => \n item.is_delivery_note_header && \n item.additional_information &&\n item.additional_information.delivery_note_number === line.additional_information.delivery_note_number &&\n item.additional_information.delivery_note_date === line.additional_information.delivery_note_date\n );\n //afegim si no hi és\n if (!headerExists) {\n res.push(line0);\n }\n }\n res.push(line)\n if(line.additional_information && line.additional_information.additional_line_information){\n let line2 = {...line}\n line2['is_additional_info'] = true\n res.push(line2)\n }\n }\n return res\n }\n compute() {\n const actual_round = (value: number) => Math.round(value * 100) / 100;\n\n const total_taxes: Tax[] = [];\n let total_lines_discounts = 0;\n // Compute total taxes and discounts\n for (const line of this.lines) {\n const quantity = Number(line.quantity);\n if (!isNaN(quantity) && quantity !== 0) {\n let total_tax: Tax | undefined = undefined;\n const line_tax = line.taxes[0];\n for (const t of total_taxes) {\n if (t.rate === line_tax.rate && (t.recargo_rate === line_tax.recargo_rate || (!t.recargo_rate && !line_tax.recargo_rate))) {\n total_tax = t;\n break;\n }\n }\n if (!total_tax) {\n total_tax = new Tax(line_tax.rate, 0, 0, line_tax.recargo_rate, 0);\n total_taxes.push(total_tax);\n }\n \n total_tax.base += line_tax.base ?? 0;\n total_tax.amount += line_tax.amount ?? 0 ;\n total_tax.recargo_amount = (total_tax.recargo_amount ?? 0) + (line_tax.recargo_amount ?? 0);\n\n if (line.discounts.length > 0 && line.discounts[0].rate > 0)\n total_lines_discounts += line.gross_amount * line.discounts[0].rate / 100;\n }\n }\n this.total_taxes = total_taxes;\n this.total_lines_discounts = total_lines_discounts;\n\n // Compute total withheld taxes\n const total_taxes_withheld: Tax[] = [];\n for (const line of this.lines) {\n const quantity = Number(line.quantity);\n if (line.taxes_withheld && line.taxes_withheld.length > 0 && (!isNaN(quantity) && quantity !== 0)) {\n let total_tax: Tax | undefined = undefined;\n const line_tax = line.taxes_withheld[0];\n for (const t of total_taxes_withheld) {\n if (t.rate === line_tax.rate) {\n total_tax = t;\n break;\n }\n }\n if (!total_tax) {\n total_tax = new Tax(line_tax.rate, 0, 0);\n total_taxes_withheld.push(total_tax);\n }\n\n total_tax.base += line_tax.base ?? 0;\n total_tax.amount += line_tax.amount ?? 0;\n }\n }\n this.total_taxes_withheld = total_taxes_withheld;\n\n // Apply general discounts\n if (this.general_discounts && this.general_discounts.length > 0) {\n for (const discount of this.general_discounts) {\n const total_base = this.total_taxes.reduce((acc, t) => acc + t.base, 0);\n if (total_base === 0) {\n continue;\n }\n \n for (const t of this.total_taxes) {\n t.base -= actual_round((t.base / total_base) * (discount.amount ?? 0));\n t.amount = actual_round(t.base * t.rate);\n if (t.recargo_rate) {\n t.recargo_amount = actual_round(t.base * t.recargo_rate);\n }\n }\n\n for (const t of this.total_taxes_withheld) {\n t.base -= actual_round((t.base / total_base) * (discount.amount ?? 0));\n t.amount = actual_round(t.base * t.rate);\n }\n\n const new_total_base = this.total_taxes.reduce((acc, t) => acc + t.base, 0);\n const error = actual_round((discount.amount ?? 0) - (total_base - new_total_base));\n if (error) {\n this.total_taxes[0].base -= error;\n this.total_taxes[0].amount = actual_round(this.total_taxes[0].base * this.total_taxes[0].rate);\n if (this.total_taxes[0].recargo_rate) {\n this.total_taxes[0].recargo_amount = actual_round(this.total_taxes[0].base * this.total_taxes[0].recargo_rate);\n }\n }\n }\n }\n\n // Compute total amounts\n this.total_gross_amount = actual_round(this.lines.reduce((acc, l) => acc + l.gross_amount, 0));\n this.total_gross_amount_before_tax = actual_round(this.total_taxes.reduce((acc, t) => acc + t.base, 0));\n this.total_tax_amount = actual_round(this.total_taxes.reduce((acc, t) => acc + t.amount + (t.recargo_amount ?? 0), 0));\n this.total_withheld_amount = actual_round(this.total_taxes_withheld.reduce((acc, t) => acc + t.amount, 0));\n this.total_amount = actual_round(this.total_gross_amount_before_tax + this.total_tax_amount - this.total_withheld_amount);\n \n const reimbursable_amounts = this.reimbursable_amounts?.reduce((acc, amt) => acc + amt, 0) ?? 0;\n const ret_amount = this.retention_amount ?? 0;\n this.total_to_pay = actual_round(this.total_amount + reimbursable_amounts - ret_amount);\n \n }\n\n createRectificativeFromOriginal(original_inv:Invoiceable, invoice_number:string, invoice_date:string, configuration:Configuration): Invoiceable {\n const new_inv = this.clone();\n new_inv.state = 'draft';\n new_inv.invoice_date = new Date().toISOString().split('T')[0];\n new_inv.rectificative = true;\n new_inv.tax_type = configuration.tax_type;\n new_inv.rectificative_info = new RectificativeInfo(\n this.rectificative_info?.reason,\n this.rectificative_info?.invoice_id,\n invoice_number,\n invoice_date\n );\n // new_inv.rectificative_reason = this.rectificative_reason;\n new_inv.predicted_invoice_number = this.predicted_invoice_number;\n // new_inv.rectificative_invoice_id = original_inv.id;\n new_inv.predicted_rectificative_invoice_number = this.predicted_rectificative_invoice_number;\n\n if (original_inv) {\n const original_lines = original_inv.lines;\n const new_lines: InvoiceLine[] = [];\n for (const line of original_lines) {\n const new_line = line.clone();\n new_line.quantity = -new_line.quantity;\n new_line.total_cost = -new_line.total_cost;\n new_line.gross_amount = -new_line.gross_amount;\n new_line.id = undefined;\n \n new_line.taxes = new_line.taxes.map(tax => new Tax(tax.rate, -tax.base, -tax.amount, tax.recargo_rate, -tax.recargo_amount));\n \n new_line.taxes_withheld = new_line.taxes_withheld.map(tax => new Tax(tax.rate, -tax.base, -tax.amount));\n \n new_lines.push(new_line);\n }\n new_inv.lines = new_lines;\n new_inv.customer = original_inv.customer;\n new_inv.supplier = original_inv.supplier;\n new_inv.total_amount = -original_inv.total_amount;\n new_inv.total_to_pay = -original_inv.total_to_pay;\n new_inv.total_gross_amount = -original_inv.total_gross_amount;\n new_inv.total_gross_amount_before_tax = -original_inv.total_gross_amount_before_tax;\n new_inv.total_tax_amount = original_inv.total_tax_amount;\n new_inv.total_withheld_amount = original_inv.total_withheld_amount;\n new_inv.other_amounts = original_inv.other_amounts;\n new_inv.general_discounts = original_inv.general_discounts?.map(d => new ExtraAmount(d.reason, -d.amount, d.rate));\n new_inv.general_surcharges = original_inv.general_surcharges?.map(s => new ExtraAmount(s.reason, -s.amount, s.rate));\n new_inv.reimbursable_amounts = original_inv.reimbursable_amounts?.map(a => -a);\n new_inv.total_taxes = original_inv.total_taxes.map(t => new Tax(t.rate, -t.base, -t.amount, t.recargo_rate, -t.recargo_amount));\n new_inv.total_taxes_withheld = original_inv.total_taxes_withheld.map(t => new Tax(t.rate, -t.base, -t.amount));\n new_inv.retention_amount = -original_inv.retention_amount;\n new_inv.retention_concept = original_inv.retention_concept;\n new_inv.start_date = original_inv.start_date;\n new_inv.end_date = original_inv.end_date;\n new_inv.invoice_due_date = original_inv.invoice_due_date;\n new_inv.rectificative_info.invoice_date = original_inv.invoice_date;\n new_inv.rectificative_info.invoice_number = original_inv.invoice_number;\n new_inv.rectificative_info.invoice_id = original_inv.id;\n }\n return new_inv;\n }\n \n}\n\nexport class Invoice extends Invoiceable {\n type: string = 'invoice';\n name: string = 'factura';\n actions: string[] = ['can_send_email', 'can_send_accounting', 'can_send_faceb2b2', 'can_send_face', 'can_download', 'has_paid_state', 'can_sign'];\n}\n\nexport class RecInv extends Invoiceable {\n type: string = 'recurring_invoice_contract';\n name: string = 'factura';\n}\n\nexport class Budget extends Invoiceable {\n type: string = 'budget';\n name: string = 'presupuesto';\n actions: string[] = ['can_send_email', 'can_download', 'can_mark_as_accepted_or_rejected'];\n}\n\nexport class DeliveryNote extends Invoiceable {\n type: string = 'delivery_note';\n name: string = 'albarán';\n actions: string[] = ['can_send_email', 'can_download'];\n}\n\n","module.exports = __webpack_public_path__ + \"img/bank-sync-effects.fc99909e.svg\";","/**\n * Comprueba si un número de cuenta dado es correcto\n * Para ello, debe estar compuesto únicamente por números\n * NO se limita, en estos momentos, el número de dígitos\n * @param {*} value Número de cuenta a validar\n * @returns true si es un número de cuenta válido\n */\nexport const validateAccount = (value) => /^\\d+\\.?\\d*\\??$/.test(value) \n\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.divStyle)},[(_vm.value === 'running')?_vm._t(\"progress\"):_vm._e(),(_vm.value === 'done' || _vm.value === 'none')?_vm._t(\"quiet\"):_vm._e(),(_vm.value === 'done')?_vm._t(\"done\"):_vm._e(),(_vm.value === 'error')?_vm._t(\"error\"):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JobProgress.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JobProgress.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./JobProgress.vue?vue&type=template&id=3c14fee0&\"\nimport script from \"./JobProgress.vue?vue&type=script&lang=js&\"\nexport * from \"./JobProgress.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","import { QueryDispatcher } from \"../../shared/domain/QueryDispatcher\";\n\nexport class GetFiscalLocationInfoQuery {\n constructor(\n private readonly dispatcher: QueryDispatcher,\n private readonly frontend: any,\n ) { }\n\n async run(): Promise {\n try {\n this.frontend.fiscal_locations = await this.dispatcher.dispatch('get.fiscal.location.info', {});\n } catch(error) {\n console.error(\"GetFiscalLocationInfoQuery - Error: \", error);\n }\n\n return {}\n }\n}","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./InvoiceLinesEditorSimplified.vue?vue&type=style&index=0&id=ffb29b9e&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppPageCard.vue?vue&type=style&index=0&lang=css&\"","import { QueryDispatcher } from \"../../shared/domain/QueryDispatcher\";\n\nexport class AutocompleteCompanyData {\n constructor(\n private readonly dispatcher: QueryDispatcher,\n private readonly frontend,\n ) {}\n\n async run(cif: string): Promise {\n let args = {cif:cif}\n let data = await this.dispatcher.dispatch('company.data', args)\n if (data.status === '200') {\n let b = await this.frontend.confirm(data)\n if(b){\n this.frontend.cru_cif = data.data['cif']\n this.frontend.cru_name = data.data['name']\n this.frontend.cru_alias = data.data['comercial_names'].toString()\n this.frontend.cru_address = data.data['address']\n this.frontend.cru_zip_code = data.data['zip_code']\n this.frontend.cru_province = data.data['province']\n this.frontend.cru_city = data.data['city']\n this.frontend.cru_country = data.data['country']\n this.frontend.cru_email = data.data['email']\n this.frontend.cru_phone = data.data['phones'].toString()\n this.frontend.cru_website = data.data['websites'].toString().split(',')[0]\n }\n }else {\n return await this.frontend.showNotFoundMessage()\n }\n }\n}","module.exports = __webpack_public_path__ + \"img/bank-uncheck-reviewed.3fc983df.svg\";","module.exports = __webpack_public_path__ + \"img/btn-plus.27de0e23.svg\";","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./PolicyDialogLink.vue?vue&type=style&index=0&id=9a5d0a08&scoped=true&lang=css&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppConfirmModalTitle.vue?vue&type=style&index=0&id=5693657b&scoped=true&lang=css&\"","import { EntityType,EntityInstance} from \"./Entities\";\n\nexport class EntitiesListScreenData {\n\n availableFilters: Object;\n filters: Array;\n types: EntityType[];\n selectedType: EntityType;\n instances: EntityInstance[];\n selectedItems: Array;\n loadingItems: boolean;\n footerItemsPerPageText: string;\n footerItemsPerPageOptions: Object;\n showSelect: boolean;\n textNoResults: string;\n textLoading: string;\n itemKey: string;\n serverTotalItems: number;\n sort_by: string;\n limit: number;\n offset: number;\n delete_pop_up: boolean;\n download_pop_up: boolean;\n loadingDelete: boolean;\n loadingDownload: boolean;\n //snackbar: Object;\n constructor(){\n this.availableFilters = {\n downloaded: {\n 'name': 'downloaded',\n 'label': 'Descargados',\n 'user_values': [\n { value: true, text: 'Sí'},\n { value: false, text: 'No'},\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-download-box',\n 'text':''\n },\n },\n this.filters = []\n this.types = []\n this.selectedType = null\n this.instances = []\n this.selectedItems = []\n this.loadingItems = false\n this.footerItemsPerPageText = \"Items por página\"\n this.footerItemsPerPageOptions = [5, 10, 15, 20, 25, 30, 35, 40, 45, 50]\n this.showSelect = false\n this.textNoResults = \"No se encontraron resultados\"\n this.textLoading = \"Cargando...\"\n this.itemKey = \"uuid\"\n this.serverTotalItems = 0\n this.sort_by = \"\"\n this.limit = 10\n this.offset = 0\n //this.snackbar = {}\n this.delete_pop_up = false\n this.download_pop_up = false\n this.loadingDelete = false\n this.loadingDownload = false\n }\n\n\n}","import { QueryDispatcher } from \"@/modules/shared/domain/QueryDispatcher\";\n\nexport class GetCurrencyCodeListQuery {\n constructor(\n private readonly dispatcher: QueryDispatcher,\n private readonly frontend,\n ) { }\n\n async run(): Promise {\n let args = {}\n let res = await this.dispatcher.dispatch('currency_code_list.data', args)\n if (res) {\n this.frontend.available_currencies = res\n }\n }\n}","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./InvoiceDetectedInfo.vue?vue&type=style&index=0&id=72346988&scoped=true&lang=css&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./SelectorEmpresa.vue?vue&type=style&index=0&id=1e9f16ee&scoped=true&lang=css&\"","import { client } from \"./client\";\n\nconst ROUTES = {\n getCountries: () => `/countries/`,\n};\n\nexport const countries = {\n getCountries: (auth) => {\n return client.get(ROUTES.getCountries(),auth);\n },\n};\n","import { client } from \"./client\";\n\nconst ROUTES = {\n getDocument: docId => `/documents/${docId}/`,\n getTextTagging: (docId, offset, limit) => `/get_text_tagging/${docId}/${offset}/${limit}/`,\n patchDocument: docId => `/documents/${docId}/`,\n saveRotation: () => `/save_rotation/`,\n continueFlow: () => `/continue_flow/`,\n listDocuments: ({ limit, offset, statesFilter, id, company_id, filters, kind, sort }) => `documents/?dummy=0${!!company_id?`&company_id=${company_id}`: ''}${!!kind?`&kind=${kind}`: ''}${!!id?`&id=${id}`: ''}${!!limit?`&limit=${limit}`: ''}${!!offset?`&offset=${offset}`: ''}${!!statesFilter?`&state__in=${statesFilter}`: ''}${!!filters?`${filters}`: ''}${!!sort ? `&ordering=${sort}` : ''}`,\n listDeletedDocuments: ({ limit, offset, statesFilter, id, company_id, filters, kind, sort }) => `deleted_documents/?dummy=0${!!company_id?`&company_id=${company_id}`: ''}${!!kind?`&kind=${kind}`: ''}${!!id?`&id=${id}`: ''}${!!limit?`&limit=${limit}`: ''}${!!offset?`&offset=${offset}`: ''}${!!statesFilter?`&state__in=${statesFilter}`: ''}${!!filters?`${filters}`: ''}${!!sort ? `&ordering=${sort}` : ''}`,\n // listDocuments: () => `documents/`,\n // getDocumentStates: () => `get_document_states/`,\n getDocumentStates: ({ companydb_id, filters }) => `get_document_states/?companydb_id=${companydb_id}${filters}`,\n getRetryDetectionStates: () => 'get_retry_detection_states/', \n updateAccountMoves: () => `update_account_moves/`,\n multiContinueFlow: () => `multi_continue_flow/`,\n multiRetryAll: () => `multi_retry_all/`,\n createDocumentBatch: () => `/document_batch/`,\n urlCreateInvoiceLine: () => 'create_invoice_line/',\n urlDeleteInvoiceLine: () => 'delete_invoice_line/'\n};\n\nlet listDocumentsBase = ({page, itemsPerPage, filters, currentCompanyId, statesFilter, documentsListId, kind, sortField, sortOrder}, route = ROUTES.listDocuments) => {\n let qs = {company_id: currentCompanyId, };\n if (itemsPerPage) {\n let offset = (page - 1) * itemsPerPage;\n qs = { ...qs, limit: itemsPerPage, offset, }\n }\n if (statesFilter) {\n qs = { ...qs, statesFilter, }\n }\n if (documentsListId) {\n qs = { ...qs, id: documentsListId, }\n } \n if (filters) {\n qs = { ...qs, filters, }\n }\n if (kind) {\n qs = { ...qs, kind, }\n }\n if (sortField) {\n const orderMapping = {\n state_display: 'state',\n kind_display: 'supplierdb',\n }\n const mappedSortField = orderMapping[sortField] || sortField;\n qs = {...qs, sort: `${sortOrder ? '-' : ''}${mappedSortField}`};\n }\n // return documents.rec_get(qs,count)\n let url = route({ ...qs });\n return client.get(url);\n }\n\nlet get_text_tagging = (id,offset,limit) => {\n return new Promise((resolve, reject)=> {\n let text_tagging = []\n client.get(ROUTES.getTextTagging(id,offset,limit)).then(resp => {\n for( let i in resp.data.text_tagging){\n let tagging = resp.data.text_tagging[i]\n while(tagging.page>=text_tagging.length){\n text_tagging.push([])\n }\n if(!tagging.label){\n tagging.label={'human':'background','human_payroll':'background'}\n }\n text_tagging[tagging.page].push(tagging)\n } \n if(offset+limit>resp.data.count){\n resolve(text_tagging)\n }\n else{\n get_text_tagging(id,offset+limit,limit).then(resp => {\n for( let i in resp){\n let page = resp[i]\n while(i>=text_tagging.length){\n text_tagging.push([])\n }\n text_tagging[i] = text_tagging[i].concat(page)\n } \n resolve(text_tagging)\n })\n }\n }).catch(err=>reject(err))\n })\n}\n\nlet set_text_tagging_format = (text_tagging_pages) => {\n let text_tagging = []\n for( let i in text_tagging_pages){\n let page = text_tagging_pages[i]\n for( let j in page){\n let tagging = page[j]\n text_tagging.push(tagging)\n }\n }\n return text_tagging\n}\n\nexport const documents = {\n get_text_tagging: get_text_tagging,\n getDocument: ({ id }) => {\n return new Promise((resolve, reject)=> {\n client.get(ROUTES.getDocument(id)).then(resp => {\n resolve(resp)\n // let offset = 0;\n // let limit = 5000;\n // get_text_tagging(id,offset,limit).then(text_tagging => {\n // resp.data.text_tagging = text_tagging\n // resolve(resp)\n // }).catch(err=>{\n // reject(err)\n // })\n \n }).catch(err=>{\n reject(err)\n })\n })\n \n },\n patchDocument: ({\n id,\n text_tagging,\n state,\n companydb,\n supplierdb,\n customerdb,\n comment,\n tags,\n kind,\n metadata,\n forced_move,\n actividad,\n project,\n channel,\n inversion_sujeto_pasivo_igic,\n inversion_sujeto_pasivo_iva,\n inversion_sujeto_pasivo_igic_percent,\n inversion_sujeto_pasivo_iva_percent,\n intracomunitario,\n intracomunitario_percent,\n intracomunitario_type,\n extracomunitario,\n no_sujeta,\n bien_inversion,\n written_description,\n description,\n importaciones_percent,\n iva_igic_no_deducible,\n comerciante_minorista,\n gasto_iva_parcial,\n iva_parcial,\n gasto_iva_percent,\n accounting_date_config,\n default_accounting_date,\n registro_date_config,\n default_registro_date,\n punteado,\n prorate,\n building_code,\n apply_modelo,\n apply_415,\n serie,\n doc_number,\n doc_number_prefix,\n retention_type_name,\n notes,\n currency,\n expens_income_type,\n }) => {\n return new Promise((resolve, reject)=> {\n if(project == undefined)\n project = null;\n if (channel == undefined)\n channel = null;\n if (expens_income_type == undefined)\n expens_income_type = null;\n if(supplierdb == undefined)\n supplierdb = null;\n if(customerdb == undefined)\n customerdb = null;\n\n if(text_tagging){\n text_tagging = set_text_tagging_format(text_tagging)\n }\n\n if(notes == undefined) {\n notes = '';\n }\n client.patch(ROUTES.patchDocument(id), {\n text_tagging,\n state,\n companydb,\n supplierdb,\n customerdb,\n comment,\n tags,\n kind,\n metadata,\n currency,\n forced_move,\n actividad,\n project,\n channel,\n inversion_sujeto_pasivo_igic,\n inversion_sujeto_pasivo_iva,\n inversion_sujeto_pasivo_igic_percent,\n inversion_sujeto_pasivo_iva_percent,\n intracomunitario,\n intracomunitario_percent,\n intracomunitario_type,\n extracomunitario,\n no_sujeta,\n bien_inversion,\n written_description,\n description,\n importaciones_percent,\n iva_igic_no_deducible,\n comerciante_minorista,\n gasto_iva_parcial,\n iva_parcial,\n gasto_iva_percent,\n accounting_date_config,\n default_accounting_date,\n registro_date_config,\n default_registro_date,\n punteado,\n prorate,\n building_code,\n apply_modelo,\n apply_415,\n serie,\n doc_number,\n doc_number_prefix,\n retention_type_name,\n notes,\n expens_income_type,\n }).then(resp => {\n let offset = 0;\n let limit = 5000;\n get_text_tagging(id,offset,limit).then(text_tagging => {\n resp.data.text_tagging = text_tagging\n resolve(resp)\n }).catch(err=>{\n reject(err)\n })\n }).catch(err=>{\n reject(err)\n })\n })\n },\n saveRotation: ({ id, globalRotation, rotationPerDocument}) => {\n return client.post(\n ROUTES.saveRotation(),\n { id, globalRotation, rotationPerDocument }\n );\n },\n continueFlow: ({\n id,\n id_document,\n text_tagging,\n metadata,\n supplierdb,\n customerdb,\n accountMoves,\n manually_fixed,\n kind,\n cancel_edit,\n dirty,\n actividad,\n project,\n channel,\n expens_income_type,\n inversion_sujeto_pasivo_igic,\n inversion_sujeto_pasivo_iva,\n inversion_sujeto_pasivo_igic_percent,\n inversion_sujeto_pasivo_iva_percent,\n intracomunitario,\n intracomunitario_percent,\n intracomunitario_type,\n extracomunitario,\n no_sujeta,\n bien_inversion,\n written_description,\n description,\n importaciones_percent,\n iva_igic_no_deducible,\n comerciante_minorista,\n gasto_iva_parcial,\n iva_parcial,\n gasto_iva_percent,\n accounting_date_config,\n default_accounting_date,\n registro_date_config,\n default_registro_date,\n punteado,\n prorate,\n actividad_str,\n building_code,\n apply_modelo,\n apply_415,\n serie,\n doc_number,\n doc_number_prefix,\n retention_type_name,\n criterio_de_caja,\n is_comerciante_minorista,\n inv_number_to_rectify,\n inv_date_to_rectify,\n is_comerciante_minorista_percent,\n description_sii,\n written_description_sii,\n continue_flow_doc,\n payment_account,\n charge_account,\n notes,\n currency,\n fiscal_location,\n }) => {\n if(supplierdb==undefined)\n supplierdb=null\n if(customerdb==undefined)\n customerdb=null\n if(text_tagging){\n text_tagging = set_text_tagging_format(text_tagging).slice(0, 3000)\n }\n return client.post(ROUTES.continueFlow(), {\n id,\n id_document,\n text_tagging,\n metadata,\n supplierdb,customerdb,\n accountMoves,\n manually_fixed,\n kind,cancel_edit,\n dirty,\n actividad,\n project,\n channel,\n expens_income_type,\n inversion_sujeto_pasivo_igic,\n inversion_sujeto_pasivo_iva,\n inversion_sujeto_pasivo_igic_percent,\n inversion_sujeto_pasivo_iva_percent,\n intracomunitario,\n intracomunitario_percent,\n intracomunitario_type,\n extracomunitario,\n no_sujeta,\n bien_inversion,\n written_description,\n description,\n importaciones_percent,\n iva_igic_no_deducible,\n comerciante_minorista,\n gasto_iva_parcial,\n iva_parcial,\n gasto_iva_percent,\n accounting_date_config,\n default_accounting_date,\n registro_date_config,\n default_registro_date,\n punteado,\n prorate,\n actividad_str,\n building_code,\n apply_modelo,\n apply_415,\n serie,\n doc_number,\n doc_number_prefix,\n retention_type_name,\n criterio_de_caja,\n is_comerciante_minorista,\n inv_number_to_rectify,\n inv_date_to_rectify,\n is_comerciante_minorista_percent,\n description_sii,\n written_description_sii,\n continue_flow_doc,\n payment_account,\n charge_account,\n notes,\n currency,\n fiscal_location,\n });\n },\n // rec_get:(qs,count) =>{\n // let p = new Promise((resolve,reject)=>{\n // if(Object.keys(qs).includes('limit') && qs.limit>100 && count > qs.offset+100){\n // let qs2 = { ...qs, limit: 100}\n // client.get(ROUTES.listDocuments({ ...qs2 })).then(res=>{\n // let qs3 = { ...qs, offset: qs.offset+100, limit: qs.limit - 100, }\n // count= res.data.count\n // documents.rec_get(qs3).then((res2)=>{\n // res.data.results = res.data.results.concat(res2.data.results)\n // resolve(res)\n // }).catch(e=>{\n // reject(e)\n // });\n // }).catch(e=>{\n // reject(e)\n // });\n // }\n // else{\n // client.get(ROUTES.listDocuments({ ...qs })).then(res=>{\n // resolve(res)\n // }).catch(e=>{\n // reject(e)\n // });\n // }\n // })\n // return p\n \n // },\n listDocuments: (qs) => {\n return listDocumentsBase(qs)\n },\n getDocumentStates: ({ currentCompanyId, filts }) => {\n let qs = {companydb_id: currentCompanyId, filters: filts};\n let url = ROUTES.getDocumentStates({ ...qs });\n let params = { params: { ...qs } };\n return client.get(url, { params });\n },\n getRetryDetectionStates: () => {\n let url = ROUTES.getRetryDetectionStates();\n return client.get(url)\n },\n\n updateAccountMoves: ({ accountMoves }) => {\n let qs = {account_moves: accountMoves, };\n let url = ROUTES.updateAccountMoves({ ...qs });\n let params = { params: { ...qs } };\n return client.post(url, { params });\n },\n multiContinueFlow: (params) => {\n let url = ROUTES.multiContinueFlow();\n return client.post(url, params);\n },\n multiRetryAll: (ids) => {\n let url = ROUTES.multiRetryAll(ids);\n return client.post(url, ids);\n },\n createDocumentBatch: (companyDBId, userId, files) => {\n let url = ROUTES.createDocumentBatch();\n const formData = new FormData();\n formData.append('company_db', companyDBId);\n formData.append('user', userId);\n formData.append('files', files);\n return client.post(url, formData);\n },\n listDeletedDocuments: (qs) =>{\n return listDocumentsBase(qs,ROUTES.listDeletedDocuments)\n },\n createInvoiceLine(data){\n const formData = new FormData();\n let url = ROUTES.urlCreateInvoiceLine();\n formData.append('invoice_line_id',data.invoice_line_id); \n formData.append('document_id',data.document_id); \n formData.append('total_cost',data.total_cost);\n formData.append('gross_amount',data.gross_amount);\n formData.append('unit_price_without_tax',data.unit_price_without_tax);\n formData.append('quantity', data.quantity);\n formData.append('description', data.description);\n formData.append('TaxesOutputs',data.TaxesOutputs);\n formData.append('metadata' , JSON.stringify(data.metadata));\n return client.post(url,formData);\n },\n updateInvoiceLine(url){\n const formData = new FormData();\n formData.append('datos','datos') \n return client.post(url,formData);\n },\n deleteInvoiceLine(data){\n const formData = new FormData();\n let url = ROUTES.urlDeleteInvoiceLine();\n formData.append('document_id',data.document_id);\n formData.append('invoice_line_id',data.invoice_line_id); \n return client.post(url,formData);\n },\n \n};\n","import { client } from \"./client\";\n\nconst ROUTES = {\n createMoveLines: () => `/create_move_lines/`,\n};\n\nexport const accounts = {\n createMoveLines: ({ id }) => {\n return client.get(ROUTES.createMoveLines(), {\n params: {\n id\n }\n });\n },\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[((!_vm.mutableList || _vm.mutableList.length == 0) && !_vm.show)?_c('div',[_vm._v(\"\\n Añadir referencia\\n \"),_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.show=!_vm.show; _vm.add_ref()}}},[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)],1):(!_vm.show)?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.mutableList.length)+\" referencias \\n \"),_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.show=true}}},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1)],1):_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.mutableList.length)+\" referencias \\n \"),_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.show=false;_vm.clear_ref_list()}}},[_c('v-icon',[_vm._v(\"mdi-arrow-up-thick\")])],1)],1),(_vm.show)?_c('div',{key:\"mutableList.length\"},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"text-center table-head primary--text\",attrs:{\"cols\":\"10\"}},[_vm._v(\"\\n Referencias\\n \")]),_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-btn',{staticClass:\"ma-0 pa-4\",attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.add_ref()}}},[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)],1)],1),_vm._l((_vm.mutableList),function(ref,i){return _c('v-row',{key:i,attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"table-row ma-0 pa-0\",attrs:{\"cols\":\"10\"}},[_c('doc-text-field',{attrs:{\"hide-details\":true,\"autocomplete\":\"off\"},on:{\"input\":_vm.update},model:{value:(_vm.mutableList[i]),callback:function ($$v) {_vm.$set(_vm.mutableList, i, $$v)},expression:\"mutableList[i]\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.remove_ref(i)}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)],1)],1)})],2):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetailReferenceSimple.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetailReferenceSimple.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DetailReferenceSimple.vue?vue&type=template&id=744abff0&scoped=true&\"\nimport script from \"./DetailReferenceSimple.vue?vue&type=script&lang=js&\"\nexport * from \"./DetailReferenceSimple.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DetailReferenceSimple.vue?vue&type=style&index=0&id=744abff0&scoped=true&lang=css&\"\nimport style1 from \"./DetailReferenceSimple.vue?vue&type=style&index=1&id=744abff0&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 \"744abff0\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow})\n","module.exports = __webpack_public_path__ + \"img/bank-assert-rule-disabled.616d19f0.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[_c('app-page-card',{attrs:{\"isInModal\":_vm.isInModal,\"isHeaderFixed\":_vm.isHeaderFixed},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_vm._v(\"\\n Alta/Modificación de \"+_vm._s(_vm.objectName)+_vm._s(_vm.thirdName||_vm.thirdCif ? ': ' : '')),(_vm.thirdName || _vm.thirdCif)?_c('span',{staticClass:\"creation-object__title__company-name\"},[_vm._v(_vm._s(_vm.thirdName)+\" (\"+_vm._s(_vm.thirdCif)+\")\")]):_vm._e()]},proxy:true},{key:\"header-actions\",fn:function(){return [_c('v-toolbar',{attrs:{\"flat\":\"\",\"dense\":\"\"}},[(_vm.isInModal)?_c('app-btn',{staticClass:\"mr-2 btn-cancel\",attrs:{\"outlined\":\"\"},nativeOn:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('cancel')}}},[_vm._v(\"\\n Cancelar\\n \")]):_vm._e(),(_vm.id)?_c('app-btn',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.hideSaveBtn),expression:\"!hideSaveBtn\"}],staticClass:\"btn-save\",attrs:{\"color\":\"primary\",\"loading\":_vm.creating},nativeOn:{\"click\":function($event){$event.stopPropagation();return _vm.preUpdateObject()}}},[_vm._v(\"\\n Guardar\\n \")]):_c('app-btn',{staticClass:\"btn-create\",attrs:{\"color\":\"primary\",\"loading\":_vm.creating},nativeOn:{\"click\":function($event){$event.stopPropagation();return _vm.createObject()}}},[_vm._v(\"\\n Guardar\\n \")])],1)]},proxy:true}])},[_c('template',{slot:\"tabs-title\"},[_vm._t(\"tabs-title\")],2),(_vm.loading)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):_c('v-container',{attrs:{\"fluid\":\"\"}},[_vm._t(\"inputs\")],2),_c('v-snackbar',{model:{value:(_vm.snackbar),callback:function ($$v) {_vm.snackbar=$$v},expression:\"snackbar\"}},[_vm._v(\"\\n Se han guardado los cambios\\n \"),_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.snackbar = false}}},[_vm._v(\"\\n Cerrar\\n \")])],1)],2),_c('app-confirm-modal',{attrs:{\"text-msg\":_vm.applyChangesAllDocsMsg,\"text-question\":_vm.applyChangesAllDocsQtn,\"text-confirm-button\":\"Aplicar\",\"text-cancel-button\":\"No aplicar\"},on:{\"confirm\":function($event){return _vm.answerApplyChangesAllDocs(true)},\"cancel\":function($event){return _vm.answerApplyChangesAllDocs(false)}},model:{value:(_vm.applyChangesAllDocsDialog),callback:function ($$v) {_vm.applyChangesAllDocsDialog=$$v},expression:\"applyChangesAllDocsDialog\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { CommandDispatcher } from \"@/modules/shared/domain/CommandDispatcher\";\n\nexport class CountThirdDocsPendingCommand {\n constructor(\n private readonly dispatcher: CommandDispatcher,\n ) { }\n run(third_id, third_kind): Promise { \n let args = {third_id: third_id, third_kind: third_kind};\n try {\n return this.dispatcher.dispatch('count.third.docs.pending', args);\n } catch(error) {\n console.error('Error al consultar los documentos no contabilizados del tercero', error);\n }\n }\n}","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreationObject.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreationObject.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CreationObject.vue?vue&type=template&id=5a7f27fa&scoped=true&\"\nimport script from \"./CreationObject.vue?vue&type=script&lang=js&\"\nexport * from \"./CreationObject.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CreationObject.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./CreationObject.vue?vue&type=style&index=1&id=5a7f27fa&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 \"5a7f27fa\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VContainer,VProgressCircular,VSnackbar,VToolbar})\n","module.exports = __webpack_public_path__ + \"img/bank-account-switch-disabled.6a99a20a.svg\";","module.exports = __webpack_public_path__ + \"img/bank-add-transaction.253124c5.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{staticClass:\"fill-height fill-width ma-0 pa-0\",attrs:{\"justify\":\"center\"}},[_c('v-col',{staticClass:\"d-flex justify-center align-center ma-0 pa-0\"},[_c('v-card',{staticClass:\"rounded-10\",attrs:{\"width\":\"100%\",\"color\":_vm.color,\"elevation\":_vm.isInModal ? 0 : undefined},on:{\"drop\":function (e) { return _vm.$emit('drop', e); },\"dragover\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.$emit('dragover')},\"dragleave\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.$emit('dragleave')}}},[_c('div',{class:{ 'static-header': _vm.isHeaderFixed },style:(_vm.headerFixStyle)},[_c('v-card-title',{staticClass:\"primary--text text--darken-2 py-1 px-8 d-flex fixed-title-height \"},[_c('v-row',{staticClass:\"align-center\"},[_c('v-col',{staticClass:\"flex-grow-1\"},[_c('h1',{staticClass:\"app-page-card__header overflow-hidden\"},[_vm._t(\"header\")],2)]),(_vm.$slots['header-actions'])?_c('div',{staticClass:\"d-flex flex-shrink-1 pa-0\"},[_c('v-spacer'),_vm._t(\"header-actions\")],2):_vm._e()],1)],1),_c('v-divider'),(_vm.$slots['tabs-title'])?_c('v-card-subtitle',{staticClass:\"primary--text text--darken-2 d-flex fixed-title-height pa-0 ma-0\"},[_c('v-row',{staticClass:\"ma-0 pa-0\"},[_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\"}},[_vm._t(\"tabs-title\")],2)],1)],1):_vm._e()],1),_c('v-card-text',{staticClass:\"pt-0 px-0\"},[_vm._t(\"default\")],2)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppPageCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppPageCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppPageCard.vue?vue&type=template&id=501d98c7&\"\nimport script from \"./AppPageCard.vue?vue&type=script&lang=js&\"\nexport * from \"./AppPageCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppPageCard.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCard,VCardSubtitle,VCardText,VCardTitle,VCol,VDivider,VRow,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{style:(_vm.appBg)},[(_vm.showLegalDialog)?_c('LegalDialog',{attrs:{\"title\":\"Condiciones de venta\"},model:{value:(_vm.sellTermsDialog),callback:function ($$v) {_vm.sellTermsDialog=$$v},expression:\"sellTermsDialog\"}},[_c('SaleTerms')],1):_vm._e(),(_vm.showAppBar)?_c('v-app-bar',{staticClass:\"appBar\",attrs:{\"app\":\"\",\"height\":\"75\",\"dark\":\"\",\"clipped-left\":\"\",\"clipped-right\":\"\"}},[(_vm.showBurger)?_vm._m(0):_vm._e(),(_vm.userData)?[(_vm.appCustomLogo)?_c('v-img',{staticClass:\"dragBar white__brand__logo\",class:{'mr-3': _vm.is_mobile},attrs:{\"transition\":false,\"src\":_vm.appCustomLogo,\"contain\":\"\",\"max-width\":_vm.imgWidth}}):_c('v-img',{staticClass:\"dragBar ml-2\",class:{'mr-3': _vm.is_mobile},attrs:{\"transition\":false,\"src\":_vm.imgSrc,\"contain\":\"\",\"max-width\":_vm.imgWidth}})]:_vm._e(),_c('v-spacer'),(_vm.showCDBSelector)?_c('SelectorEmpresa',{attrs:{\"name\":\"SelectorEmpresa\",\"value\":_vm.currentCompany,\"items\":_vm.get_companydbs,\"readonly\":_vm.isReadonlyCDBSelector},on:{\"gotInput\":_vm.updateCurrentCompany,\"changed\":_vm.set_suppliers}}):_vm._e(),(_vm.permission && (_vm.permission.general.can_admin || _vm.permission.is_employee) && _vm.showCDBSelector && !_vm.is_mobile)?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"white\",\"dark\":\"\"},on:{\"click\":_vm.openEditCompanyDB}},[_vm._m(1)],1):_vm._e(),(_vm.got_feature('feature_sync_thirds_invoice_list') && _vm.permission && (_vm.permission.general.can_admin || _vm.permission.is_employee) && _vm.showCDBSelector && !_vm.is_mobile && _vm.currentCompany.id && _vm.refreshAccountsState != 'pending')?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"color\":\"white\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.refresh_accounts()}}},'v-btn',attrs,false),on),[_vm._m(2)],1)]}}],null,false,831369971)},[_c('span',[_vm._v(\"Actualizar Proveedores y Clientes de la Empresa\")])]):_vm._e(),(_vm.got_feature('feature_sync_thirds_invoice_list') && _vm.permission && (_vm.permission.general.can_admin || _vm.permission.is_employee) && _vm.showCDBSelector && !_vm.is_mobile && _vm.refreshAccountsState === 'pending')?_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_vm._e(),(_vm.showForceDownloadLoadPathFiles)?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"color\":\"white\",\"loading\":_vm.forceDownloadLoading},on:{\"click\":function($event){return _vm.forceDownloadLoadPath()}}},'v-btn',attrs,false),on),[_c('v-icon',{staticClass:\"material-symbols-outlined\"},[_vm._v(\"cloud_download\")])],1)]}}],null,false,833970396)},[_c('span',[_vm._v(\"Forzar descarga de los puntos de carga\")])]):_vm._e(),(_vm.fetching_companydbs && _vm.showBtnGeneric)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"secundary\"}}):_vm._e(),_c('v-spacer'),(this.currentCompany && this.currentCompany.available_features && (this.currentCompany.available_features.feature_kit_digital || this.currentCompany.available_features.feature_kit_digital_2))?_c('span',[_vm._v(_vm._s(_vm.userData.business_name))]):_vm._e(),(this.currentCompany && this.currentCompany.available_features && !this.currentCompany.available_features.feature_kit_digital && !this.currentCompany.available_features.feature_kit_digital_2)?_c('span',{staticStyle:{\"display\":\"contents\"}},[(_vm.userData.is_staff && !_vm.is_mobile)?_c('v-btn',{staticStyle:{\"background-color\":\"transparent !important\"},attrs:{\"color\":\"primary\",\"elevation\":\"0\"},on:{\"click\":_vm.change_debugger_mode}},[_c('div',[_c('v-switch',{staticClass:\"pt-6\",attrs:{\"label\":(\"DBM: \" + (_vm.user_data_can_debug_documents?'Sí':'No'))},model:{value:(_vm.user_data_can_debug_documents),callback:function ($$v) {_vm.user_data_can_debug_documents=$$v},expression:\"user_data_can_debug_documents\"}})],1)]):_vm._e(),(_vm.userData.is_staff && !_vm.is_mobile)?_c('v-btn',{staticStyle:{\"background-color\":\"transparent !important\"},attrs:{\"color\":\"primary\",\"elevation\":\"0\"},on:{\"click\":_vm.change_trainer_mode}},[_c('div',[_c('v-switch',{staticClass:\"pt-6\",attrs:{\"label\":(\"TM: \" + (_vm.user_data_can_see_training_documents?'Sí':'No'))},model:{value:(_vm.user_data_can_see_training_documents),callback:function ($$v) {_vm.user_data_can_see_training_documents=$$v},expression:\"user_data_can_see_training_documents\"}})],1)]):_vm._e(),(_vm.isLoginas && _vm.userData.user_role.name!='Propietario')?_c('div',[_vm._v(_vm._s(_vm.userData.user_role.name))]):_vm._e(),(_vm.isLoginas)?_c('v-btn',{staticClass:\"black--text btn_without_caps\",attrs:{\"color\":_vm.get_color_loginas(),\"rounded\":\"\"},on:{\"click\":_vm.unset_loginas}},[_vm._v(\"\\n \"+_vm._s(_vm.userData.username)+\"\\n \")]):_vm._e(),_vm._v(\"\\n   \\n\\n \"),(_vm.isLoginas)?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\"}},'v-btn',attrs,false),on),[_c('v-img',{staticClass:\"img-top-navigation\",attrs:{\"src\":\"/navigation/location_home.svg\"}})],1)]}}],null,false,1866793509)},[_c('span',[_vm._v(_vm._s(_vm.userData.user_role.name))])]):_vm._e(),(_vm.userData.is_staff || _vm.isLoginas)?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"white\",\"dark\":\"\",\"href\":_vm.$router.resolve({name: 'debug'}).href}},[_vm._m(3)],1):_vm._e(),(this.userData.available_features.feature_user_notifications && _vm.notifications.length)?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"#FFED00\",\"dark\":\"\"},on:{\"click\":function($event){_vm.show_notifications_modal = true}}},[_vm._m(4)],1):_vm._e(),((this.userData.available_features.feature_bank_contract_finished || this.userData.available_features.feature_defaulter_user || this.userData.available_features.feature_show_triangle_contracts) && this.userData.available_features.feature_payment_on_inmatic && !this.userData.sender_docs_user_distributor_code)?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"#FF3333\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.openContractModal({'msg': 'Tu contrato ha expirado o ha excedido el número máximo de documentos.', 'distributor': false, 'facturae_client': false})}}},[_vm._m(5)],1):_vm._e(),(this.userData.available_features.feature_can_buy_facturae && this.userData.available_features.feature_payment_on_inmatic && !this.userData.sender_docs_user_distributor_code)?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"#FF3333\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.openContractModal({'msg': 'Tu contrato de Facturas Electrónicas ha expirado o esta a punto de expirar.', 'distributor': false, 'facturae_client': false})}}},[_vm._m(6)],1):_vm._e(),((this.userData.available_features.feature_bank_contract_is_going_to_finish ||this.userData.available_features.feature_contract_is_going_to_finish) && this.userData.available_features.feature_payment_on_inmatic && !this.userData.sender_docs_user_distributor_code)?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"#FF3333\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.openContractModal({'msg': 'Tu contrato está a punto de expirar o de exceder el número máximo de documentos.', 'distributor': false, 'facturae_client': false})}}},[_vm._m(7)],1):_vm._e(),((this.userData.available_features.feature_bank_trial_contract_is_finished || this.userData.available_features.feature_trial_contract_is_finished) && this.userData.available_features.feature_payment_on_inmatic && !this.userData.sender_docs_user_distributor_code)?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"#FF3333\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.openContractModal({'msg': 'Tu contrato es de prueba, cuando expire el periodo de prueba o se excedan el número de documentos de prueba necesitarás contratar un plan.', 'distributor': false, 'facturae_client': false})}}},[_vm._m(8)],1):_vm._e(),(this.userData.available_features.feature_accounting_stopped)?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"#FFED00\",\"dark\":\"\"},on:{\"click\":function($event){_vm.show_accounting_critical_error_msg = true}}},[_vm._m(9)],1):_vm._e(),(!_vm.is_mobile)?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.session_information.username)+\"\\n \")]):_vm._e()],1):_vm._e(),(_vm.showBtnGeneric)?_c('v-menu',{staticClass:\"menu\",attrs:{\"close-on-click\":true,\"close-on-content-click\":false,\"offsetY\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"color\":\"white\",\"dark\":\"\"}},'v-btn',attrs,false),on),[_vm._m(10)],1)]}}],null,false,260939443),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c('v-list',{attrs:{\"id\":\"account-menu\"}},[_c('v-list-item-group',{attrs:{\"color\":\"primary\"}},_vm._l((_vm.user_items),function(item,index){return _c('div',{key:index},[(item.items)?_c('v-list-group',{staticClass:\"list-title\",class:{highlighted: item.highlighted, list: true},attrs:{\"value\":false,\"no-action\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c('v-list-item-title',{staticClass:\"list-title\"},[_vm._v(_vm._s(item.title))])]},proxy:true}],null,true)},_vm._l((item.items),function(subitem,i){return _c('div',{key:i},[(subitem.href)?_c('v-list-item',{class:{highlighted: subitem.highlighted, list: true},attrs:{\"href\":subitem.href,\"download\":subitem.filename},on:{\"click\":function($event){_vm.menu=false}}},[_c('v-list-item-title',{staticClass:\"list-title pl-4\"},[_vm._v(_vm._s(subitem.title))])],1):_c('v-list-item',{class:{highlighted: subitem.highlighted, list: true},on:{\"click\":function($event){return subitem['click']()}}},[_c('v-list-item-title',{staticClass:\"list-title pl-4\"},[_vm._v(_vm._s(subitem.title))])],1)],1)}),0):_c('v-list-item',{class:{highlighted: item.highlighted, list: true},on:{\"click\":function($event){return item['click']()}}},[_c('v-list-item-title',{staticClass:\"list-title\"},[_vm._v(_vm._s(item.title)+\" \"),(item.icon)?_c('v-icon',[_vm._v(_vm._s(item.icon))]):_vm._e()],1)],1)],1)}),0)],1)],1):_vm._e(),(_vm.isElectron)?_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.electronReload()}}},[_vm._m(11)],1):_vm._e(),(_vm.got_feature('interactive_connector')&&_vm.isElectron && !_vm.interactiveConectorStarted)?_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.electronStartInteractiveConnector()}}},[_vm._m(12)],1):_vm._e(),(_vm.got_feature('interactive_connector')&&_vm.isElectron && _vm.interactiveConectorStarted)?_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.electronStopInteractiveConnector()}}},[_vm._m(13)],1):_vm._e(),(_vm.isElectron)?_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.electronMinimize()}}},[_vm._m(14)],1):_vm._e(),(_vm.isElectron && _vm.maximized)?_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.electronRestore()}}},[_vm._m(15)],1):_vm._e(),(_vm.isElectron && !_vm.maximized)?_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.electronMaximize()}}},[_vm._m(16)],1):_vm._e(),(_vm.isElectron)?_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.electronClose()}}},[_vm._m(17)],1):_vm._e()],2):_vm._e(),(_vm.showLeftDrawer)?_c('v-navigation-drawer',{staticClass:\"drawer main-left-drawer py-4\",attrs:{\"app\":\"\",\"clipped\":\"\",\"mini-variant\":_vm.isMini,\"mini-variant-width\":\"90\",\"width\":_vm.isMini ? '90' : '256',\"mobile-breakpoint\":960},model:{value:(_vm.drawer),callback:function ($$v) {_vm.drawer=$$v},expression:\"drawer\"}},[_vm._l((_vm.zones),function(zone,ind){return [(ind<2 || (_vm.permission.can_write))?[_c('v-list',{key:zone.heading+'3',staticClass:\"ma-0 pa-0\",attrs:{\"dense\":\"\",\"nav\":\"\"}},[_c('v-list-item-group',{staticClass:\"ma-0 pa-0\"},[_vm._l((zone.items),function(item,i){return [(item.shouldShow)?_c('sidebar-element',{key:i,attrs:{\"to\":item.link,\"new_label\":item.new_label,\"icon_type\":item.img? 'image' : 'icon',\"icon_src\":item.img ? item.img : item.icon},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_vm._v(\"\\n \"+_vm._s(item.text)+\"\\n \")]},proxy:true}],null,true)}):_vm._e()]})],2)],1)]:_vm._e()]})],2):_vm._e(),(_vm.showRightBar && _vm.permission.can_write)?_c('v-navigation-drawer',{staticClass:\"drawer\",class:_vm.got_feature('feature_new_invoice_page') ? 'transparent' : '',attrs:{\"app\":\"\",\"right\":\"\",\"width\":_vm.got_feature('feature_new_invoice_page') ? '658' : '450',\"clipped\":\"\",\"mobile-breakpoint\":\"0\"},model:{value:(_vm.drawer),callback:function ($$v) {_vm.drawer=$$v},expression:\"drawer\"}},[(_vm.documentIsDebuggerMode)?_c('RightDrawerTrainerMode'):(_vm.got_feature('feature_new_invoice_page'))?_c('RightDrawerClientModeV2'):_c('RightDrawerClientMode'),(_vm.got_feature('feature_new_invoice_page') && _vm.permission.can_write && _vm.showRightBar && _vm.currentDoc && _vm.currentDoc.companydb_info.companydb_type.type == 'account_move')?_c('account-move-v2',{key:_vm.currentDoc.id}):_vm._e()],1):_vm._e(),_c('v-main',[_c('router-view')],1),(false)?_c('Tutorial'):_vm._e(),(false && _vm.got_feature('feature_invoice_lines') && _vm.permission.can_write && _vm.showRightBar && _vm.currentDoc && _vm.currentDoc.static_invoice)?_c('invoice-lines',{key:'invoice_lines_'+_vm.currentDoc.id.toString()}):_vm._e(),(!_vm.got_feature('feature_new_invoice_page') && _vm.permission.can_write && _vm.showRightBar && _vm.currentDoc && _vm.currentDoc.companydb_info.companydb_type.type == 'account_move')?_c('account-move',{key:_vm.currentDoc.id}):_vm._e(),(_vm.showContractModal)?_c('contract-popup'):_vm._e(),_c('v-dialog',{attrs:{\"max-width\":\"800\"},model:{value:(_vm.show_notifications_modal),callback:function ($$v) {_vm.show_notifications_modal=$$v},expression:\"show_notifications_modal\"}},[_c('Notifications')],1),_c('app-confirm-modal',{attrs:{\"persistent\":_vm.persistent_payment_error,\"text-msg\":_vm.text_payment_error,\"text-center-msg\":_vm.text_center_payment_error,\"title-icon\":_vm.icon_payment_error,\"show-title\":_vm.show_title_payment_error,\"text-title\":_vm.text_title_payment_error,\"show-text-question\":_vm.show_question_payment_error,\"show-confirm-button\":_vm.show_confirm_button_payment_error,\"text-confirm-button\":_vm.text_confirm_button_payment_error,\"show-cancel-button\":_vm.show_cancel_button_payment_error},on:{\"confirm\":function($event){return _vm.closePaymentErrorModal()},\"cancel\":function($event){return _vm.closePaymentErrorModal()}},model:{value:(_vm.show_payment_error),callback:function ($$v) {_vm.show_payment_error=$$v},expression:\"show_payment_error\"}}),_c('app-confirm-modal',{attrs:{\"persistent\":_vm.persistent_payment_ok,\"text-msg\":_vm.text_payment_ok,\"text-center-msg\":_vm.text_center_payment_ok,\"title-icon\":_vm.icon_payment_ok,\"show-title\":_vm.show_title_payment_ok,\"text-title\":_vm.text_title_payment_ok,\"show-text-question\":_vm.show_question_payment_ok,\"show-confirm-button\":_vm.show_confirm_button_payment_ok,\"text-confirm-button\":_vm.text_confirm_button_payment_ok,\"show-cancel-button\":_vm.show_cancel_button_payment_ok},on:{\"confirm\":function($event){return _vm.closePaymentOkModal()},\"cancel\":function($event){return _vm.closePaymentOkModal()}},model:{value:(_vm.show_payment_ok),callback:function ($$v) {_vm.show_payment_ok=$$v},expression:\"show_payment_ok\"}}),_c('app-confirm-modal',{attrs:{\"text-msg\":_vm.textMessageModal,\"text-center-msg\":_vm.textCenterMessageModal,\"title-icon\":_vm.iconMessageModal,\"show-title\":_vm.showTitleMessageModal,\"text-title\":_vm.textTitleMessageModal,\"text-confirm-button\":_vm.textConfirmButtonMessageModal,\"show-confirm-button\":_vm.showConfirmButtonMessageModal,\"show-cancel-button\":_vm.showCancelButtonMessageModal,\"text-cancel-button\":_vm.textCancelButtonMessageModal,\"show-text-question\":_vm.showQuestionMessageModal,\"text-question\":_vm.textQuestionMessageModal,\"persistent\":_vm.persistentMessageModal,\"is-html\":_vm.htmlMessageModal},on:{\"cancel\":_vm.actionCancelButtonMessageModal,\"confirm\":_vm.actionConfirmButtonMessageModal},model:{value:(_vm.showMessageModal),callback:function ($$v) {_vm.showMessageModal=$$v},expression:\"showMessageModal\"}}),(_vm.show_accounting_critical_error_msg && _vm.userData.available_features.feature_accounting_stopped)?_c('message-popup',{attrs:{\"title\":\"Aviso\",\"message\":\"Se ha detenido la contabilización debido a que hemos detectado un error crítico al contabilizar una factura. Por favor revise en su programa contable si se han traspasado los datos de la factura que está en estado de error crítico.\",\"actions\":[{ 'action_text': 'Cancelar', 'emit': 'close-message' }, { 'action_text': 'Reanudar Contabilización', 'emit': 'start-accounting', 'prin': true }],\"show_message\":_vm.show_accounting_critical_error_msg},on:{\"close-message\":function($event){_vm.show_accounting_critical_error_msg = false},\"start-accounting\":_vm.startAccounting}}):_vm._e(),(_vm.oauth_url)?_c('message-popup',{attrs:{\"message\":_vm.oauth_msg,\"show_message\":Boolean(_vm.oauth_url),\"actions\":[{ 'action_text': 'No', 'emit': 'close-message' }, { 'action_text': 'Si', 'emit': 'connect-user', 'prin': true }]},on:{\"connect-user\":_vm.connectOauthUser,\"close-message\":_vm.closeSessionDialog}}):_vm._e(),_c('v-snackbar',{attrs:{\"color\":_vm.snackbar.color},model:{value:(_vm.snackbar.isVisible),callback:function ($$v) {_vm.$set(_vm.snackbar, \"isVisible\", $$v)},expression:\"snackbar.isVisible\"}},[_c('b',[_vm._v(_vm._s(_vm.snackbar.text))])])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app-bar-nav-icon',{staticClass:\"white--text\",on:{\"click\":function($event){_vm.drawer = !_vm.drawer}}})},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-img',{staticClass:\"img-top-navigation\",attrs:{\"src\":\"/navigation/edit_square.svg\"}})},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-account-convert\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-img',{staticClass:\"img-top-navigation\",attrs:{\"src\":\"/navigation/circle_settings.svg\"}})},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-img',{staticClass:\"img-top-navigation\",attrs:{\"src\":\"/navigation/notifications.svg\"}})},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-alert\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-alert\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-alert\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-alert\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-alert\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-account-circle-outline\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-reload\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-play\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-stop\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-window-minimize\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-window-restore\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-window-maximize\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-window-close\\n \")])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.show_error_supplier_or_customer_not_found),callback:function ($$v) {_vm.show_error_supplier_or_customer_not_found=$$v},expression:\"show_error_supplier_or_customer_not_found\"}},[(this.currentDoc && this.currentDoc.state == 'error_supplier_or_customer_not_found')?_c('FixSuppCostNotFound'):_vm._e()],1),_c('MessagePopup',{attrs:{\"message\":\"There are some wrong labeled fields. Please, correct the red ones and press CONTINUE.\",\"show_message\":_vm.show_error_validating_data},on:{\"close-message\":function($event){_vm.show_error_validating_data=false}}}),_c('MessagePopup',{attrs:{\"message\":\"The credit and the debit are not matching. Please, correct account move lines and press CONTINUE.\",\"show_message\":_vm.show_error_validating_moves},on:{\"close-message\":function($event){_vm.show_error_validating_moves=false}}}),_c('MessagePopup',{attrs:{\"message\":\"Some taxes are not correct. Please, correct the red ones and press CONTINUE.\",\"show_message\":_vm.show_error_checking_taxes},on:{\"close-message\":function($event){_vm.show_error_checking_taxes=false}}})],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('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_vm._v(\"Seems that we didn't find the supplier or customer of this invoice. Please fill this information: \")]),_c('v-card-text',[_vm._v(\"Is this a invoice from a supplier or from a customer? \"),_c('v-select',{attrs:{\"items\":['Supplier', 'Customer']},model:{value:(_vm.type),callback:function ($$v) {_vm.type=$$v},expression:\"type\"}})],1),(_vm.type)?_c('v-card-text',[_vm._v(\"Wich one? \"),_c('v-autocomplete',{attrs:{\"items\":_vm.suppliers,\"item-text\":\"name\",\"item-value\":\"id\"},model:{value:(_vm.company),callback:function ($$v) {_vm.company=$$v},expression:\"company\"}})],1):_vm._e(),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary darken-1\",\"disabled\":!_vm.type || !_vm.company,\"text\":\"\"},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Save\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FixSuppCostNotFound.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FixSuppCostNotFound.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FixSuppCostNotFound.vue?vue&type=template&id=afab1b90&\"\nimport script from \"./FixSuppCostNotFound.vue?vue&type=script&lang=js&\"\nexport * from \"./FixSuppCostNotFound.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCardTitle,VSelect,VSpacer})\n","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ErrorPipelinePopup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ErrorPipelinePopup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ErrorPipelinePopup.vue?vue&type=template&id=cb1229ce&\"\nimport script from \"./ErrorPipelinePopup.vue?vue&type=script&lang=js&\"\nexport * from \"./ErrorPipelinePopup.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDialog } from 'vuetify/lib/components/VDialog';\ninstallComponents(component, {VDialog})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-autocomplete',{staticClass:\"selector-empresa\",attrs:{\"id\":\"selector-empresa\",\"autocomplete\":\"off\",\"label\":\"Empresa\",\"value\":_vm.value,\"items\":_vm.items,\"item-text\":\"name\",\"item-value\":_vm.item_val,\"return-object\":_vm.return_obj,\"hide-details\":\"\",\"readonly\":_vm.readonly,\"rounded\":\"\",\"solo\":\"\"},on:{\"input\":_vm.myInput,\"change\":_vm.myChange},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',{staticClass:\"label-selector-empresa\"},[_vm._v(\"Empresa\")])]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorEmpresa.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorEmpresa.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectorEmpresa.vue?vue&type=template&id=1e9f16ee&scoped=true&\"\nimport script from \"./SelectorEmpresa.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectorEmpresa.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SelectorEmpresa.vue?vue&type=style&index=0&id=1e9f16ee&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 \"1e9f16ee\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\ninstallComponents(component, {VAutocomplete})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-toolbar',[_c('v-btn',{attrs:{\"color\":\"secondary\",\"loading\":_vm.documentWriting,\"icon\":\"\"},on:{\"click\":function($event){return _vm.saveLabels()}}},[_vm._m(0)],1),_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"secondary\"},on:{\"click\":function($event){return _vm.enter()}}},[_vm._m(1)],1),(_vm.currentDocuments.length>0)?_c('v-btn',{attrs:{\"icon\":\"\",\"loading\":_vm.loading_previous,\"color\":\"secondary\",\"disabled\":_vm.currentIndex<=0 && !_vm.currentPagination.previous},on:{\"click\":function($event){return _vm.previous_document()}}},[_vm._m(2)],1):_vm._e(),(_vm.currentDocuments.length>0)?_c('v-btn',{attrs:{\"icon\":\"\",\"loading\":_vm.loading_next,\"color\":\"secondary\",\"disabled\":_vm.currentIndex>=_vm.currentDocuments.length-1 && !_vm.currentPagination.next},on:{\"click\":function($event){return _vm.next_document()}}},[_vm._m(3)],1):_vm._e(),_c('v-btn',{attrs:{\"color\":\"secondary\",\"loading\":_vm.flowLoading},on:{\"click\":function($event){return _vm.continueFlow()}}},[_vm._v(\"Continuar\")])],1),_c('div',[_c('v-row',[_c('v-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"3\"}},[(_vm.userData.can_debug_documents)?_c('v-btn',{attrs:{\"color\":\"secondary\"},on:{\"click\":function($event){return _vm.changeDrawerMode()}}},[_c('v-icon',[_vm._v(\"mdi-autorenew\")])],1):_vm._e()],1),_c('v-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"9\"}},[_c('v-list-item-title',{staticClass:\"title\"},[_vm._v(\"Modo entrenamiento\")])],1)],1)],1),_c('v-container',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"3\"}},[_c('v-select',{attrs:{\"items\":[{id:'human', text:'Human'},{id:'human_payroll', text:'Human Payroll'}, {id:'machine', text:'Machine'}],\"item-text\":\"text\",\"item-value\":\"id\"},model:{value:(_vm.annotationLayer),callback:function ($$v) {_vm.annotationLayer=$$v},expression:\"annotationLayer\"}})],1),_c('v-col',{attrs:{\"cols\":\"8\",\"offset\":\"1\"}},[(_vm.currentDocument)?_c('v-select',{attrs:{\"items\":_vm.docStates,\"label\":\"State\"},model:{value:(_vm.currentDocument.state),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"state\", $$v)},expression:\"currentDocument.state\"}}):_vm._e()],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.currentDocument)?_c('v-select',{attrs:{\"multiple\":\"\",\"items\":_vm.tags,\"item-text\":\"name\",\"item-value\":\"value\",\"label\":\"Tags\"},model:{value:(_vm.currentDocument.tags),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"tags\", $$v)},expression:\"currentDocument.tags\"}}):_vm._e()],1)],1)],1),_c('v-divider'),_c('TrainerTagsInfo'),_c('v-divider'),_c('v-list',{attrs:{\"dense\":\"\",\"nav\":\"\"}},[_c('v-list-item',[(_vm.currentDocument)?_c('v-textarea',{attrs:{\"label\":\"Comment\"},model:{value:(_vm.currentDocument.comment),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"comment\", $$v)},expression:\"currentDocument.comment\"}}):_vm._e()],1)],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-content-save\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-keyboard-return\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-arrow-left\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-arrow-right\")])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.annotationLayer === 'human_payroll')?_c('div',[_c('v-list',{attrs:{\"dense\":\"\",\"nav\":\"\"}},[_vm._l((_vm.labels[_vm.annotationLayer]),function(label){return [_c('v-list-item',{key:label.name,staticClass:\"pa-0\"},[_c('v-list-item-content',{staticClass:\"pb-0 pt-1\",class:{selectedrow:label.name===_vm.selectedLabel},staticStyle:{\"height\":\"50px\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"pt-2 pb-0 pr-0\",attrs:{\"cols\":\"1\"}},[(label.name===_vm.selectedLabel)?_c('v-icon',{staticClass:\"selected-chevron\",attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-chevron-right\")]):_vm._e()],1),(_vm.currentDocument)?_c('v-col',{staticClass:\"pt-0 pb-0 pl-0 pr-0\",attrs:{\"cols\":\"7\"}},[_c('v-text-field',{attrs:{\"outlined\":\"\",\"label\":label.text,\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: label.name })}},model:{value:(_vm.currentDocumentData[label.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, label.name, $$v)},expression:\"currentDocumentData[label.name]\"}})],1):_vm._e(),_c('v-col',{staticClass:\"pt-0 pb-0 pr-0 pl-2\",attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"color\":label.color,\"width\":\"10\",\"min-width\":\"10\"},on:{\"click\":function($event){return _vm.selectLabel({ label: label.name })}}},[_c('v-icon',[_vm._v(\"mdi-tag\")])],1)],1),_c('v-col',{staticClass:\"pt-0 pb-0 pl-0\",attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"color\":\"gray\",\"width\":\"10\",\"min-width\":\"10\"},on:{\"click\":function($event){return _vm.deleteLabel({ label: label.name })}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)],1)],1)],1)],1)]})],2)],1):_c('div',[_c('div',[_c('v-row',{staticClass:\"pt-4 pl-4 pr-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"color\":_vm.formTag.inv_number.color,\"label\":_vm.formTag.inv_number.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.inv_number.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.inv_number.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.inv_number.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.inv_number.name, $$v)},expression:\"currentDocumentData[formTag.inv_number.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.inv_number.color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1)],1)],1),_c('v-row',{staticClass:\"pl-4 pr-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pr-2\",attrs:{\"color\":_vm.formTag.supplier.color,\"label\":_vm.formTag.supplier.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.supplier.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.supplier.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.supplier.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.supplier.name, $$v)},expression:\"currentDocumentData[formTag.supplier.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.supplier.color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pl-2\",attrs:{\"color\":_vm.formTag.vat_supplier.color,\"label\":_vm.formTag.vat_supplier.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.vat_supplier.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.vat_supplier.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.vat_supplier.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.vat_supplier.name, $$v)},expression:\"currentDocumentData[formTag.vat_supplier.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.vat_supplier.color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1)],1)],1),_c('v-row',{staticClass:\"pl-4 pr-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pr-2\",attrs:{\"color\":_vm.formTag.customer.color,\"label\":_vm.formTag.customer.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.customer.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.customer.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.customer.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.customer.name, $$v)},expression:\"currentDocumentData[formTag.customer.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.customer.color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pl-2\",attrs:{\"color\":_vm.formTag.vat_customer.color,\"label\":_vm.formTag.vat_customer.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.vat_customer.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.vat_customer.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.vat_customer.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.vat_customer.name, $$v)},expression:\"currentDocumentData[formTag.vat_customer.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.vat_customer.color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1)],1)],1),_c('v-row',{staticClass:\"pl-4 pr-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pr-2\",attrs:{\"color\":_vm.formTag.invoice_date.color,\"label\":_vm.formTag.invoice_date.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.invoice_date.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.invoice_date.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.invoice_date.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.invoice_date.name, $$v)},expression:\"currentDocumentData[formTag.invoice_date.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.invoice_date.color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pl-2\",attrs:{\"color\":_vm.formTag.due_date.color,\"label\":_vm.formTag.due_date.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.due_date.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.due_date.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.due_date.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.due_date.name, $$v)},expression:\"currentDocumentData[formTag.due_date.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.due_date.color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1)],1)],1),_c('v-row',{staticClass:\"pl-4 pr-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pr-2\",attrs:{\"color\":_vm.formTag.retention_type.color,\"label\":_vm.formTag.retention_type.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.retention_type.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.retention_type.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.retention_type.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.retention_type.name, $$v)},expression:\"currentDocumentData[formTag.retention_type.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.retention_type.color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pl-2\",attrs:{\"color\":_vm.formTag.retention_amount.color,\"label\":_vm.formTag.retention_amount.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.retention_amount.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.retention_amount.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.retention_amount.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.retention_amount.name, $$v)},expression:\"currentDocumentData[formTag.retention_amount.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.retention_amount.color},slot:\"append\"},[_vm._v(\"\\n\\n mdi-tag\\n \")])],1)],1)],1)],1),_c('v-divider'),_c('v-tabs',{model:{value:(_vm.selected.tab),callback:function ($$v) {_vm.$set(_vm.selected, \"tab\", $$v)},expression:\"selected.tab\"}},_vm._l((_vm.tabsTags),function(tab){return _c('v-tab',{key:tab.code},[_vm._v(\"\\n \"+_vm._s(tab.text)+\"\\n \")])}),1),_c('v-tabs-items',{staticClass:\"ma-3\",model:{value:(_vm.selected.tab),callback:function ($$v) {_vm.$set(_vm.selected, \"tab\", $$v)},expression:\"selected.tab\"}},_vm._l((_vm.tabsTags),function(tab){return _c('v-tab-item',{key:tab.code},[(tab.code == 'params')?_c('v-list',{attrs:{\"dense\":\"\",\"nav\":\"\"}},[_vm._l((tab.tag_list),function(label){return [_c('v-list-item',{key:label.name,staticClass:\"pa-0\"},[_c('v-list-item-content',{staticClass:\"pb-0 pt-1\",class:{selectedrow:label.name===_vm.selectedLabel},staticStyle:{\"height\":\"50px\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"pt-2 pb-0 pr-0\",attrs:{\"cols\":\"1\"}},[(label.name===_vm.selectedLabel)?_c('v-icon',{staticClass:\"selected-chevron\",attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-chevron-right\")]):_vm._e()],1),(_vm.currentDocument)?_c('v-col',{staticClass:\"pt-0 pb-0 pl-0 pr-0\",attrs:{\"cols\":\"7\"}},[_c('v-text-field',{attrs:{\"outlined\":\"\",\"label\":label.text,\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: label.name })}},model:{value:(_vm.currentDocumentData[label.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, label.name, $$v)},expression:\"currentDocumentData[label.name]\"}})],1):_vm._e(),_c('v-col',{staticClass:\"pt-0 pb-0 pr-0 pl-2\",attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"color\":label.color,\"width\":\"10\",\"min-width\":\"10\"},on:{\"click\":function($event){return _vm.selectLabel({ label: label.name })}}},[_c('v-icon',[_vm._v(\"mdi-tag\")])],1)],1),_c('v-col',{staticClass:\"pt-0 pb-0 pl-0\",attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"color\":\"gray\",\"width\":\"10\",\"min-width\":\"10\"},on:{\"click\":function($event){return _vm.deleteLabel({ label: label.name })}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)],1)],1)],1)],1)]})],2):_c('v-row',{attrs:{\"no-gutters\":\"\"}},[[_c('v-col',{staticClass:\"text-center table-head primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Tipo\")]),_c('v-col',{staticClass:\"text-center table-head primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Base\")]),_c('v-col',{staticClass:\"text-center table-head primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Cuota\")])],_vm._l((tab.vats),function(vat){return [_c('v-col',{key:'type_' + vat.vat,staticClass:\"text-center align-self-end table-row\",attrs:{\"cols\":\"4\"}},[_c('v-text-field',{staticClass:\"left-input\",attrs:{\"readonly\":\"\",\"single-line\":\"\",\"dense\":\"\",\"hide-details\":\"\"},model:{value:(vat.label),callback:function ($$v) {_vm.$set(vat, \"label\", $$v)},expression:\"vat.label\"}})],1),_c('v-col',{key:'base_' + vat.vat,staticClass:\"text-center align-self-end table-row\",attrs:{\"cols\":\"4\"}},[(vat.tag_list)?_c('v-text-field',{staticClass:\"right-input\",attrs:{\"label\":vat.tag_list['base_' + vat.vat].text,\"color\":vat.tag_list['base_' + vat.vat].color,\"readonly\":\"\",\"clearable\":\"\",\"single-line\":\"\",\"dense\":\"\",\"hide-details\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: 'base_' + vat.vat })},\"click:clear\":function($event){return _vm.deleteLabel({ label: 'base_' + vat.vat})}},model:{value:(_vm.currentDocumentData['base_' + vat.vat]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, 'base_' + vat.vat, $$v)},expression:\"currentDocumentData['base_' + vat.vat]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":vat.tag_list['base_' + vat.vat].color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1):_vm._e()],1),_c('v-col',{key:'cuota_' + vat.vat,staticClass:\"text-center align-self-end table-row\",attrs:{\"cols\":\"4\"}},[(vat.tag_list)?_c('v-text-field',{staticClass:\"right-input\",attrs:{\"label\":vat.tag_list[vat.vat].text,\"color\":vat.tag_list[vat.vat].color,\"clearable\":\"\",\"readonly\":\"\",\"single-line\":\"\",\"dense\":\"\",\"hide-details\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: vat.vat })},\"click:clear\":function($event){return _vm.deleteLabel({ label: vat.vat})}},model:{value:(_vm.currentDocumentData[vat.vat]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, vat.vat, $$v)},expression:\"currentDocumentData[vat.vat]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":vat.tag_list[vat.vat].color},slot:\"append\"},[_vm._v(\"\\n mdi-tag\\n \")])],1):_vm._e()],1)]})],2)],1)}),1),_c('div',[_c('v-row',{staticClass:\"pt-4 pl-4 pr-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pr-2\",attrs:{\"color\":_vm.formTag.other_amounts.color,\"label\":_vm.formTag.other_amounts.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.other_amounts.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.other_amounts.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.other_amounts.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.other_amounts.name, $$v)},expression:\"currentDocumentData[formTag.other_amounts.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.other_amounts.color},slot:\"append\"},[_vm._v(\"\\n\\n mdi-tag\\n \")])],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticClass:\"pl-2\",attrs:{\"color\":_vm.formTag.total_amount.color,\"label\":_vm.formTag.total_amount.text,\"clearable\":\"\",\"dense\":\"\",\"readonly\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.formTag.total_amount.name })},\"click:clear\":function($event){return _vm.deleteLabel({ label: _vm.formTag.total_amount.name})}},model:{value:(_vm.currentDocumentData[_vm.formTag.total_amount.name]),callback:function ($$v) {_vm.$set(_vm.currentDocumentData, _vm.formTag.total_amount.name, $$v)},expression:\"currentDocumentData[formTag.total_amount.name]\"}},[_c('v-icon',{attrs:{\"slot\":\"append\",\"color\":_vm.formTag.total_amount.color},slot:\"append\"},[_vm._v(\"\\n\\n mdi-tag\\n \")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n\n\n
\n\n
\n \n \n \n \n mdi-tag\n \n \n \n \n\n \n \n \n \n mdi-tag\n \n \n \n \n \n \n mdi-tag\n \n \n \n \n\n \n \n \n \n mdi-tag\n \n \n \n \n \n \n mdi-tag\n \n \n \n \n\n \n \n \n \n mdi-tag\n \n \n \n \n \n \n mdi-tag\n \n \n \n \n\n \n \n \n \n mdi-tag\n \n \n \n \n \n \n\n mdi-tag\n \n \n \n \n
\n\n \n \n \n \n {{ tab.text }}\n \n \n\n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n\n
\n \n \n \n \n\n mdi-tag\n \n \n \n \n \n \n\n mdi-tag\n \n \n \n \n
\n
\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TrainerTagsInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TrainerTagsInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TrainerTagsInfo.vue?vue&type=template&id=556828c4&scoped=true&\"\nimport script from \"./TrainerTagsInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./TrainerTagsInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TrainerTagsInfo.vue?vue&type=style&index=0&id=556828c4&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 \"556828c4\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VDivider,VIcon,VList,VListItem,VListItemContent,VRow,VTab,VTabItem,VTabs,VTabsItems,VTextField})\n","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RightDrawerTrainerMode.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RightDrawerTrainerMode.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RightDrawerTrainerMode.vue?vue&type=template&id=50146693&scoped=true&\"\nimport script from \"./RightDrawerTrainerMode.vue?vue&type=script&lang=js&\"\nexport * from \"./RightDrawerTrainerMode.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RightDrawerTrainerMode.vue?vue&type=style&index=0&id=50146693&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 \"50146693\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCol,VContainer,VDivider,VIcon,VList,VListItem,VListItemTitle,VRow,VSelect,VTextarea,VToolbar})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.show_message)?_c('MessagePopup',{attrs:{\"message\":_vm.message,\"show_message\":_vm.show_message,\"persistent\":!_vm.clearable_message},on:{\"close-message\":_vm.closeMessage}}):_vm._e(),(_vm.show_fix_cif_supplier && _vm.currentDocument)?_c('FixCIFPopup',{attrs:{\"company\":_vm.supplierdb_selected,\"cif_doc\":_vm.currentDocument.metadata['vat_supplier'],\"show\":_vm.show_fix_cif_supplier},on:{\"close\":function($event){_vm.show_fix_cif_supplier=false},\"fix\":_vm.fix_cif_supplier}}):_vm._e(),(_vm.show_fix_cif_customer && _vm.currentDocument)?_c('FixCIFPopup',{attrs:{\"company\":_vm.customerdb_selected,\"cif_doc\":_vm.currentDocument.metadata['vat_customer'],\"show\":_vm.show_fix_cif_customer},on:{\"close\":function($event){_vm.show_fix_cif_customer=false},\"fix\":_vm.fix_cif_customer}}):_vm._e(),(_vm.currentDocument)?_c('v-dialog',{attrs:{\"max-width\":\"1200\"},model:{value:(_vm.show_invoice_lines_pop_up),callback:function ($$v) {_vm.show_invoice_lines_pop_up=$$v},expression:\"show_invoice_lines_pop_up\"}},[_vm._v(\"\\n \"+_vm._s(_vm.currentDocument.static_invoice)+\"\\n \"),_c('v-card',{staticStyle:{\"background-color\":\"white\"}},[_c('InvoiceLinesEditorSimplified',{attrs:{\"invoice_lines\":_vm.invoice_lines,\"readonly\":\"\"}})],1)],1):_vm._e(),(_vm.dialog)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_vm._v(\"Se va a eliminar el documento. Está seguro?\")]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.noDeleteItem()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){return _vm.deleteItem()}}},[_vm._v(\"Borrar\")])],1)],1)],1):_vm._e(),(_vm.simulateDocDialog)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.simulateDocDialog),callback:function ($$v) {_vm.simulateDocDialog=$$v},expression:\"simulateDocDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_c('v-autocomplete',{attrs:{\"autocomplete\":\"off\",\"label\":\"Empresa\",\"items\":_vm.get_companydbs,\"item-text\":\"name\",\"return-object\":\"\",\"hide-details\":\"\"},model:{value:(_vm.companySimulate),callback:function ($$v) {_vm.companySimulate=$$v},expression:\"companySimulate\"}}),_c('v-select',{attrs:{\"autocomplete\":\"off\",\"label\":\"Etiquetas\",\"items\":_vm.doc_tags_values,\"item-text\":\"name\",\"item-value\":\"value\",\"multiple\":true,\"clearable\":\"\"},model:{value:(_vm.tagsSimulate),callback:function ($$v) {_vm.tagsSimulate=$$v},expression:\"tagsSimulate\"}}),_c('v-select',{attrs:{\"label\":\"Fecha contable\",\"item-value\":\"id\",\"item-text\":\"text\",\"items\":_vm.ACCOUNTING_DATE_OPTIONS},model:{value:(_vm.accounting_date_config),callback:function ($$v) {_vm.accounting_date_config=$$v},expression:\"accounting_date_config\"}}),(_vm.accounting_date_config=='configurated')?_c('v-text-field',{class:{red:_vm.invalid_default_accounting_date},attrs:{\"label\":\"Fecha (dd/mm/YYYY)\"},model:{value:(_vm.default_accounting_date),callback:function ($$v) {_vm.default_accounting_date=$$v},expression:\"default_accounting_date\"}}):_vm._e()],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.noSimulateItem()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\",\"disabled\":!_vm.companySimulate},on:{\"click\":function($event){return _vm.simulateItem()}}},[_vm._v(\"Aceptar\")])],1)],1)],1):_vm._e(),_c('app-modal-prompt',{attrs:{\"is-confirm-button-disabled\":!_vm.companyChangeCompany,\"persistent\":\"\"},on:{\"cancel\":function($event){return _vm.noChangeCompanyItem()},\"confirm\":function($event){return _vm.changeCompanyItem()}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"\\n Cambiar Empresa\\n \")]},proxy:true}]),model:{value:(_vm.changeCompanyDocDialog),callback:function ($$v) {_vm.changeCompanyDocDialog=$$v},expression:\"changeCompanyDocDialog\"}},[_c('app-modal-row',[_c('app-modal-col',{attrs:{\"cols\":\"12\"}},[_c('app-autocomplete',{attrs:{\"autocomplete\":\"off\",\"label\":\"Empresa\",\"item-text\":\"name\",\"return-object\":\"\",\"hide-details\":\"\",\"items\":_vm.get_companydbs},on:{\"change\":_vm.getCompanyActivityList},model:{value:(_vm.companyChangeCompany),callback:function ($$v) {_vm.companyChangeCompany=$$v},expression:\"companyChangeCompany\"}})],1)],1),(_vm.companyChangeCompany && _vm.showActivityField(_vm.companyChangeCompany, 'actividad') && !_vm.companyChangeCompany.hide_activities_master)?_c('app-modal-row',[_c('app-modal-col',{staticClass:\"mt-5\",attrs:{\"cols\":\"12\"}},[(_vm.listActividadChangeCompany.length > 0)?_c('app-select',{attrs:{\"label\":\"Actividad\",\"items\":_vm.listActividadChangeCompany,\"item-value\":\"code\",\"item-text\":\"name\",\"clearable\":true},model:{value:(_vm.actividadChangeCompany),callback:function ($$v) {_vm.actividadChangeCompany=$$v},expression:\"actividadChangeCompany\"}}):_c('app-text-field',{attrs:{\"kind\":\"number\",\"label\":\"Actividad\"},model:{value:(_vm.actividadChangeCompany),callback:function ($$v) {_vm.actividadChangeCompany=$$v},expression:\"actividadChangeCompany\"}})],1)],1):_vm._e()],1),(_vm.addTagsDocDialog)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.addTagsDocDialog),callback:function ($$v) {_vm.addTagsDocDialog=$$v},expression:\"addTagsDocDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_c('v-select',{attrs:{\"autocomplete\":\"off\",\"label\":\"Etiquetas\",\"items\":_vm.doc_tags_values,\"item-text\":\"name\",\"item-value\":\"value\",\"multiple\":true,\"clearable\":\"\"},model:{value:(_vm.tagsAddTags),callback:function ($$v) {_vm.tagsAddTags=$$v},expression:\"tagsAddTags\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.noAddTagsItem()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\",\"disabled\":_vm.tagsAddTags.length==0},on:{\"click\":function($event){return _vm.addTagsItem()}}},[_vm._v(\"Aceptar\")])],1)],1)],1):_vm._e(),(_vm.createTrainingDocDialog)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.createTrainingDocDialog),callback:function ($$v) {_vm.createTrainingDocDialog=$$v},expression:\"createTrainingDocDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_c('v-select',{attrs:{\"autocomplete\":\"off\",\"label\":\"Etiquetas\",\"items\":_vm.doc_tags_values,\"item-text\":\"name\",\"item-value\":\"value\",\"multiple\":true,\"clearable\":\"\"},model:{value:(_vm.tagsTraining),callback:function ($$v) {_vm.tagsTraining=$$v},expression:\"tagsTraining\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.noTrainingItem()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){return _vm.trainingItem()}}},[_vm._v(\"Aceptar\")])],1)],1)],1):_vm._e(),(_vm.currentDocument && _vm.historyPopup)?_c('v-dialog',{attrs:{\"max-width\":\"1000\"},model:{value:(_vm.historyPopup),callback:function ($$v) {_vm.historyPopup=$$v},expression:\"historyPopup\"}},[_c('v-card',[_c('DocumentHistoryComponent',{attrs:{\"doc_id\":_vm.currentDocument.id}})],1)],1):_vm._e(),(_vm.errorDialog)?_c('v-dialog',{attrs:{\"max-width\":\"1500\"},model:{value:(_vm.errorDialog),callback:function ($$v) {_vm.errorDialog=$$v},expression:\"errorDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[(_vm.invoice_error)?_c('div',[_vm._v(\"\\n Factura: \"),_c('br'),_vm._v(\"\\n \"+_vm._s(_vm.invoice_error)+\"\\n \"),_c('v-divider')],1):_vm._e(),(_vm.account_moves_errors.length)?_c('div',_vm._l((_vm.account_moves_errors),function(ame){return _c('div',{key:ame.id},[_vm._v(\"\\n Asiento \"+_vm._s(ame.id)+\": \"),_c('br'),_vm._v(\"\\n \"+_vm._s(ame.error)+\"\\n \"),_c('v-divider')],1)}),0):_vm._e()]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){_vm.errorDialog=false}}},[_vm._v(\"Ok\")])],1)],1)],1):_vm._e(),(_vm.go_simulation_dialog)?_c('v-dialog',{attrs:{\"max-width\":\"1000\"},model:{value:(_vm.go_simulation_dialog),callback:function ($$v) {_vm.go_simulation_dialog=$$v},expression:\"go_simulation_dialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_c('v-autocomplete',{attrs:{\"autocomplete\":\"off\",\"label\":\"Simulaciones\",\"items\":_vm.simulations,\"item-text\":\"text\",\"return-object\":\"\"},model:{value:(_vm.simulation_to_go),callback:function ($$v) {_vm.simulation_to_go=$$v},expression:\"simulation_to_go\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){_vm.go_simulation_dialog=false}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){return _vm.goToSimulation(_vm.simulation_to_go['cdb'], _vm.simulation_to_go['id'])}}},[_vm._v(\"Ir\")])],1)],1)],1):_vm._e(),(_vm.inRotationMode)?_c('v-toolbar',{attrs:{\"absolute\":\"\",\"min-width\":\"100%\"}},[_c('h1',[_vm._v(\"Rotación de páginas\")])]):_c('v-toolbar',{attrs:{\"absolute\":\"\",\"min-width\":\"100%\"}},[_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.downloading,\"disabled\":_vm.isWaitingFlow,\"icon\":\"\"},on:{\"click\":function($event){return _vm.downloadFile({'signed_url':_vm.getFileurl,'filename':_vm.getFileName})}}},[_vm._m(0)],1),_c('JobProgress',{attrs:{\"job_id\":_vm.deleteJobId},on:{\"done\":_vm.deleteItemDone},scopedSlots:_vm._u([{key:\"progress\",fn:function(){return [_c('v-btn',{attrs:{\"loading\":\"\",\"icon\":\"\"}})]},proxy:true},{key:\"quiet\",fn:function(){return [_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.deleting || Boolean(_vm.deleteJobId),\"disabled\":_vm.isWaitingFlow,\"icon\":\"\"},on:{\"click\":function($event){return _vm.delete_document()}}},[_vm._m(1)],1)]},proxy:true}]),model:{value:(_vm.deleteProgressState),callback:function ($$v) {_vm.deleteProgressState=$$v},expression:\"deleteProgressState\"}}),(_vm.currentDocument && !_vm.currentDocument.forced_move)?_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.documentWriting,\"disabled\":true,\"icon\":\"\"},on:{\"click\":function($event){return _vm.saveLabels()}}},[_vm._m(2)],1):_vm._e(),(_vm.currentDocument && _vm.currentDocument.forced_move)?_c('v-btn',{attrs:{\"color\":\"primary\",\"disabled\":!_vm.canSave(),\"loading\":_vm.documentWriting,\"icon\":\"\"},on:{\"click\":function($event){return _vm.saveDocument()}}},[_vm._m(3)],1):_vm._e(),(_vm.got_feature('feature_diezsoftware_nube'))?_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.forceSendDocument()}}},[_c('v-icon',[_vm._v(\"mdi-file-send\")])],1):_vm._e(),(true || _vm.showRetry || _vm.showContabilize || (_vm.currentDocument && _vm.currentDocument.state=='pending_sync' && _vm.getActions.some(function (el) { return el.id === 'mark_as_pending_review'; })))?_c('v-menu',{attrs:{\"close-on-click\":false,\"close-on-content-click\":false,\"offsetY\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(true || _vm.showRetry || _vm.showContabilize || (_vm.currentDocument && _vm.currentDocument.state=='pending_sync' && _vm.getActions.some(function (el) { return el.id === 'mark_as_pending_review'; })))?_c('v-btn',_vm._g(_vm._b({attrs:{\"color\":\"primary\",\"icon\":\"\",\"disabled\":Boolean(_vm.permission.is_readonly)}},'v-btn',attrs,false),on),[_vm._m(4)],1):_vm._e()]}}],null,false,3545983034),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c('v-list',[_c('v-list-item-group',{attrs:{\"color\":\"primary\"}},_vm._l((_vm.getActions),function(action,index){return _c('div',{key:index},[(action.id=='force_docs_state_to_done')?_c('v-list-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentDocument && _vm.currentDocument.state=='error_account_connector'),expression:\"currentDocument && currentDocument.state=='error_account_connector'\"}],class:{ list: true},on:{\"click\":function($event){return _vm.go(action.id)}}},[_c('v-list-item-title',{staticClass:\"list-title\"},[_vm._v(_vm._s(action.name))])],1):(action.id=='mark_as_pending_review')?_c('v-list-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentDocument && _vm.currentDocument.state=='pending_sync'),expression:\"currentDocument && currentDocument.state=='pending_sync'\"}],class:{ list: true},on:{\"click\":function($event){return _vm.go(action.id)}}},[_c('v-list-item-title',{staticClass:\"list-title\"},[_vm._v(_vm._s(action.name))])],1):_c('v-list-item',{class:{ list: true},attrs:{\"disabled\":_vm.currentDocument && _vm.currentDocument.state=='pending_sync'},on:{\"click\":function($event){return _vm.go(action.id)}}},[_c('v-list-item-title',{staticClass:\"list-title\"},[_vm._v(_vm._s(action.name))])],1)],1)}),0)],1)],1):_vm._e(),(_vm.currentDocument)?[(_vm.existsMoreThanOneDocument)?_c('v-btn',{attrs:{\"icon\":\"\",\"loading\":_vm.loading_previous,\"color\":\"primary\",\"disabled\":!_vm.canGoToPreviousDocument},on:{\"click\":function($event){return _vm.previous_document()}}},[_vm._m(5)],1):_vm._e(),(_vm.existsMoreThanOneDocument)?_c('v-btn',{attrs:{\"icon\":\"\",\"loading\":_vm.loading_next,\"color\":\"primary\",\"disabled\":!_vm.canGoToNextDocument},on:{\"click\":function($event){return _vm.next_document()}}},[_vm._m(6)],1):_vm._e(),_c('v-spacer'),(_vm.isWaitingFlow && _vm.permission.can_write)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):(_vm.permission.can_write)?_c('div',[(_vm.showRetry && _vm.currentDocument.state!='pending_approval')?_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.flowLoading,\"disabled\":_vm.isWaitingFlow},on:{\"click\":function($event){return _vm.reintentar()}}},[_vm._v(\"Reintentar \")]):(_vm.currentDocument.state=='company_detected')?_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.flowLoading,\"disabled\":_vm.isWaitingFlow},on:{\"click\":function($event){return _vm.transfer_to_detected_company()}}},[_vm._v(\"Transferir\")]):_vm._e(),(_vm.showRetry && _vm.currentDocument.state=='pending_approval')?_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.flowLoading,\"disabled\":_vm.isWaitingFlow},on:{\"click\":function($event){return _vm.reintentar()}}},[_vm._v(\"APROBAR\")]):_vm._e(),(_vm.showContabilize)?_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.flowLoading,\"disabled\":_vm.isWaitingFlow},on:{\"click\":function($event){return _vm.contabilizar()}}},[_vm._v(\"Contabilizar\")]):_vm._e()],1):_vm._e()]:_vm._e()],2),(_vm.inRotationMode)?_c('div',{staticClass:\"mt-16\"},[_c('JobProgress',{attrs:{\"job_id\":_vm.rotateJobId},on:{\"done\":_vm.rotateDone,\"error\":_vm.rotateDone},scopedSlots:_vm._u([{key:\"progress\",fn:function(){return [_c('div',{staticClass:\"d-flex justify-center pt-10\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"secundary\"}})],1)]},proxy:true},{key:\"quiet\",fn:function(){return [(_vm.rotateJobId)?_c('div',{staticClass:\"d-flex justify-center pt-10\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"secundary\"}})],1):_c('v-row',{staticClass:\"pl-4 pr-4\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-select',{attrs:{\"items\":[\n {text: 'Rotar todos los documentos', value:'all'},\n {text: 'Rotar por página', value:'page'} ],\"label\":\"Modo de rotación\"},on:{\"change\":_vm.setRotationMode},model:{value:(_vm.rotationPageMode),callback:function ($$v) {_vm.rotationPageMode=$$v},expression:\"rotationPageMode\"}})],1)],1),_c('v-row',{staticClass:\"pl-4 pr-4\"},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"color\":\"primary\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.cancelRotationMode()}}},[_vm._v(\"\\n Cancelar rotación\\n \")])],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.doRotation()}}},[_vm._v(\"\\n Guardar rotación\\n \")])],1)],1)]},proxy:true}],null,false,4133976157),model:{value:(_vm.rotateProgressState),callback:function ($$v) {_vm.rotateProgressState=$$v},expression:\"rotateProgressState\"}})],1):_c('div',{staticClass:\"mt-16\"},[(_vm.userData.can_debug_documents)?_c('v-row',[_c('v-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.changeDrawerMode()}}},[_vm._m(7)],1)],1),_c('v-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"6\"}},[_c('v-list-item-title',{staticClass:\"title\"},[_vm._v(\"Modo Cliente\")])],1)],1):_vm._e(),(_vm.showErrorBtn && (_vm.invoice_error || _vm.account_moves_errors.length) && (_vm.userData.is_staff || _vm.userData.hasOwnProperty('username') && _vm.session_information.hasOwnProperty('username') && (_vm.session_information.username != _vm.userData.username)))?_c('v-row',[_c('v-col',{staticClass:\"ml-4\",attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"color\":\"red\"},on:{\"click\":function($event){_vm.errorDialog = true}}},[_vm._m(8)],1)],1)],1):_vm._e(),_c('v-row',{staticClass:\"pt-4 pl-4 pr-4\",attrs:{\"no-gutters\":\"\"}},[(_vm.currentDocument)?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-autocomplete',{attrs:{\"autocomplete\":\"off\",\"label\":\"Tipo de documento\",\"items\":_vm.availableDocs,\"item-text\":\"text\",\"item-value\":\"id\",\"disabled\":!_vm.currentDocument || _vm.currentDocument.forced_move || _vm.isWaitingFlow || ['pending_connect','accounting_aplifisa_fiscal','accounting_invoice','pending_sync','done','done_manually','done_with_warning', 'pending_upload'].includes(_vm.currentDocument.state)},model:{value:(_vm.document_kind),callback:function ($$v) {_vm.document_kind=$$v},expression:\"document_kind\"}})],1):_vm._e(),(_vm.showActivityField(_vm.currentDocument && _vm.currentDocument.companydb_info, 'actividad') && _vm.got_feature('feature_actividad_selector') && _vm.activitySwitcher.length > 0 && _vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('v-col',{attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"label\":\"Actividad\",\"background-color\":_vm.activityError,\"items\":_vm.activitySwitcher,\"item-value\":\"code\",\"item-text\":\"name\",\"clearable\":true,\"disabled\":!_vm.currentDocument || _vm.isWaitingFlow},model:{value:(_vm.document_actividad),callback:function ($$v) {_vm.document_actividad=$$v},expression:\"document_actividad\"}})],1):(_vm.showActivityField(_vm.currentDocument && _vm.currentDocument.companydb_info, 'actividad') && _vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('v-col',{attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-text-field',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"background-color\":_vm.activityError,\"disabled\":!_vm.currentDocument || _vm.isWaitingFlow,\"hide-details\":true,\"label\":\"Actividad\"},model:{value:(_vm.document_actividad),callback:function ($$v) {_vm.document_actividad=$$v},expression:\"document_actividad\"}})],1):(_vm.showActivityField(_vm.currentDocument && _vm.currentDocument.companydb_info, 'actividad_str') && _vm.got_feature('feature_actividad_str_field') && _vm.got_feature('feature_actividad_selector') && _vm.activitySwitcher.length > 0 && _vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('v-col',{attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"label\":\"Actividad\",\"items\":_vm.activitySwitcher,\"item-value\":\"code\",\"item-text\":\"name\",\"clearable\":true,\"disabled\":!_vm.currentDocument || _vm.isWaitingFlow},model:{value:(_vm.document_actividad_str),callback:function ($$v) {_vm.document_actividad_str=$$v},expression:\"document_actividad_str\"}})],1):(_vm.showActivityField(_vm.currentDocument && _vm.currentDocument.companydb_info, 'actividad_str') && _vm.got_feature('feature_actividad_str_field') && _vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('v-col',{attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-text-field',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"disabled\":!_vm.currentDocument || _vm.isWaitingFlow,\"label\":\"Actividad\"},model:{value:(_vm.document_actividad_str),callback:function ($$v) {_vm.document_actividad_str=$$v},expression:\"document_actividad_str\"}})],1):_vm._e(),(_vm.userData['available_features']['feature_document_projects'] && (_vm.currentDocument && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.show && _vm.currentDocument.companydb_info.companydb_type.params.show.includes('project') && _vm.currentCompany && !_vm.currentCompany.hide_projects_master))?_c('v-col',{attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"clearable\":true,\"items\":_vm.currentDocument.companydb_info.projects,\"label\":\"Proyecto\",\"item-text\":\"name\",\"item-value\":\"id\",\"background-color\":_vm.showRequiredProjectError?'#ff9898':'#ffffff'},model:{value:(_vm.document_project),callback:function ($$v) {_vm.document_project=$$v},expression:\"document_project\"}})],1):_vm._e(),(_vm.got_feature('feature_channel') && (_vm.currentDocument && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.show && _vm.currentDocument.companydb_info.companydb_type.params.show.includes('channel') && _vm.currentCompany && !_vm.currentCompany.hide_channels_master))?_c('v-col',{attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"clearable\":true,\"items\":_vm.currentDocument.companydb_info.channels,\"label\":\"Canal\",\"item-text\":\"name\",\"item-value\":\"channel_id\"},model:{value:(_vm.document_channel),callback:function ($$v) {_vm.document_channel=$$v},expression:\"document_channel\"}})],1):_vm._e(),(_vm.got_feature('feature_expense_income_type') && (_vm.currentDocument && _vm.currentDocument.companydb_info))?_c('v-col',{attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{attrs:{\"clearable\":true,\"items\":_vm.document_kind === 'in_invoice' ? _vm.expens_type : _vm.income_type,\"label\":_vm.getExpensIncomeTypeLabel,\"item-text\":function (item) { return item.code+' '+item.name; },\"item-value\":\"eit_id\"},model:{value:(_vm.document_expens_income_type),callback:function ($$v) {_vm.document_expens_income_type=$$v},expression:\"document_expens_income_type\"}})],1):_vm._e(),(_vm.loading_punteado)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):(_vm.currentDocument && _vm.userData['available_features']['feature_can_mark_doc_as_punteado'])?_c('v-col',{attrs:{\"cols\":\"2\",\"sm\":\"1\"}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-checkbox',{on:{\"change\":function($event){return _vm.deepPunteadoState()}},model:{value:(_vm.document_punteado),callback:function ($$v) {_vm.document_punteado=$$v},expression:\"document_punteado\"}})],1)]}}])},[_c('span',[_vm._v(\"Punteado\")])])],1):_vm._e()],1),_c('v-row',{staticClass:\"pl-4 pr-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":_vm.docStateCols}},[(_vm.currentDocument)?_c('v-select',{attrs:{\"readonly\":true,\"items\":_vm.docState,\"label\":\"Estado\"},model:{value:(_vm.currentDocument.state),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"state\", $$v)},expression:\"currentDocument.state\"}}):_vm._e()],1),_c('v-col',{staticClass:\"align-self-center\",attrs:{\"cols\":\"2\"}},[(_vm.show_alert_btn())?_c('v-btn',{staticClass:\"ml-1 mb-2\",attrs:{\"max-width\":\"50\",\"min-width\":\"50\",\"color\":_vm.alertColor},on:{\"click\":function($event){return _vm.showError()}}},[_vm._m(9)],1):_vm._e(),(_vm.currentDocument && _vm.document_state === 'error_document_duplicated')?_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"ml-1 mb-2\",attrs:{\"icon\":\"\"},on:{\"click\":_vm.setSearchAndRedirectToList}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-magnify\")])],1)]}}],null,false,2403074426)},[_c('span',[_vm._v(\"Buscar duplicados\")])])],1):_vm._e()],1),((_vm.userData.is_staff || _vm.userData.hasOwnProperty('username') && _vm.session_information.hasOwnProperty('username') && (_vm.session_information.username != _vm.userData.username)))?_c('v-col',{staticClass:\"align-self-center\",attrs:{\"cols\":\"1\"}},[(_vm.loading_needs_tt_fix)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):(_vm.currentDocument)?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-checkbox',{staticClass:\"ml-1 mb-2\",attrs:{\"color\":\"primary\"},on:{\"change\":_vm.deepNeedsTtFixState},model:{value:(_vm.document_needs_tt_fix),callback:function ($$v) {_vm.document_needs_tt_fix=$$v},expression:\"document_needs_tt_fix\"}})],1)]}}],null,false,171824029)},[_c('span',[_vm._v(\"Necesita revisión etiquetas\")])]):_vm._e()],1):_vm._e(),((_vm.userData.is_staff || _vm.userData.hasOwnProperty('username') && _vm.session_information.hasOwnProperty('username') && (_vm.session_information.username != _vm.userData.username)))?_c('v-col',{staticClass:\"align-self-center\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{staticClass:\"ml-1 mb-2\",attrs:{\"color\":\"primary\",\"icon\":\"\",\"disabled\":!_vm.currentDocument},on:{\"click\":function($event){return _vm.goMirrorDocument()}}},[_vm._m(10)],1)],1):_vm._e(),((_vm.userData.is_staff || _vm.userData.hasOwnProperty('username') && _vm.session_information.hasOwnProperty('username') && (_vm.session_information.username != _vm.userData.username)))?_c('v-col',{staticClass:\"align-self-center\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{staticClass:\"ml-1 mb-2\",attrs:{\"color\":\"primary\",\"icon\":\"\",\"disabled\":!(_vm.currentDocument && _vm.document_has_simulated_mirror)},on:{\"click\":function($event){return _vm.goSimulatedMirrorDocument()}}},[_vm._m(11)],1)],1):_vm._e()],1),_c('v-row',[(_vm.currentDocument && _vm.currentDocument['metadata_old'] && _vm.fixMotxo)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"label\":\"metadata_old\",\"readonly\":\"\"},model:{value:(_vm.currentDocument['metadata_old']),callback:function ($$v) {_vm.$set(_vm.currentDocument, 'metadata_old', $$v)},expression:\"currentDocument['metadata_old']\"}})],1):_vm._e()],1),_c('v-row',[(_vm.currentDocument && _vm.currentDocument['metadata_old'] && _vm.fixMotxo)?_c('v-col',{key:_vm.currentDocument.id.toString()+_vm.tags_changing.toString(),attrs:{\"cols\":\"12\"}},_vm._l((_vm.currentDocument['tags']),function(tag){return _c('v-btn',{key:_vm.currentDocument.id.toString()+tag+_vm.tags_changing.toString(),staticStyle:{\"margin-left\":\"10px\"},attrs:{\"label\":\"tags\",\"readonly\":\"\"},on:{\"click\":function($event){return _vm.delete_tag_doc(tag)}}},[_vm._v(_vm._s(tag))])}),1):_vm._e()],1),(_vm.buzonView)?_c('v-row',[(_vm.currentDocument)?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"10\"}},[_c('SelectorEmpresa',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"name\":\"SelectorEmpresa\",\"value\":_vm.currentDocument.detected_company_id,\"items\":_vm.get_companydbs,\"return_obj\":false,\"readonly\":false,\"item_val\":'id'},on:{\"gotInput\":_vm.company_chosen_manually}})],1):_vm._e()],1):_vm._e(),(_vm.currentDocument)?_c('v-divider'):_vm._e(),(_vm.currentCompany && _vm.currentDocument && ['in_invoice','out_invoice'].includes(_vm.currentDocument.kind) && !_vm.buzonView)?_c('invoice-info',{key:_vm.currentDocument.id,on:{\"invoice-date-changed\":function($event){return _vm.dateErrors_and_setDirty()}}}):_vm._e(),(!_vm.buzonView)?[_c('v-row',{staticClass:\"pa-4\"},[(_vm.currentDocument && _vm.userData.available_features['feature_document_number'] && !_vm.got_feature('feature_document_number_prefix') && !_vm.got_feature('feature_document_number_str'))?_c('v-col',{staticClass:\"pa-2\",attrs:{\"cols\":\"6\"}},[_c('doc-text-field',{staticClass:\"mx-2\",attrs:{\"kind\":\"number\",\"label\":\"Número de documento\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.currentDocument.doc_number),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"doc_number\", $$v)},expression:\"currentDocument.doc_number\"}})],1):_vm._e()],1),(_vm.currentDocument && !['done', 'pending_upload','done_manually', 'done_with_warning','pending_sync','pending_connect','accounting_aplifisa_fiscal','accounting_invoice'].includes(_vm.currentDocument.state))?_c('v-row',{staticClass:\"pb-0 pt-1 pl-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorAccountingDateSelect},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-select',{staticClass:\"mx-2\",attrs:{\"disabled\":!_vm.canSave(),\"label\":\"Fecha contable\",\"item-value\":\"id\",\"item-text\":\"text\",\"items\":_vm.ACCOUNTING_DATE_OPTIONS,\"background-color\":_vm.errorAccountingDateSelect ? _vm.color.error : _vm.color.ok},on:{\"change\":function($event){return _vm.dateErrors_and_setDirty()}},model:{value:(_vm.currentDocument.accounting_date_config),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"accounting_date_config\", $$v)},expression:\"currentDocument.accounting_date_config\"}})],1)]}}],null,false,3373321629)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.accountingTooltip)+\" \")])])],1),(_vm.currentDocument && !['done','done_manually','done_with_warning','pending_sync','pending_connect', 'pending_upload', 'accounting_aplifisa_fiscal','accounting_invoice'].includes(_vm.currentDocument.state))?_c('v-col',{staticClass:\"pa-4\",attrs:{\"cols\":\"6\",\"no-gutters\":\"\"}},[(_vm.currentDocument.accounting_date_config == 'configurated')?_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorAccountingDate},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('doc-text-field',{attrs:{\"kind\":\"date\",\"required\":_vm.currentDocument.accounting_date_config=='configurated',\"disabled\":!_vm.canSave(),\"error\":_vm.errorAccountingDate,\"label\":\"Fecha contabilización (DD/MM/YYYY)\"},on:{\"input\":function($event){return _vm.dateErrors_and_setDirty()}},model:{value:(_vm.currentDocument.default_accounting_date),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"default_accounting_date\", $$v)},expression:\"currentDocument.default_accounting_date\"}})],1)]}}],null,false,3841380021)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.accountingTooltip)+\" \")])]):_vm._e()],1):_vm._e()],1):_vm._e(),(_vm.currentDocument && _vm.got_feature('feature_fecha_registro') && !['done','done_manually','done_with_warning','pending_sync','pending_connect', 'pending_upload', 'accounting_aplifisa_fiscal','accounting_invoice'].includes(_vm.currentDocument.state))?_c('v-row',{staticClass:\"pb-0 pt-1 pl-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorRegistroDateSelect},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-select',{staticClass:\"mx-2\",attrs:{\"disabled\":!_vm.canSave(),\"label\":\"Fecha registro\",\"item-value\":\"id\",\"item-text\":\"text\",\"items\":_vm.REGISTRO_DATE_OPTIONS,\"background-color\":_vm.errorRegistroDateSelect ? _vm.color.error : _vm.color.ok},on:{\"change\":function($event){return _vm.dateErrors_and_setDirty()}},model:{value:(_vm.currentDocument.registro_date_config),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"registro_date_config\", $$v)},expression:\"currentDocument.registro_date_config\"}})],1)]}}],null,false,2608249152)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.registroTooltip)+\" \")])])],1),(_vm.currentDocument.registro_date_config=='configurated')?_c('v-col',{staticClass:\"pa-4\",attrs:{\"cols\":\"6\",\"no-gutters\":\"\"}},[(_vm.currentDocument.registro_date_config == 'configurated')?_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorRegistroDate},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('doc-text-field',{attrs:{\"kind\":\"date\",\"disabled\":!_vm.canSave(),\"error\":_vm.errorRegistroDate,\"label\":\"Fecha registro (DD/MM/YYYY)\"},on:{\"input\":function($event){return _vm.dateErrors_and_setDirty()}},model:{value:(_vm.currentDocument.default_registro_date),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"default_registro_date\", $$v)},expression:\"currentDocument.default_registro_date\"}})],1)]}}],null,false,3227801394)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.registroTooltip)+\" \")])]):_vm._e()],1):_vm._e()],1):_vm._e(),(_vm.currentDocument)?_c('v-row',{staticClass:\"pl-4 pt-2 pb-0\"},[(['done','done_manually','done_with_warning','pending_sync','pending_connect','accounting_aplifisa_fiscal','accounting_invoice', 'pending_upload'].includes(_vm.currentDocument.state))?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-text-field',{attrs:{\"disabled\":true,\"readonly\":true,\"label\":\"Fecha contabilización\"},model:{value:(_vm.currentDocument.accounting_date),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"accounting_date\", $$v)},expression:\"currentDocument.accounting_date\"}})],1):_vm._e(),(_vm.got_feature('feature_fecha_registro') && ['done','done_manually','done_with_warning','pending_sync','pending_connect','accounting_aplifisa_fiscal','accounting_invoice', 'pending_upload'].includes(_vm.currentDocument.state) && _vm.currentDocument.registro_date)?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-text-field',{attrs:{\"disabled\":true,\"readonly\":true,\"label\":\"Fecha registro\"},model:{value:(_vm.currentDocument.registro_date),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"registro_date\", $$v)},expression:\"currentDocument.registro_date\"}})],1):_vm._e(),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice')?_c('v-text-field',{attrs:{\"disabled\":_vm.currentDocument.state!='done',\"readonly\":true,\"label\":\"Apunte\"},model:{value:(_vm.currentDocument.entry_number),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"entry_number\", $$v)},expression:\"currentDocument.entry_number\"}}):_vm._e()],1)],1):_vm._e()]:_vm._e(),(false)?_c('v-list',{attrs:{\"dense\":\"\",\"nav\":\"\"}},[_vm._l((_vm.$store.state.labels.human),function(label){return [_c('v-list-item',{key:label.name,staticClass:\"pa-0\"},[_c('v-list-item-content',{staticClass:\"pb-0 pt-1\",class:{selectedrow:label.name===_vm.selectedLabel},staticStyle:{\"height\":\"50px\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"pt-2 pb-0 pr-0\",attrs:{\"cols\":\"1\"}},[(label.name===_vm.selectedLabel)?_c('v-icon',{staticClass:\"selected-chevron\",attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-chevron-right\")]):_vm._e()],1),(_vm.currentDocument)?_c('v-col',{staticClass:\"pt-0 pb-0 pl-0 pr-0\",attrs:{\"cols\":\"9\"}},[_c('doc-text-field',{attrs:{\"field-class\":{\n invalid: ['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && \n _vm.currentDocument.errorJson.includes(label.name)\n },\"kind\":\"text\",\"label\":label.text,\"disabled\":!_vm.currentDocument || _vm.currentDocument.forced_move || _vm.isWaitingFlow},on:{\"focus\":function($event){return _vm.selectLabel({ label: label.name })}},model:{value:(_vm.that['metadata_'+label.name]),callback:function ($$v) {_vm.$set(_vm.that, 'metadata_'+label.name, $$v)},expression:\"that['metadata_'+label.name]\"}})],1):_vm._e(),_c('v-col',{staticClass:\"pt-0 pb-0 pr-0 pl-2\",attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"color\":label.color,\"width\":\"10\",\"min-width\":\"10\",\"disabled\":!_vm.currentDocument || _vm.currentDocument.forced_move || _vm.isWaitingFlow},on:{\"click\":function($event){return _vm.selectLabel({ label: label.name })}}},[_c('v-icon',[_vm._v(\"mdi-tag\")])],1)],1)],1)],1)],1)]}),(false)?_c('v-simple-table',{scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"width\":\"130px\"}},[_vm._v(\"\\n Type\\n \")]),_c('th',{staticClass:\"text-left\"},[_vm._v(\"\\n Base\\n \")]),_c('th',{staticClass:\"text-left\"},[_vm._v(\"\\n Tax\\n \")])])]),_c('tbody',[_vm._l((_vm.$store.state.labels.taxes_labels),function(label){return [(_vm.currentDocument && _vm.currentDocument.metadata[label.name])?_c('tr',{key:'tax_'+label.name},[_c('td',[_c('v-text-field',{attrs:{\"readonly\":\"\"},model:{value:(label.text),callback:function ($$v) {_vm.$set(label, \"text\", $$v)},expression:\"label.text\"}})],1),_c('td',[_c('v-text-field',{class:{\n invalid: ['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && \n _vm.currentDocument.errorJson.includes(label.name)\n },attrs:{\"dense\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: label.name })}},model:{value:(_vm.currentDocument.metadata['base_'+label.name]),callback:function ($$v) {_vm.$set(_vm.currentDocument.metadata, 'base_'+label.name, $$v)},expression:\"currentDocument.metadata['base_'+label.name]\"}})],1),_c('td',[_c('v-text-field',{class:{\n invalid: ['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && \n _vm.currentDocument.errorJson.includes(label.name)\n },attrs:{\"dense\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: label.name })}},model:{value:(_vm.currentDocument.metadata[label.name]),callback:function ($$v) {_vm.$set(_vm.currentDocument.metadata, label.name, $$v)},expression:\"currentDocument.metadata[label.name]\"}})],1)]):_vm._e()]})],2)]},proxy:true}],null,false,1864984502)}):_vm._e()],2):_vm._e(),(_vm.userData.available_features['feature_see_currency'] && _vm.currentDocument && _vm.currentDocument.currency && !_vm.buzonView && !_vm.pending_states.includes(_vm.currentDocument.state))?_c('v-row',[_c('v-col',{staticClass:\"divisa\",attrs:{\"cols\":\"8\"}},[(_vm.available_currencies.length <= 0)?_c('v-text-field',{staticStyle:{\"padding-left\":\"25px\"},attrs:{\"label\":\"Divisa de la factura\",\"readonly\":\"\",\"disabled\":['pending_connect','accounting_aplifisa_fiscal','accounting_invoice','pending_sync','done','done_manually','done_with_warning', 'pending_upload'].includes(_vm.currentDocument.state)},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.currentDocument.currency),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"currency\", $$v)},expression:\"currentDocument.currency\"}}):_c('v-select',{staticStyle:{\"padding-left\":\"25px\"},attrs:{\"items\":_vm.available_currencies,\"label\":\"Divisa de la factura\",\"disabled\":['pending_connect','accounting_aplifisa_fiscal','accounting_invoice','pending_sync','done','done_manually','done_with_warning', 'pending_upload'].includes(_vm.currentDocument.state)},on:{\"change\":function($event){return _vm.currencyHasChanged()}},model:{value:(_vm.currentDocument.currency),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"currency\", $$v)},expression:\"currentDocument.currency\"}}),(_vm.currentDocument && !('detected_amounts' in _vm.currentDocument.metadata) && _vm.currentDocument.currency != 'EUR' &&\n !['pending_connect','accounting_aplifisa_fiscal','accounting_invoice','pending_sync','done','done_manually','done_with_warning', 'pending_upload'].includes(_vm.currentDocument.state))?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"ml-1 mb-2\",attrs:{\"color\":\"primary\",\"loading\":_vm.loading_update_currency,\"disabled\":_vm.dirty},on:{\"click\":_vm.update_divisa}},'v-btn',attrs,false),on),[_vm._v(\"\\n a EUR\\n \")])]}}],null,false,2085959833)},[_c('span',[_vm._v(\"Actualizar valores a EUR\")])]):_vm._e(),(_vm.currentDocument && 'detected_amounts' in _vm.currentDocument.metadata)?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"ml-1 mb-2\",attrs:{\"color\":\"primary\",\"loading\":_vm.loading_restore_detected},on:{\"click\":_vm.restore_detected}},'v-btn',attrs,false),on),[_vm._v(\"\\n a \"+_vm._s(_vm.currentDocument.currency)+\"\\n \")])]}}],null,false,3538073706)},[_c('span',[_vm._v(\"Recuperar valores detectados\")])]):_vm._e()],1)],1):_vm._e(),(_vm.currentDocument && _vm.currentDocument.metadata && 'detected_amounts' in _vm.currentDocument.metadata && _vm.currency_info)?_c('v-row',{staticClass:\"under__text__divisa\"},[_c('v-col',{attrs:{\"cols\":\"10\"}},[_c('span',[_c('strong',[_vm._v(\"Tipo de cambio:\")]),_vm._v(\" \"+_vm._s(_vm.currency_info.name)+\" a EUR en fecha \"+_vm._s(_vm.currency_info.date)+\" con valor \"+_vm._s(_vm.currency_info.value)+\".\")])])],1):_vm._e(),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"600\"},model:{value:(_vm.show_popup_message_restore),callback:function ($$v) {_vm.show_popup_message_restore=$$v},expression:\"show_popup_message_restore\"}},[_c('v-card',[_c('v-card-title',[_c('span',{staticClass:\"text-h5 font-weight-bold py-1 ml-2\"},[_vm._v(\"Aviso\")])]),_c('v-divider'),_c('p',{staticClass:\"px-3 ml-6 pt-5\"},[_vm._v(\"¿Esta seguro que quiere restablecer las bases y cuotas?\")]),_c('span',{staticClass:\"primary--text px-3 ml-6\"},[_vm._v(\"Bases y cuotas detectadas:\")]),_c('v-card-text',[(_vm.currentCompany && _vm.currentDocument && ['in_invoice','out_invoice'].includes(_vm.currentDocument.kind))?_c('invoice-detected-info',{key:_vm.currentDocument.id}):_vm._e()],1),_c('v-card-actions',{staticClass:\"px-6\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"variant\":\"text\"},on:{\"click\":function($event){return _vm.confirmRestoreDetected(false)}}},[_vm._v(\"\\n Cancelar\\n \")]),_c('v-btn',{attrs:{\"variant\":\"text\",\"color\":\"primary\",\"disabled\":_vm.currentDocument && ['pending_connect','accounting_aplifisa_fiscal','accounting_invoice','pending_sync','done','done_manually','done_with_warning', 'pending_upload'].includes(_vm.currentDocument.state)},on:{\"click\":function($event){return _vm.confirmRestoreDetected(true)}}},[_vm._v(\"\\n Aceptar\\n \")])],1)],1)],1),_c('message-popup',{attrs:{\"title\":\"Aviso\",\"show_message\":_vm.show_popup_message,\"message\":\"

¿Esta seguro que quiere modificar las bases y cuotas a la divisa EUR ?

\",\"actions\":[{ 'action_text': 'Cancelar', 'emit': 'close-message' }, { 'action_text': 'Aceptar', 'emit': 'confirm-update-data', 'prin': true }]},on:{\"close-message\":function($event){return _vm.confirmCurrency(false)},\"confirm-update-data\":function($event){return _vm.confirmCurrency(true)}}}),(_vm.got_feature('feature_invoice_notes'))?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"label\":\"Notas de factura\"},model:{value:(_vm.document_notes),callback:function ($$v) {_vm.document_notes=$$v},expression:\"document_notes\"}})],1)],1):_vm._e(),_c('v-row',[(_vm.currentDocument && _vm.currentDocument['originalFileName'])?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"label\":\"Nombre del archivo\",\"readonly\":\"\"},model:{value:(_vm.currentDocument['originalFileName']),callback:function ($$v) {_vm.$set(_vm.currentDocument, 'originalFileName', $$v)},expression:\"currentDocument['originalFileName']\"}})],1):_vm._e()],1),(_vm.got_feature('feature_ai_detected_lines'))?[(_vm.currentDocument && _vm.currentDocument.static_invoice)?_c('v-row',[_c('v-col',[_c('v-btn',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"primary\":\"\"},on:{\"click\":function($event){return _vm.invoiceLinesPopUp()}}},[_vm._v(\" Ver líneas\\n \")])],1)],1):_c('v-row',[_c('v-col',[_c('v-btn',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"primary\":\"\"},on:{\"click\":function($event){return _vm.detectarLineas()}}},[_vm._v(\" Detectar líneas\\n \")])],1)],1)]:_vm._e()],2)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-download\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-delete\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-content-save\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-content-save\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-menu\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-arrow-left\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-arrow-right\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-autorenew\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-alert-decagram\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-alert\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-mirror\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-airplane\")])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[(_vm.company)?_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_vm._v(\"Parece que el CIF para esta empresa no está configurado correctamente, \")]),_c('v-card-text',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('strong',[_vm._v(\"Empresa:\")])]),_c('v-col',{attrs:{\"cols\":\"8\"}},[_vm._v(\"\\n \"+_vm._s(_vm.company.company_name)+\"\\n \")])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('strong',[_vm._v(\"CIF actual:\")])]),_c('v-col',{attrs:{\"cols\":\"8\"}},[_vm._v(\"\\n \"+_vm._s(_vm.company.company_nif)+\"\\n \")])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('strong',[_vm._v(\"CIF correcto:\")])]),_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('v-text-field',{attrs:{\"regular\":\"\",\"color\":\"primary\",\"dense\":\"\",\"hide-details\":\"\"},model:{value:(_vm.cif_doc),callback:function ($$v) {_vm.cif_doc=$$v},expression:\"cif_doc\"}})],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.close()}}},[_vm._v(\"MANTENER CIF ACTUAL\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){return _vm.fix()}}},[_vm._v(\"CORREGIR\")])],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FixCIFPopup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FixCIFPopup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FixCIFPopup.vue?vue&type=template&id=b7563bea&scoped=true&\"\nimport script from \"./FixCIFPopup.vue?vue&type=script&lang=js&\"\nexport * from \"./FixCIFPopup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FixCIFPopup.vue?vue&type=style&index=0&id=b7563bea&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 \"b7563bea\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VDialog,VRow,VSpacer,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{staticClass:\"sector-head py-0\"},[_c('v-col',{staticClass:\"primary_blue--text subtitle-1 font-weight-bold\",attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"mb-0 ml-4\"},[_vm._v(\" Líneas de \"+_vm._s(_vm.invoice.name)+\" \")])])],1),_c('v-card',{staticClass:\"text-center lines__table\",staticStyle:{\"overflow-y\":\"scroll\"},attrs:{\"flat\":\"\",\"width\":\"100%\"}},[_c('v-row',{staticClass:\"table-head-row flex-sm-nowrap d-flex align-center justify-center\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"9\"}},[_vm._v(\"Descripcion\")]),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('div',{staticClass:\"col\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Precio Unitario\")]),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('div',{staticClass:\"col\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Cantidad\")]),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('div',{staticClass:\"col\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Importe total\")])],1),_vm._l((_vm.invoice_lines),function(invoice_line,index){return _c('div',{key:index,attrs:{\"no-gutters\":\"\"}},[_c('div',{staticClass:\"d-flex flex-sm-nowrap table-row\"},[_c('v-col',{staticClass:\" pa-0 ma-0 d-flex flex-sm-nowrap\",attrs:{\"cols\":\"9\"}},[_c('div',{staticClass:\"d-flex align-center justify-center\"},[_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"#4c4c4c\",\"disabled\":_vm.readonly},on:{\"click\":function($event){return _vm.deleteInvoiceLine(index)}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)],1),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('div',{staticClass:\"d-flex align-center justify-center px-2\",class:index % 2 == 0? 'bg__gray__2': 'bg__gray'},[_vm._v(\"\\n \"+_vm._s((index+1))+\"\\n \")]),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('TableCustomTextField',{attrs:{\"required\":true,\"kind\":'invoice_line_kind',\"readonly\":_vm.readonly},model:{value:(invoice_line.description),callback:function ($$v) {_vm.$set(invoice_line, \"description\", $$v)},expression:\"invoice_line.description\"}})],1),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('div',{staticClass:\"col\"},[_c('TableCustomTextField',{attrs:{\"required\":true,\"readonly\":_vm.readonly,\"reverse\":true,\"type\":'number'},on:{\"change\":function($event){return _vm.change(index)}},model:{value:(invoice_line.unit_price_without_tax),callback:function ($$v) {_vm.$set(invoice_line, \"unit_price_without_tax\", $$v)},expression:\"invoice_line.unit_price_without_tax\"}})],1),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('div',{staticClass:\"col\"},[_c('TableCustomTextField',{attrs:{\"required\":true,\"readonly\":_vm.readonly,\"reverse\":true,\"type\":'number'},on:{\"change\":function($event){return _vm.change(index)}},model:{value:(invoice_line.quantity),callback:function ($$v) {_vm.$set(invoice_line, \"quantity\", $$v)},expression:\"invoice_line.quantity\"}})],1),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('div',{staticClass:\"col\"},[_c('TableCustomTextField',{attrs:{\"value\":_vm.get_total_amount(invoice_line),\"readonly\":\"\",\"reverse\":true}})],1)],1),_c('v-divider')],1)})],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n ","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceLinesEditorSimplified.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceLinesEditorSimplified.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvoiceLinesEditorSimplified.vue?vue&type=template&id=ffb29b9e&scoped=true&\"\nimport script from \"./InvoiceLinesEditorSimplified.vue?vue&type=script&lang=js&\"\nexport * from \"./InvoiceLinesEditorSimplified.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InvoiceLinesEditorSimplified.vue?vue&type=style&index=0&id=ffb29b9e&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 \"ffb29b9e\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCol,VDivider,VIcon,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('DetailAccounts',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'_dialog',attrs:{\"show_message\":_vm.show_account_detail,\"vat\":_vm.dialog_vat},on:{\"close-message\":function($event){_vm.show_account_detail=false}}}),(_vm.currentDocument)?_c('v-row',{staticClass:\"pa-4\"},[(_vm.currentDocument && (_vm.got_feature('feature_document_number_prefix') || _vm.showDocNumberStr()))?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":6}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.got_feature('feature_document_number_prefix') ? 'Prefijo núm. documento' : 'Número documento',\"disabled\":!_vm.canChange()},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_doc_number_prefix),callback:function ($$v) {_vm.document_doc_number_prefix=$$v},expression:\"document_doc_number_prefix\"}})],1):_vm._e(),(_vm.currentDocument && _vm.showDocNumberStr())?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":6}}):_vm._e(),(_vm.currentDocument && (_vm.got_feature('feature_document_number_prefix') || (['accounting_invoice', 'accounting', 'pending_sync', 'done'].includes(_vm.currentDocument.state) && _vm.got_feature('feature_fill_num_doc_pending_sync'))))?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":6}},[_c('doc-text-field',{attrs:{\"kind\":\"number\",\"label\":\"Núm. documento\",\"disabled\":!_vm.canChange()},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_doc_number),callback:function ($$v) {_vm.document_doc_number=$$v},expression:\"document_doc_number\"}})],1):_vm._e(),(_vm.currentDocument.metadata && Object.keys(_vm.currentDocument.metadata).includes('num_pedido') )?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"Número de pedido\",\"error\":_vm.currentDocument.errorJson && _vm.currentDocument.errorJson.length && _vm.currentDocument.errorJson.includes('num_pedido')},model:{value:(_vm.currentDocument.metadata['num_pedido']),callback:function ($$v) {_vm.$set(_vm.currentDocument.metadata, 'num_pedido', $$v)},expression:\"currentDocument.metadata['num_pedido']\"}})],1):_vm._e(),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":6}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'inv_number',attrs:{\"field-key\":\"inv_number\",\"field-text\":\"Núm. factura\",\"required\":true}})],1),(_vm.document_kind=='in_invoice')?[(_vm.document_supplierdb_info)?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":6}},[(_vm.currentDocument.errorJson && _vm.currentDocument.errorJson.length && _vm.currentDocument.errorJson.includes('third_cif'))?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('doc-text-field',_vm._g(_vm._b({attrs:{\"field-text\":\"CIF\",\"readonly\":\"\",\"value\":_vm.document_supplierdb_info.cif,\"error\":true}},'doc-text-field',attrs,false),on))]}}],null,false,668811425)},[_c('span',[_vm._v(\"El CIF del tercero debe coincidir con el de la factura\")])]):_c('doc-text-field',{attrs:{\"field-text\":\"CIF\",\"readonly\":\"\",\"value\":_vm.document_supplierdb_info.cif,\"error\":false}})],1):_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":6}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'vat_supplier',attrs:{\"field-key\":\"vat_supplier\",\"field-text\":\"CIF\"}})],1)]:[(_vm.document_customerdb_info)?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":6}},[(_vm.currentDocument.errorJson && _vm.currentDocument.errorJson.length && _vm.currentDocument.errorJson.includes('third_cif'))?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('doc-text-field',_vm._g(_vm._b({attrs:{\"field-text\":\"CIF\",\"readonly\":\"\",\"value\":_vm.document_customerdb_info.cif,\"error\":true}},'doc-text-field',attrs,false),on))]}}],null,false,1951863217)},[_c('span',[_vm._v(\"El CIF del tercero debe coincidir con el de la factura\")])]):_c('doc-text-field',{attrs:{\"field-text\":\"CIF\",\"readonly\":\"\",\"value\":_vm.document_customerdb_info.cif,\"error\":false}})],1):_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":6}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'vat_customer',attrs:{\"field-key\":\"vat_customer\",\"field-text\":\"CIF\"}})],1)],_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.permission.can_write && _vm.document_kind=='in_invoice')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.document_kind=='in_invoice' && ['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('div',{staticStyle:{\"font-size\":\"14px\"}},[_vm._v(\"\\n Hay varios proveedores que encajan, elija el correcto:\\n \")]):_vm._e(),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":_vm.document_supplierdb_info && _vm.valid_expens_accounts && _vm.valid_expens_account_bien_inversion},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(_vm.currentDocument && _vm.currentDocument.companydb)?_c('div',[(['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('autocomplete-with-api',{attrs:{\"autocomplete\":\"off\",\"label\":\"Proveedor\",\"url\":'get_matching_thirds/?doc_id=' + _vm.currentDocument.id,\"item-text\":\"extended_name\",\"item_search_field\":\"selector_text\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"bck_color\":!_vm.document_supplierdb_info || (_vm.document_supplierdb_info && _vm.document_supplierdb_info.credit_account == '') ?'#ff9898':'#ffffff',\"return_object\":true,\"vbind\":attrs,\"von\":on},model:{value:(_vm.document_supplierdb_info),callback:function ($$v) {_vm.document_supplierdb_info=$$v},expression:\"document_supplierdb_info\"}}):(['done','done_manually', 'done_with_warning'].includes(_vm.currentDocument.state) && !(_vm.fixMotxo))?_c('v-autocomplete',_vm._g(_vm._b({attrs:{\"autocomplete\":\"off\",\"label\":\"Proveedor\",\"items\":[_vm.document_supplierdb_info],\"item-text\":\"extended_name\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"background-color\":!_vm.document_supplierdb_info || (_vm.document_supplierdb_info && _vm.document_supplierdb_info.credit_account == '')?'#ff9898':'#ffffff',\"return-object\":\"\",\"filter\":_vm.filterBy},on:{\"change\":function($event){return _vm.on_supplierdb_changed()}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.cif)+\" - \"+_vm._s(data.item.name)+\"\\n \")]}}],null,true),model:{value:(_vm.document_supplierdb_info),callback:function ($$v) {_vm.document_supplierdb_info=$$v},expression:\"document_supplierdb_info\"}},'v-autocomplete',attrs,false),on)):(_vm.feature_search_thirds_by_api)?_c('autocomplete-with-api',{attrs:{\"label\":\"Proveedor\",\"starting_items\":_vm.suppliers,\"url\":'get_all_suppliers/?companydb_id=' + _vm.currentCompany.id,\"item_text\":\"extended_name\",\"item_search_field\":\"selector_text\",\"return_object\":true,\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"bck_color\":!_vm.document_supplierdb_info || !_vm.valid_expens_accounts || !_vm.valid_expens_account_bien_inversion || (_vm.document_supplierdb_info && _vm.document_supplierdb_info.credit_account == '')?'#ff9898':'#ffffff',\"vbind\":attrs,\"von\":on},model:{value:(_vm.document_supplierdb_info),callback:function ($$v) {_vm.document_supplierdb_info=$$v},expression:\"document_supplierdb_info\"}}):_c('v-autocomplete',_vm._g(_vm._b({attrs:{\"autocomplete\":\"off\",\"label\":\"Proveedor\",\"items\":_vm.suppliers,\"item-text\":\"extended_name\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"background-color\":!_vm.document_supplierdb_info || !_vm.valid_expens_accounts || !_vm.valid_expens_account_bien_inversion || (_vm.document_supplierdb_info && _vm.document_supplierdb_info.credit_account == '')?'#ff9898':'#ffffff',\"return-object\":\"\",\"filter\":_vm.filterBy},on:{\"change\":function($event){return _vm.on_supplierdb_changed()}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.selector_text)+\"\\n \")]}}],null,true),model:{value:(_vm.document_supplierdb_info),callback:function ($$v) {_vm.document_supplierdb_info=$$v},expression:\"document_supplierdb_info\"}},'v-autocomplete',attrs,false),on))],1):_vm._e()]}}],null,false,2760439082)},[(!_vm.document_supplierdb_info || !_vm.valid_expens_accounts || !_vm.valid_expens_account_bien_inversion)?_c('span',[(!_vm.document_supplierdb_info)?_c('div',[_vm._v(\"Proveedor no asignado\")]):(!_vm.valid_expens_accounts)?_c('div',[_vm._v(\"Cuenta de gastos no asignada\")]):(!_vm.valid_expens_account_bien_inversion)?_c('div',[_vm._v(\"Cuenta de gastos en bienes de inversión no asignada\")]):_vm._e()]):_vm._e()])],1),(Boolean(_vm.permission.can_write) && (!_vm.got_feature('feature_not_create_thirds_and_masters') || (_vm.got_feature('feature_not_create_thirds_and_masters') && _vm.document_supplierdb_info)))?_c('v-col',{staticClass:\"align-self-center\",attrs:{\"cols\":\"3\"}},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{staticClass:\"ml-1 mb-2\",attrs:{\"color\":\"primary\",\"max-width\":\"50\",\"min-width\":\"50\"},on:{\"click\":function($event){return _vm.show_modal()}}},[(_vm.document_supplierdb_info)?_c('v-icon',[_vm._v(\"mdi-pencil\")]):_c('v-icon',[_vm._v(\"mdi-plus\")])],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[(_vm.document_supplierdb_info)?_c('v-btn',{staticClass:\" mb-2\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"max-width\":\"50\",\"min-width\":\"50\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange()},on:{\"click\":function($event){_vm.document_supplierdb=undefined;_vm.document_supplierdb_info=undefined}}},[_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-eraser\")])],1):_vm._e()],1)],1)],1):_vm._e()],1):(_vm.permission.can_write && _vm.document_kind=='out_invoice')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.document_kind=='out_invoice' && ['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('div',{staticStyle:{\"font-size\":\"14px\"}},[_vm._v(\"\\n Hay varios clientes que encajan, elija el correcto:\\n \")]):_vm._e(),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":_vm.document_customerdb_info && _vm.valid_income_accounts},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(_vm.currentDocument && _vm.currentDocument.companydb)?_c('div',[(['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('autocomplete-with-api',{attrs:{\"autocomplete\":\"off\",\"label\":\"Cliente\",\"url\":'get_matching_thirds/?doc_id=' + _vm.currentDocument.id,\"item-text\":\"extended_name\",\"item_search_field\":\"selector_text\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"bck_color\":!_vm.document_customerdb_info || (_vm.document_customerdb_info && _vm.document_customerdb_info.debit_account == '')?'#ff9898':'#ffffff',\"return_object\":true,\"vbind\":attrs,\"von\":on},model:{value:(_vm.document_customerdb_info),callback:function ($$v) {_vm.document_customerdb_info=$$v},expression:\"document_customerdb_info\"}}):(['done','done_manually', 'done_with_warning'].includes(_vm.currentDocument.state) && !(_vm.fixMotxo))?_c('v-autocomplete',_vm._g(_vm._b({attrs:{\"label\":\"Cliente\",\"autocomplete\":\"off\",\"items\":[_vm.document_customerdb_info],\"item-text\":\"extended_name\",\"item-value\":\"id\",\"background-color\":!_vm.document_customerdb_info || (_vm.document_customerdb_info && _vm.document_customerdb_info.debit_account == '')?'#ff9898':'#ffffff',\"return-object\":\"\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"filter\":_vm.filterBy},on:{\"change\":function($event){return _vm.on_customerdb_changed()}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.cif)+\" - \"+_vm._s(data.item.name)+\"\\n \")]}}],null,true),model:{value:(_vm.document_customerdb_info),callback:function ($$v) {_vm.document_customerdb_info=$$v},expression:\"document_customerdb_info\"}},'v-autocomplete',attrs,false),on)):(_vm.feature_search_thirds_by_api)?_c('autocomplete-with-api',{attrs:{\"label\":\"Cliente\",\"starting_items\":_vm.customers,\"url\":'get_all_customers/?companydb_id=' + _vm.currentCompany.id,\"item_text\":\"extended_name\",\"item_search_field\":\"selector_text\",\"return_object\":true,\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"bck_color\":!_vm.document_customerdb_info || !_vm.valid_income_accounts || (_vm.document_customerdb_info && _vm.document_customerdb_info.debit_account == '')?'#ff9898':'#ffffff'},model:{value:(_vm.document_customerdb_info),callback:function ($$v) {_vm.document_customerdb_info=$$v},expression:\"document_customerdb_info\"}}):_c('v-autocomplete',_vm._g(_vm._b({attrs:{\"label\":\"Cliente\",\"autocomplete\":\"off\",\"items\":_vm.customers,\"item-text\":\"extended_name\",\"item-value\":\"id\",\"background-color\":!_vm.document_customerdb_info || !_vm.valid_income_accounts || (_vm.document_customerdb_info && _vm.document_customerdb_info.debit_account == '')?'#ff9898':'#ffffff',\"return-object\":\"\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"filter\":_vm.filterBy},on:{\"change\":function($event){return _vm.on_customerdb_changed()}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.selector_text)+\"\\n \")]}}],null,true),model:{value:(_vm.document_customerdb_info),callback:function ($$v) {_vm.document_customerdb_info=$$v},expression:\"document_customerdb_info\"}},'v-autocomplete',attrs,false),on))],1):_vm._e()]}}],null,false,3533611051)},[(!_vm.document_customerdb_info)?_c('span',[_vm._v(\"Cliente no asignado\")]):(!_vm.valid_income_accounts)?_c('span',[_vm._v(\"Cuenta de ingresos no asignada\")]):_vm._e()])],1),((!_vm.got_feature('feature_not_create_thirds_and_masters') || (_vm.got_feature('feature_not_create_thirds_and_masters') && _vm.document_customerdb_info)))?_c('v-col',{staticClass:\"align-self-center\",attrs:{\"cols\":\"3\"}},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{staticClass:\"ml-1 mb-2\",attrs:{\"color\":\"primary\",\"max-width\":\"50\",\"min-width\":\"50\"},on:{\"click\":function($event){return _vm.show_modal()}}},[(_vm.document_customerdb_info)?_c('v-icon',[_vm._v(\"mdi-pencil\")]):_c('v-icon',[_vm._v(\"mdi-plus\")])],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[(_vm.document_customerdb_info)?_c('v-btn',{staticClass:\" mb-2\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"max-width\":\"50\",\"min-width\":\"50\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange()},on:{\"click\":function($event){_vm.document_customerdb=undefined;_vm.document_customerdb_info=undefined}}},[_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-eraser\")])],1):_vm._e()],1)],1)],1):_vm._e()],1):_vm._e(),(_vm.got_feature('feature_vies_validation') && _vm.currentDocument.intracomunitario && (_vm.document_supplierdb_info || _vm.document_supplierdb_info))?_c('vies-validator',{key:_vm.document_kind == 'in_invoice' ? _vm.document_supplierdb_info.cif : _vm.document_customerdb_info.cif,attrs:{\"third\":_vm.document_kind == 'in_invoice' ? _vm.document_supplierdb_info : _vm.document_customerdb_info}}):_vm._e(),(['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{staticClass:\"text-none text-subtitle-1\",attrs:{\"color\":\"primary\",\"max-height\":\"25px\"},on:{\"click\":function($event){_vm.declined_matching=true}}},[_vm._v(\"\\n Elegir otro tercero\\n \")])],1)],1):_vm._e()],1),(_vm.show_third_concept)?_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'third_concept',staticStyle:{\"margin-top\":\"-3vh\"},attrs:{\"field-key\":\"third_concept\",\"required\":true,\"readonly\":_vm.readOnlyThirdConcept,\"tabs\":_vm.tabs,\"kind\":\"special_acc\",\"field-text\":\"Concepto\"}})],1):_vm._e(),(_vm.show_third_concept)?_c('v-col',{attrs:{\"cols\":\"6\"}}):_vm._e(),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorInvoiceDate},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+_vm.documentFetched.toString()+'invoice_date',attrs:{\"field-key\":\"invoice_date\",\"editable-forced-move\":true,\"field-text\":\"Fecha factura\",\"kind\":\"date\",\"initial_error\":['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && _vm.currentDocument.errorJson.includes('invoice_date'),\"metadata_error\":_vm.errorInvoiceDate,\"required\":true},on:{\"input\":function($event){return _vm.dateErrors_and_setDirty()}}})],1)]}}],null,false,3026123328)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.invoiceTooltip)+\" \")])])],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'due_date',attrs:{\"field-key\":\"due_date\",\"field-text\":\"Fecha vencimiento\",\"kind\":\"date\",\"initial_error\":['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && _vm.currentDocument.errorJson.includes('due_date')}})],1),_c('v-col',{attrs:{\"cols\":_vm.show_retention_type_name?'3':'6'}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'retention_type',attrs:{\"field-key\":\"retention_type\",\"required\":Boolean(_vm.currentDocument.metadata['retention_amount']),\"tabs\":_vm.tabs,\"kind\":\"number\",\"field-text\":\"% Ret.\"}})],1),_c('v-col',{attrs:{\"cols\":_vm.show_retention_type_name?'3':'6'}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'retention_amount',attrs:{\"field-key\":\"retention_amount\",\"required\":Boolean(_vm.currentDocument.metadata['retention_type']),\"tabs\":_vm.tabs,\"kind\":\"number\",\"field-text\":\"Retención\"}})],1),(_vm.show_retention_type_name)?_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"required\":Boolean(_vm.currentDocument.metadata['retention_amount']),\"autocomplete\":\"off\",\"label\":\"Tipo de retención\",\"items\":_vm.filtered_retention_types,\"hide-details\":true,\"error\":_vm.errorRetentionType},model:{value:(_vm.document_retention_type_name),callback:function ($$v) {_vm.document_retention_type_name=$$v},expression:\"document_retention_type_name\"}})],1):_vm._e()],2):_vm._e(),_c('v-row',[(_vm.got_feature('feature_assign_fiscal_location'))?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"15\"}},[_c('v-autocomplete',{staticClass:\"autocomplete-input pa-0 ml-4\",class:{'error-background': _vm.fiscal_location_error !== ''},attrs:{\"autocomplete\":\"off\",\"label\":\"Localización Fiscal\",\"items\":_vm.fiscal_locations,\"readonly\":false},on:{\"change\":_vm.on_fiscal_location_changed},model:{value:(_vm.currentDocument.fiscal_location),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"fiscal_location\", $$v)},expression:\"currentDocument.fiscal_location\"}})],1):_vm._e(),(_vm.got_feature('feature_assign_fiscal_location') && this.fiscal_location_error !== '')?_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-icon',_vm._g(_vm._b({staticClass:\"error--text\",staticStyle:{\"font-size\":\"20px\"}},'v-icon',attrs,false),on),[_vm._v(\" mdi-alert-circle\\n \")])]}}],null,false,4215774508)},[_c('span',[_vm._v(_vm._s(this.fiscal_location_error))])])],1):_vm._e()],1),_c('v-tabs',{model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},_vm._l((_vm.visibleTabs),function(tab){return _c('v-tab',{key:tab.code},[(tab.code == 'params')?_c('div',[_vm._v(\"\\n \"+_vm._s(tab.text)+\" \"),(_vm.someParamsError)?_c('v-icon',{attrs:{\"color\":\"red\"}},[_vm._v(\"mdi-alert\")]):_vm._e()],1):_c('div',[_vm._v(\"\\n \"+_vm._s(tab.text)+\"\\n \")])])}),1),(_vm.currentDocument)?_c('v-tabs-items',{staticClass:\"ma-3 table-iva\",model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},_vm._l((_vm.visibleTabs),function(tab){return _c('v-tab-item',{key:tab.code+'1'},[(tab.code == 'params')?_c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.got_feature('feature_serie_in_docs'))?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"label\":\"Serie\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_serie),callback:function ($$v) {_vm.document_serie=$$v},expression:\"document_serie\"}})],1)],1):_vm._e(),(_vm.showTypes0Error)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('div',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"\\n Las facturas intracomunitarias o con inversion del sujeto pasivo no admiten los impuestos de esta factura.\\n \")])])],1):_vm._e(),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('v-radio-group',{key:_vm.selectedParam,on:{\"change\":_vm.resetParamOption},model:{value:(_vm.selectedParam),callback:function ($$v) {_vm.selectedParam=$$v},expression:\"selectedParam\"}},[_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"inversion_sujeto_pasivo_iva\",\"label\":\"Inversión sujeto pasivo IVA\"}})],1),_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"inversion_sujeto_pasivo_igic\",\"label\":\"Inversión sujeto pasivo IGIC\"}})],1),_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"intracomunitario\",\"label\":\"Intracomunitario\"}})],1),(_vm.currentDocument.kind=='out_invoice' || _vm.selectedParam == 'extracomunitario' || _vm.got_feature('feature_extra_supplier'))?_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"extracomunitario\",\"label\":\"Extracomunitario\"}})],1):_vm._e(),(_vm.feature_supplier_comerciante_minorista && _vm.currentDocument.kind=='in_invoice')?_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"is_comerciante_minorista\",\"label\":\"Comerciante Minorista\"}})],1):_vm._e(),(_vm.feature_no_sujeta)?_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"no_sujeta\",\"label\":\"No sujeta\"}})],1):_vm._e()])],1),(_vm.selectedParam && _vm.PROVIDER_SOMETHING_OPTIONS[_vm.selectedParam])?_c('v-col',{attrs:{\"cols\":\"4\"}},[(_vm.currentDocument.kind=='in_invoice')?_c('v-autocomplete',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"autocomplete\":\"off\",\"label\":_vm.selectedParam === 'extracomunitario' ? 'Importaciones' : 'Porcentaje',\"items\":_vm.PROVIDER_SOMETHING_OPTIONS[_vm.selectedParam],\"background-color\":_vm.taxTypesDoNotMatch ? '#ff9898' : '#ffffff',\"readonly\":_vm.currentDocument.forced_move || !_vm.canChange()},model:{value:(_vm.selectedParamOption),callback:function ($$v) {_vm.selectedParamOption=$$v},expression:\"selectedParamOption\"}}):_vm._e(),((_vm.selectedParam == 'intracomunitario' && _vm.feature_intra_type) || (_vm.selectedParam == 'extracomunitario' && _vm.feature_extra_type))?_c('v-autocomplete',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"autocomplete\":\"off\",\"label\":\"Tipo\",\"items\":_vm.PROVIDER_SOMETHING_OPTIONS2[_vm.selectedParam],\"readonly\":_vm.currentDocument.forced_move || !_vm.canChange()},model:{value:(_vm.selectedParamOption2),callback:function ($$v) {_vm.selectedParamOption2=$$v},expression:\"selectedParamOption2\"}}):_vm._e()],1):_vm._e()],1),_c('v-divider',{staticClass:\"v-divider theme--light\",attrs:{\"role\":\"separator\",\"aria-orientation\":\"horizontal\"}}),(_vm.feature_bien_inversion)?_c('v-row',[_c('v-col',{staticClass:\"ml-3 pa-0 ma-0\",attrs:{\"cols\":\"8\"}},[_c('v-checkbox',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"label\":\"Bienes de inversión\"},on:{\"change\":function($event){return _vm.checkBienInversion()}},model:{value:(_vm.document_bien_inversion),callback:function ($$v) {_vm.document_bien_inversion=$$v},expression:\"document_bien_inversion\"}})],1)],1):_vm._e(),_c('v-divider',{staticClass:\"v-divider theme--light\",attrs:{\"role\":\"separator\",\"aria-orientation\":\"horizontal\"}}),(_vm.currentDocument.kind=='in_invoice')?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.noDeducibleCheckError && !_vm.isComercianteMinoristaCheckError},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-radio-group',{attrs:{\"error\":_vm.noDeducibleCheckError || _vm.isComercianteMinoristaCheckError},model:{value:(_vm.selectedIvaCheck),callback:function ($$v) {_vm.selectedIvaCheck=$$v},expression:\"selectedIvaCheck\"}},[_c('div',{on:{\"click\":_vm.toggleParamIva}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"iva_igic_no_deducible\",\"label\":\"IVA/IGIC no deducible\"}})],1),(_vm.feature_gasto_iva_parcial)?_c('div',{on:{\"click\":_vm.toggleParamIva}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"gasto_iva_parcial\",\"label\":\"Gasto+IVA deducible parcialmente\"}})],1):_vm._e(),(_vm.feature_iva_deducible_parcialmente)?_c('div',{on:{\"click\":_vm.toggleParamIva}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"iva_parcial\",\"label\":\"IVA deducible parcialmente\"}})],1):_vm._e(),(_vm.feature_prorate && _vm.currentDocument.kind == 'in_invoice' && _vm.currentDocument.companydb_info.prorate && _vm.currentPath()['prorate_percent'] != 'N/A')?_c('div',{on:{\"click\":_vm.toggleParamIva}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"prorate\",\"label\":\"Prorrata\"}})],1):_vm._e()])],1)]}}],null,true)},[(_vm.noDeducibleCheckError)?_c('span',[_vm._v(\"Funcionalidad no soportada: Factura con IVA/IGIC no deducible e \"+_vm._s((_vm.selectedParam=='intracomunitario' && 'Intracomunitario') || (_vm.selectedParam=='inversion_sujeto_pasivo_iva' && 'Inversión sujeto pasivo IVA') || (_vm.selectedParam=='inversion_sujeto_pasivo_igic' && 'Inversión sujeto pasivo IGIC'))+\".\")]):_vm._e(),(_vm.isComercianteMinoristaCheckError)?_c('span',[_vm._v(\"Funcionalidad no soportada: Factura con Comerciante Minorista y Deducibilidad.\")]):_vm._e()])],1),_c('v-col',{attrs:{\"cols\":\"4\"}},[(_vm.selectedIvaCheck=='iva_igic_no_deducible' && _vm.feature_comerciante_minorista && _vm.currentDocument.companydb_info.companydb_type.params && ((!_vm.currentDocument.companydb_info.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentDocument.companydb_info.companydb_type.params.hide && !_vm.currentDocument.companydb_info.companydb_type.params.hide.includes('comerciante_minorista'))))?_c('v-checkbox',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"label\":\"Registrar en libro de facturas\"},model:{value:(_vm.document_comerciante_minorista),callback:function ($$v) {_vm.document_comerciante_minorista=$$v},expression:\"document_comerciante_minorista\"}}):_vm._e(),(_vm.selectedIvaCheck=='gasto_iva_parcial' || _vm.selectedIvaCheck=='iva_parcial')?_c('doc-text-field',{attrs:{\"kind\":\"number\",\"label\":\"Porcentaje\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"required\":true,\"error\":_vm.document_gasto_iva_percent<=0 || _vm.document_gasto_iva_percent>=100 || (_vm.document_errorJson.length > 0 && _vm.document_errorJson.includes('gasto_iva_percent'))},model:{value:(_vm.document_gasto_iva_percent),callback:function ($$v) {_vm.document_gasto_iva_percent=$$v},expression:\"document_gasto_iva_percent\"}}):_vm._e()],1)],1):_vm._e()],1)],1),(_vm.feature_building_code && _vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params['show'] && _vm.currentCompany.companydb_type.params['show'].includes('building_code'))?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.canChange(),\"label\":\"Código de inmueble\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_building_code),callback:function ($$v) {_vm.document_building_code=$$v},expression:\"document_building_code\"}})],1)],1):_vm._e(),(!(Boolean(_vm.currentDocument.metadata['retention_amount']) || Boolean(_vm.currentDocument.metadata['retention_type'])) && _vm.selectedParam != 'extracomunitario' && _vm.feature_apply_347 && _vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params['show'] && _vm.currentCompany.companydb_type.params['show'].includes('apply_347'))?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-checkbox',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.canChange(),\"label\":_vm.apply_modelo_label},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_apply_modelo),callback:function ($$v) {_vm.document_apply_modelo=$$v},expression:\"document_apply_modelo\"}})],1)],1):_vm._e(),(_vm.got_feature('feature_apply_415') && _vm.currentCompany.apply_415)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-checkbox',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.canChange(),\"label\":\"Aplica 415\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_apply_415),callback:function ($$v) {_vm.document_apply_415=$$v},expression:\"document_apply_415\"}})],1)],1):_vm._e(),(_vm.feature_criterio_de_caja)?_c('v-row',[_c('v-col',[_c('v-checkbox',{attrs:{\"disabled\":!_vm.canChange(),\"label\":\"Criterio de Caja\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_criterio_de_caja),callback:function ($$v) {_vm.document_criterio_de_caja=$$v},expression:\"document_criterio_de_caja\"}})],1)],1):_vm._e(),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[(!(_vm.rectification_invoice===undefined))?_c('v-checkbox',{attrs:{\"disabled\":!_vm.canChange(),\"label\":\"Factura rectificativa\"},on:{\"change\":_vm.toggleIsRectificativa},model:{value:(_vm.rectification_invoice),callback:function ($$v) {_vm.rectification_invoice=$$v},expression:\"rectification_invoice\"}}):_vm._e()],1)],1),(_vm.showRectifyFields())?_c('v-row',[_c('v-col',{attrs:{\"cols\":_vm.got_feature('feature_invoice_date_to_rectify')?'6':'12'}},[_c('autocomplete-with-api',{attrs:{\"label\":\"Nº factura rectificada\",\"can_add_new\":true,\"starting_items\":[],\"url\":_vm.url_get_invoices_to_rectify,\"item_text\":\"inv_number\",\"search_field_name\":\"metadata__inv_number__icontains\",\"item_search_field\":\"inv_number\",\"return_object\":true,\"disabled\":!_vm.canChange(),\"classes\":\"ma-0 pa-0\",\"bck_color\":_vm.inv_number_to_rectify_error?'#ff9898':'#ffffff'},on:{\"input\":_vm.changeInvNumberToRectify},model:{value:(_vm.invoice_to_rectify),callback:function ($$v) {_vm.invoice_to_rectify=$$v},expression:\"invoice_to_rectify\"}})],1),(_vm.got_feature('feature_invoice_date_to_rectify'))?_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('doc-text-field',{attrs:{\"kind\":\"date\",\"label\":\"Fecha factura rectificada\",\"error\":_vm.inv_date_to_rectify_error,\"disabled\":!_vm.canChange()},model:{value:(_vm.document_inv_date_to_rectify),callback:function ($$v) {_vm.document_inv_date_to_rectify=$$v},expression:\"document_inv_date_to_rectify\"}})],1):_vm._e()],1):_vm._e(),(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && (_vm.currentDocument.companydb_info.companydb_type.params && ((!_vm.currentDocument.companydb_info.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentDocument.companydb_info.companydb_type.params.hide && !_vm.currentDocument.companydb_info.companydb_type.params.hide.includes('prefix_invoice')))))?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-checkbox',{attrs:{\"disabled\":!_vm.canChange(),\"label\":\"Personalizar descripción\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_written_description),callback:function ($$v) {_vm.document_written_description=$$v},expression:\"document_written_description\"}})],1)],1):_vm._e(),(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && (_vm.currentDocument.companydb_info.companydb_type.params && ((!_vm.currentDocument.companydb_info.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentDocument.companydb_info.companydb_type.params.hide && !_vm.currentDocument.companydb_info.companydb_type.params.hide.includes('prefix_invoice')))))?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.document_written_description || !_vm.canChange(),\"label\":\"Descripción\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_description),callback:function ($$v) {_vm.document_description=$$v},expression:\"document_description\"}})],1)],1):_vm._e(),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_description_sii)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-checkbox',{attrs:{\"disabled\":!_vm.canChange(),\"label\":\"Personalizar descripción SII\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_written_description_sii),callback:function ($$v) {_vm.document_written_description_sii=$$v},expression:\"document_written_description_sii\"}})],1)],1):_vm._e(),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_description_sii)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.document_written_description_sii || !_vm.canChange(),\"label\":\"Descripción SII\",\"error\":_vm.showRequiredDescriptionSII},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_description_sii),callback:function ($$v) {_vm.document_description_sii=$$v},expression:\"document_description_sii\"}})],1)],1):_vm._e(),(_vm.got_feature('feature_automatic_moves_in_document'))?_c('div',{staticClass:\"ma-0 pa-0\"},[(_vm.document_kind == 'in_invoice')?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-text-field',{attrs:{\"disabled\":\"\",\"label\":\"Pago auto.\"},model:{value:(_vm.automaticPaymentAccountLabel),callback:function ($$v) {_vm.automaticPaymentAccountLabel=$$v},expression:\"automaticPaymentAccountLabel\"}})],1),_c('v-col',{staticClass:\"d-flex align-center\",attrs:{\"cols\":\"9\"}},[_c('v-text-field',{attrs:{\"label\":_vm.cru_label_payment_account},model:{value:(_vm.document_payment_account),callback:function ($$v) {_vm.document_payment_account=$$v},expression:\"document_payment_account\"}})],1)],1):(_vm.document_kind == 'out_invoice')?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-text-field',{attrs:{\"disabled\":\"\",\"label\":\"Cobro auto.\"},model:{value:(_vm.automaticChargeAccountLabel),callback:function ($$v) {_vm.automaticChargeAccountLabel=$$v},expression:\"automaticChargeAccountLabel\"}})],1),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-text-field',{attrs:{\"label\":_vm.cru_label_charge_account},model:{value:(_vm.document_charge_account),callback:function ($$v) {_vm.document_charge_account=$$v},expression:\"document_charge_account\"}})],1)],1):_vm._e()],1):_vm._e()],1):_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.desglose_de_cuentas)?[_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Tipo\")]),_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Base\")]),_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Cuota\")]),_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Cuenta\")])]:[_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":_vm.get_tipo_cols()}},[_vm._v(\"Tipo\")]),_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Base\")]),_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":_vm.get_cuota_cols()}},[_vm._v(\"Cuota\")]),(_vm.typeCheckRet != 'none')?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({key:'ampl',style:({'margin-left':_vm.cusRetMarginLeft}),attrs:{\"small\":\"\",\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.conf_ret_button=!_vm.conf_ret_button}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-dots-vertical\")])],1)]}}],null,true)},[(!_vm.showCustomRet)?_c('span',[_vm._v(\" Mostrar columna base retención\")]):(!_vm.hasSomeCustomRet)?_c('span',[_vm._v(\" Ocultar columna\")]):_vm._e()]):_vm._e(),(_vm.showCustomRet && _vm.typeCheckRet != 'none')?[(_vm.typeCheckRet=='checkbox')?_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Apl. Ret.\")]):(_vm.typeCheckRet=='base')?_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Base Ret.\")]):_vm._e()]:_vm._e()],_vm._l((tab.vats),function(vat){return [(_vm.currentCompany && _vm.show_vat(vat.vat))?[(Boolean(_vm.currentDocument.metadata['detail_'+vat.vat]) && _vm.currentDocument.metadata['detail_'+vat.vat].length>0)?[_c('v-col',{key:'label_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"2\"}},[_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'label_'+vat.vat,attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}})],1),_c('v-col',{key:'base_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'base_'+vat.vat,attrs:{\"kind\":\"detail_number\",\"field-key\":'base_'+vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\",\"initial_error\":_vm.document_errorJson && _vm.document_errorJson.constructor === Array && _vm.document_errorJson.includes('base_'+vat.vat)}})],1),_c('v-col',{key:'vat_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+vat.vat,attrs:{\"kind\":\"detail_number\",\"field-key\":vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\"}})],1),_c('v-col',{key:'account_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'account_'+vat.vat,attrs:{\"kind\":\"detail_account\",\"field-key\":vat.vat,\"field-text\":\"\"}})],1),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-btn',{key:'dialog_'+vat.vat,attrs:{\"small\":\"\",\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.dialog_vat=vat; _vm.show_account_detail=true}}},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1)],1)],1)],1)]:(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.desglose_de_cuentas)?[_c('v-col',{key:'label_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"2\"}},[(vat.vat.includes('_re_'))?_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'label_'+vat.vat,attrs:{\"kind\":\"text\",\"readonly\":\"\",\"small_font\":true,\"value\":_vm.get_label(vat)}}):_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'label_'+vat.vat,attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}})],1),_c('v-col',{key:'vat_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'base_'+vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata[vat.vat]),\"field-key\":'base_'+vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\",\"fill-account\":vat.vat,\"initial_error\":_vm.document_errorJson && _vm.document_errorJson.constructor === Array && _vm.document_errorJson.includes('base_'+vat.vat)}})],1),_c('v-col',{key:'base_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata['base_'+vat.vat]),\"field-key\":vat.vat,\"field-check\":['base_'+vat.vat,vat.coef],\"field-text\":\"\",\"fill-account\":vat.vat}})],1),_c('v-col',{key:'account_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'account_'+vat.vat,attrs:{\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"required\":Boolean(_vm.currentDocument.metadata['account_'+vat.vat]),\"field-key\":'account_'+vat.vat,\"field-text\":\"\",\"num_digits\":_vm.currentDocument.companydb_info.num_digits,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems}})],1),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-btn',{key:'dialog_'+vat.vat,attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.dialog_vat=vat; _vm.show_account_detail=true}}},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1)],1)],1)],1)]:[_c('v-col',{key:'label_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":_vm.get_tipo_cols()}},[_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString(),attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}})],1),_c('v-col',{key:'vat_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString(),attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata[vat.vat]),\"field-key\":'base_'+vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\"}})],1),_c('v-col',{key:'base_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":_vm.get_cuota_cols()}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString(),attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata['base_'+vat.vat]),\"field-key\":vat.vat,\"field-check\":['base_'+vat.vat,vat.coef],\"field-text\":\"\"}})],1),(_vm.showCustomRet)?[(_vm.typeCheckRet == 'checkbox')?_c('v-col',{key:'check_ret_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"2\"}},[(!vat.vat.includes('_re_') )?_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'checkret',attrs:{\"field-key\":'not_ret_'+vat.vat,\"kind\":\"boolean\",\"field-text\":\"\"}}):_vm._e()],1):(_vm.typeCheckRet == 'base')?_c('v-col',{key:'check_ret_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"2\"}},[(!vat.vat.includes('_re_') )?_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'baseret',attrs:{\"field-key\":'ret_base_'+vat.vat,\"field-check\":['base_'+vat.vat,vat.coef],\"kind\":\"number\",\"field-text\":\"\"}}):_vm._e()],1):_vm._e()]:_vm._e()]]:_vm._e()]})],2)],1)}),1):_vm._e(),(_vm.currentDocument)?_c('v-row',{staticClass:\"pa-4\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[(_vm.currentDocument.companydb_info && (_vm.currentDocument.companydb_info.companydb_type.params && ((!_vm.currentDocument.companydb_info.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentDocument.companydb_info.companydb_type.params.hide && !_vm.currentDocument.companydb_info.companydb_type.params.hide.includes('other_amounts')))))?_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'other_amounts',attrs:{\"field-key\":\"other_amounts\",\"kind\":\"number\",\"field-text\":\"Suplidos\",\"initial_error\":_vm.document_errorJson && _vm.document_errorJson.constructor === Array && _vm.document_errorJson.includes('other_amounts')}}):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'total_amount',attrs:{\"field-key\":\"total_amount\",\"kind\":\"number\",\"required\":true,\"tabs\":_vm.tabs,\"field-text\":\"Total factura\"}})],1)],1):_vm._e(),(_vm.currentDocument)?_c('v-row',{staticClass:\"pa-4\"},[_c('v-col',{attrs:{\"cols\":\"6\"}},[(_vm.feature_see_albaran)?_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'delivery_note_number',attrs:{\"field-key\":\"delivery_note_number\",\"kind\":\"text\",\"field-text\":\"Núm. Albarán\"}}):_vm._e()],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('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"900\"},model:{value:(_vm.show_message),callback:function ($$v) {_vm.show_message=$$v},expression:\"show_message\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"9\"}},[_vm._v(\"Editar desglose \"+_vm._s(_vm.get_label(_vm.vat))+\"\\n \")]),(_vm.feature_base_retention && _vm.vat.vat && !_vm.vat.vat.includes('_re_'))?_c('v-col',{attrs:{\"cols\":\"1\"}}):_vm._e(),_c('v-col',{attrs:{\"cols\":\"1\"}},[_c('v-btn',{attrs:{\"disabled\":_vm.is_einvoice,\"color\":\"primary\"},on:{\"click\":function($event){return _vm.add()}}},[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)],1)],1)],1),_c('v-card-text',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"text-center table-head row-head primary--text\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Base\")]),_c('v-col',{staticClass:\"text-center table-head row-head primary--text\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Cuota\")]),_c('v-col',{staticClass:\"text-center table-head row-head primary--text\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Cuenta\")]),(_vm.got_feature('feature_expense_income_type'))?_c('v-col',{staticClass:\"text-center table-head row-head primary--text\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Tipo Gasto/Ing.\")]):_vm._e(),(_vm.feature_base_retention && _vm.vat.vat && !_vm.vat.vat.includes('_re_'))?_c('v-col',{staticClass:\"text-center table-head row-head primary--text\",attrs:{\"cols\":\"1\"}},[_vm._v(\" Apl.Ret\")]):_vm._e(),(!_vm.got_feature('feature_expense_income_type'))?_c('v-col',{attrs:{\"cols\":\"2\"}}):_vm._e()],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{key:'vat_'+_vm.vat.vat,staticClass:\"table-row\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:'base_'+_vm.vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata[_vm.vat.vat]),\"field-key\":'base_'+_vm.vat.vat,\"field-check\":[_vm.vat.vat,_vm.vat.coef],\"field-text\":\"\"}})],1),_c('v-col',{key:'base_'+_vm.vat.vat,staticClass:\"table-row\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:_vm.vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata['base_'+_vm.vat.vat]),\"field-key\":_vm.vat.vat,\"field-check\":['base_'+_vm.vat.vat,_vm.vat.coef],\"field-text\":\"\"}})],1),_c('v-col',{key:'account_'+_vm.vat.vat,staticClass:\"table-row\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:'account_'+_vm.vat.vat,attrs:{\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"required\":Boolean(_vm.currentDocument.metadata['account_'+_vm.vat.vat]),\"field-key\":'account_'+_vm.vat.vat,\"field-text\":\"\",\"num_digits\":_vm.currentDocument.companydb_info.num_digits,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems}})],1),(_vm.got_feature('feature_expense_income_type'))?_c('v-col',{staticClass:\"table-row\",attrs:{\"cols\":\"2\"}},[_c('v-autocomplete',{attrs:{\"clearable\":true,\"items\":_vm.expens_type,\"item-text\":function (item) { return item.code+' '+item.name; },\"item-value\":\"eit_id\",\"hide-details\":\"\",\"dense\":\"\"},model:{value:(_vm.currentDocument.metadata[_vm.vat.vat.replace('vat','eit')]),callback:function ($$v) {_vm.$set(_vm.currentDocument.metadata, _vm.vat.vat.replace('vat','eit'), $$v)},expression:\"currentDocument.metadata[vat.vat.replace('vat','eit')]\"}})],1):_vm._e(),(_vm.feature_base_retention && _vm.vat.vat && !_vm.vat.vat.includes('_re_') )?_c('v-col',{key:'not_apl_ret_title'+_vm.vat.vat,staticClass:\"table-row\",attrs:{\"cols\":\"1\"}},[_c('metadata-field',{attrs:{\"field-key\":'not_apl_ret_'+_vm.vat.vat,\"kind\":\"boolean\",\"field-text\":\"\"}})],1):_vm._e(),(!_vm.got_feature('feature_expense_income_type'))?_c('v-col',{key:'label_'+_vm.vat,attrs:{\"cols\":\"2\"}}):_vm._e()],1),_vm._l((_vm.currentDocument.metadata['detail_' + _vm.vat.vat]),function(linea,i){return _c('v-row',{key:i,attrs:{\"no-gutters\":\"\"}},[_c('v-col',{key:'base_'+'vat_'+i+_vm.vat.vat,staticClass:\"table-row\",attrs:{\"cols\":\"3\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.calc_error[i])?_c('v-col',{staticClass:\"table-button\",attrs:{\"cols\":\"3\"}},[_c('v-btn',{key:'calc_base_'+i+_vm.vat.vat,attrs:{\"color\":\"primary\",\"disabled\":_vm.is_einvoice,\"icon\":\"\"},on:{\"click\":function($event){return _vm.calc_base(i)}}},[_vm._o(_c('v-icon',[_vm._v(\"mdi-calculator-variant\")]),0,i)],1)],1):_vm._e(),_c('v-col',[_c('doc-text-field',{key:'base_'+i+_vm.vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(linea[_vm.vat.vat]),\"value\":linea['base_'+_vm.vat.vat],\"field-text\":\"\",\"error\":_vm.calc_error[i],\"disabled\":_vm.is_einvoice},on:{\"input\":function($event){return _vm.updateField($event,i,'base_'+_vm.vat.vat)}}})],1)],1)],1),_c('v-col',{key:'col_'+i+_vm.vat.vat,staticClass:\"table-row\",attrs:{\"cols\":\"3\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.calc_error[i])?_c('v-col',{staticClass:\"table-button\",attrs:{\"cols\":\"3\"}},[_c('v-btn',{key:'calc_'+i+_vm.vat.vat,attrs:{\"color\":\"primary\",\"disabled\":_vm.is_einvoice,\"icon\":\"\"},on:{\"click\":function($event){return _vm.calc_vat(i)}}},[_vm._o(_c('v-icon',[_vm._v(\"mdi-calculator-variant\")]),1,i)],1)],1):_vm._e(),_c('v-col',[_c('doc-text-field',{key:i+_vm.vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(linea[_vm.vat.vat]),\"value\":linea[_vm.vat.vat],\"error\":_vm.calc_error[i],\"field-text\":\"\",\"disabled\":_vm.is_einvoice},on:{\"input\":function($event){return _vm.updateField($event,i,_vm.vat.vat)}}})],1)],1)],1),_c('v-col',{key:'account_col'+i+_vm.vat.vat,staticClass:\"table-row\",attrs:{\"cols\":\"3\"}},[_c('doc-text-field',{key:'account_'+i+_vm.vat.vat,attrs:{\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"required\":true,\"value\":linea['account_'+_vm.vat.vat],\"num_digits\":_vm.currentDocument.companydb_info.num_digits,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"input\":function($event){return _vm.updateField($event,i,'account_'+_vm.vat.vat)},\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems}})],1),(_vm.feature_base_retention && _vm.vat.vat && !_vm.vat.vat.includes('_re_') )?_c('v-col',{key:i+_vm.vat.vat+'not_apl_ret_col',staticClass:\"table-row\",attrs:{\"cols\":\"1\"}},[_c('doc-text-field',{key:i+_vm.vat.vat+'not_apl_ret_',attrs:{\"kind\":\"boolean\",\"disabled\":_vm.is_einvoice,\"value\":linea['not_apl_ret_'+_vm.vat.vat]},on:{\"input\":function($event){return _vm.updateField($event,i,'not_apl_ret_'+_vm.vat.vat)}}})],1):_vm._e(),_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"disabled\":_vm.is_einvoice,\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.remove(i)}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)],1)],1)})],2),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.closeMessage()}}},[_vm._v(\"Cerrar\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetailAccounts.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetailAccounts.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DetailAccounts.vue?vue&type=template&id=2120f9ca&scoped=true&\"\nimport script from \"./DetailAccounts.vue?vue&type=script&lang=js&\"\nexport * from \"./DetailAccounts.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DetailAccounts.vue?vue&type=style&index=0&id=2120f9ca&scoped=true&lang=css&\"\nimport style1 from \"./DetailAccounts.vue?vue&type=style&index=1&id=2120f9ca&lang=scss&scoped=true&\"\nimport style2 from \"./DetailAccounts.vue?vue&type=style&index=2&id=2120f9ca&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 \"2120f9ca\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VDialog,VIcon,VRow,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.isLoading && !_vm.hide)?_c('v-tooltip',{attrs:{\"right\":\"\",\"open-on-click\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-row',_vm._g({attrs:{\"no-gutters\":\"\"}},on),[_c('v-icon',{staticClass:\"pr-1\",attrs:{\"size\":\"16px\"}},[_vm._v(\"mdi-information-variant-circle-outline\")]),(!_vm.isError)?_c('span',{class:_vm.valid ? 'valid' : 'invalid'},[_vm._v(\"\\n \"+_vm._s(_vm.valid ? 'VIES válido' : 'VIES inválido')+\"\\n \")]):_c('span',{staticClass:\"invalid\"},[_vm._v(\"\\n \"+_vm._s(_vm.message)+\"\\n \")])],1)]}}],null,false,3904519281)},[_c('span',[_vm._v(\"La validación del VIES es un dato a nivel \"),_c('strong',[_vm._v(\"informativo.\")]),(_vm.valid && !_vm.isError)?[_c('br'),_c('br'),_c('strong',[_vm._v(\"Estado\")]),_vm._v(\" \"+_vm._s(_vm.valid ? 'VALIDADO' : 'NO VALIDADO')+\" \"),_c('br'),_c('strong',[_vm._v(\"Nombre:\")]),_vm._v(\" \"+_vm._s(_vm.name)+\" \"),_c('br'),_c('strong',[_vm._v(\"Dirección:\")]),_vm._v(\" \"+_vm._s(_vm.address)+\" \"),_c('br'),_c('strong',[_vm._v(\"País:\")]),_vm._v(\" \"+_vm._s(_vm.countryCode)+\" \"),_c('br'),_c('strong',[_vm._v(\"NIF:\")]),_vm._v(\" \"+_vm._s(_vm.vatNumber)+\" \"),_c('br')]:_vm._e()],2)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { CommandDispatcher } from \"../../shared/domain/CommandDispatcher\";\n\n\nexport class ViesValidation {\n constructor(\n private readonly dispatcher: CommandDispatcher,\n ) {}\n\n run(cif: string): Promise<{ [key: string]: string; }> {\n return this.dispatcher.dispatch('invoices.vies.validation', cif)\n }\n}","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViesValidator.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViesValidator.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ViesValidator.vue?vue&type=template&id=4c4e96e9&scoped=true&\"\nimport script from \"./ViesValidator.vue?vue&type=script&lang=js&\"\nexport * from \"./ViesValidator.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ViesValidator.vue?vue&type=style&index=0&id=4c4e96e9&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 \"4c4e96e9\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VIcon,VRow,VTooltip})\n","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvoiceInfo.vue?vue&type=template&id=cbb9bbc0&scoped=true&\"\nimport script from \"./InvoiceInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./InvoiceInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InvoiceInfo.vue?vue&type=style&index=0&id=cbb9bbc0&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 \"cbb9bbc0\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAutocomplete,VBtn,VCheckbox,VCol,VDivider,VIcon,VRadio,VRadioGroup,VRow,VTab,VTabItem,VTabs,VTabsItems,VTextField,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.currentDocument)?_c('v-row',{staticClass:\"pa-4\"},[_c('v-col',{attrs:{\"cols\":_vm.show_retention_type_name?'3':'6'}},[_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'retention_type',attrs:{\"field-key\":\"retention_type\",\"required\":Boolean(_vm.currentDocument.metadata['retention_amount']),\"tabs\":_vm.tabs,\"kind\":\"number\",\"field-text\":\"% Ret.\",\"readonly\":\"\"}})],1),_c('v-col',{attrs:{\"cols\":_vm.show_retention_type_name?'3':'6'}},[_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'retention_amount',attrs:{\"field-key\":\"retention_amount\",\"required\":Boolean(_vm.currentDocument.metadata['retention_type']),\"tabs\":_vm.tabs,\"kind\":\"number\",\"field-text\":\"Retención\",\"readonly\":\"\"}})],1)],1):_vm._e(),_c('v-tabs',{model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},_vm._l((_vm.visibleTabs),function(tab){return _c('v-tab',{key:tab.code},[(tab.code == 'params')?_c('div',[_vm._v(\"\\n \"+_vm._s(tab.text)+\" \"),(_vm.someParamsError)?_c('v-icon',{attrs:{\"color\":\"red\"}},[_vm._v(\"mdi-alert\")]):_vm._e()],1):_c('div',[_vm._v(\"\\n \"+_vm._s(tab.text)+\"\\n \")])])}),1),(_vm.currentDocument)?_c('v-tabs-items',{staticClass:\"ma-3 table-iva\",model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},_vm._l((_vm.visibleTabs),function(tab){return _c('v-tab-item',{key:tab.tab},[(tab.code == 'params')?_c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.got_feature('feature_serie_in_docs'))?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"label\":\"Serie\",\"readonly\":\"\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_serie),callback:function ($$v) {_vm.document_serie=$$v},expression:\"document_serie\"}})],1)],1):_vm._e(),_c('v-divider',{staticClass:\"v-divider theme--light\",attrs:{\"role\":\"separator\",\"aria-orientation\":\"horizontal\"}})],1)],1)],1):_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.desglose_de_cuentas)?[_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Tipo\")]),_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Base\")]),_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Cuota\")])]:[_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Tipo\")]),_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Base\")]),_c('v-col',{staticClass:\"text-center table-head-invoice primary--text\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Cuota\")])],_vm._l((tab.vats),function(vat){return [(_vm.currentCompany && _vm.show_vat(vat.vat))?[(Boolean(_vm.currentDocument.metadata['detail_'+vat.vat]) && _vm.currentDocument.metadata['detail_'+vat.vat].length>0)?[_c('v-col',{key:'label_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'label_'+vat.vat,attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}})],1),_c('v-col',{key:'base_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'base_'+vat.vat,attrs:{\"kind\":\"detail_number\",\"field-key\":'base_'+vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\",\"readonly\":\"\"}})],1),_c('v-col',{key:'vat_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+vat.vat,attrs:{\"kind\":\"detail_number\",\"field-key\":vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\",\"readonly\":\"\"}})],1)]:(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.desglose_de_cuentas)?[_c('v-col',{key:'label_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"4\"}},[(vat.vat.includes('_re_'))?_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'label_'+vat.vat,attrs:{\"kind\":\"text\",\"readonly\":\"\",\"small_font\":true,\"value\":_vm.get_label(vat)}}):_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'label_'+vat.vat,attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}})],1),_c('v-col',{key:'vat_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'base_'+vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata[vat.vat]),\"field-key\":'base_'+vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\",\"fill-account\":vat.vat,\"readonly\":\"\"}})],1),_c('v-col',{key:'base_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata['base_'+vat.vat]),\"field-key\":vat.vat,\"field-check\":['base_'+vat.vat,vat.coef],\"field-text\":\"\",\"fill-account\":vat.vat,\"readonly\":\"\"}})],1)]:[_c('v-col',{key:'label_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString(),attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}})],1),_c('v-col',{key:'vat_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString(),attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata[vat.vat]),\"field-key\":'base_'+vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\",\"readonly\":\"\"}})],1),_c('v-col',{key:'base_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString(),attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata['base_'+vat.vat]),\"field-key\":vat.vat,\"field-check\":['base_'+vat.vat,vat.coef],\"field-text\":\"\",\"readonly\":\"\"}})],1),(_vm.showCustomRet)?[(_vm.typeCheckRet == 'checkbox')?_c('v-col',{key:'check_ret_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"2\"}},[(!vat.vat.includes('_re_') )?_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'checkret',attrs:{\"field-key\":'not_ret_'+vat.vat,\"kind\":\"boolean\",\"field-text\":\"\",\"readonly\":\"\"}}):_vm._e()],1):(_vm.typeCheckRet == 'base')?_c('v-col',{key:'check_ret_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"2\"}},[(!vat.vat.includes('_re_') )?_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'baseret',attrs:{\"field-key\":'ret_base_'+vat.vat,\"field-check\":['base_'+vat.vat,vat.coef],\"kind\":\"number\",\"field-text\":\"\"}}):_vm._e(),_vm._v(\"\\n readonly\\n \")],1):_vm._e()]:_vm._e()]]:_vm._e()]})],2)],1)}),1):_vm._e(),(_vm.currentDocument)?_c('v-row',{staticClass:\"pa-4\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[(_vm.currentDocument.companydb_info && (_vm.currentDocument.companydb_info.companydb_type.params && ((!_vm.currentDocument.companydb_info.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentDocument.companydb_info.companydb_type.params.hide && !_vm.currentDocument.companydb_info.companydb_type.params.hide.includes('other_amounts')))))?_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'other_amounts',attrs:{\"field-key\":\"other_amounts\",\"kind\":\"number\",\"field-text\":\"Suplidos\",\"readonly\":\"\"}}):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('metadata-field-detected',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'total_amount',attrs:{\"field-key\":\"total_amount\",\"kind\":\"number\",\"required\":true,\"tabs\":_vm.tabs,\"field-text\":\"Total factura\",\"readonly\":\"\"}})],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.that.currentDocument.metadata['detected_amounts'])?_c('div',[(_vm.kind.startsWith('detail'))?[_c('doc-text-field',{attrs:{\"initial_error\":false,\"error\":_vm.calculedErrorDetail,\"kind\":_vm.kind,\"readonly\":_vm.readonly,\"label\":_vm.fieldText,\"required\":_vm.required,\"value\":_vm.detail_value(_vm.that['metadata_detail_'+_vm.fieldCheck[0]],_vm.fieldKey),\"disabled\":true},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.fieldKey })}}})]:[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('doc-text-field',{attrs:{\"initial_error\":_vm.initial_error,\"error\":_vm.calculedError,\"kind\":_vm.kind,\"readonly\":_vm.readonly,\"label\":_vm.fieldText,\"required\":_vm.required,\"disabled\":_vm.permission.is_readonly|| (_vm.currentDocument.forced_move && !_vm.editableForcedMove) || (_vm.currentDocument && (['pending','running'].includes(_vm.currentDocument.async_job_state) || ['pending_connect','accounting_aplifisa_fiscal', 'accounting_invoice'].includes(_vm.currentDocument.state))),\"num_digits\":_vm.num_digits,\"items\":_vm.items},on:{\"input\":function($event){return _vm.setAccount()},\"focus\":function($event){return _vm.selectLabel({ label: _vm.fieldKey })},\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(_vm.that.currentDocument.metadata['detected_amounts'][_vm.fieldKey]),callback:function ($$v) {_vm.$set(_vm.that.currentDocument.metadata['detected_amounts'], _vm.fieldKey, $$v)},expression:\"that.currentDocument.metadata['detected_amounts'][fieldKey]\"}})],1)],1)]],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MetadataFieldDetected.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MetadataFieldDetected.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MetadataFieldDetected.vue?vue&type=template&id=fd61a86c&scoped=true&\"\nimport script from \"./MetadataFieldDetected.vue?vue&type=script&lang=js&\"\nexport * from \"./MetadataFieldDetected.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MetadataFieldDetected.vue?vue&type=style&index=0&id=fd61a86c&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 \"fd61a86c\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceDetectedInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceDetectedInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvoiceDetectedInfo.vue?vue&type=template&id=72346988&scoped=true&\"\nimport script from \"./InvoiceDetectedInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./InvoiceDetectedInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InvoiceDetectedInfo.vue?vue&type=style&index=0&id=72346988&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 \"72346988\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\ninstallComponents(component, {VCol,VDivider,VIcon,VRow,VTab,VTabItem,VTabs,VTabsItems})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[_c('v-card',[_c('v-card-title',[_vm._v(\"\\n Historial de cambios\\n \")]),_c('v-col',{staticStyle:{\"overflow-y\":\"auto\",\"height\":\"500px\"},attrs:{\"cols\":\"12\"}},[_c('app-simple-table-with-api2',{key:_vm.doc_id,attrs:{\"headers\":_vm.headers,\"url\":'query',\"api_params\":{query:'invoice.history.logs',args:{inv_id:_vm.doc_id},limit:100},\"showSelect\":false,\"search-filters\":[]}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentHistoryComponent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentHistoryComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DocumentHistoryComponent.vue?vue&type=template&id=473d1a64&scoped=true&\"\nimport script from \"./DocumentHistoryComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./DocumentHistoryComponent.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 \"473d1a64\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCard,VCardTitle,VCol,VContainer})\n","import { CommandDispatcher } from \"@/modules/shared/domain/CommandDispatcher\";\n\nexport class UpdateMetadataCurrencyCommand {\n \n constructor(\n private readonly dispatcher: CommandDispatcher,\n private readonly frontend,\n ) { }\n\n async run(currency_name:string, date:string, document_id:number, user_id:number): Promise {\n let args = { \n currency_name: currency_name,\n date: date,\n document_id: document_id,\n user_id: user_id\n }\n // test con fecha actual '08/11/2023'\n this.frontend.loading_update_values(true)\n let b = await this.frontend.confirm()\n if(b){\n await this.dispatcher.dispatch('update_with_currency.data', args)\n await this.frontend.fetchDocument({ id: document_id})\n this.frontend.getCurrencyInfo()\n }\n this.frontend.loading_update_values(false)\n }\n}","import { CommandDispatcher } from \"@/modules/shared/domain/CommandDispatcher\";\n\nexport class RestoreDetectedAmountsCommand {\n \n constructor(\n private readonly dispatcher: CommandDispatcher,\n private readonly frontend,\n ) { }\n\n async run(document_id:number, user_id:number): Promise {\n let args = { \n document_id: document_id,\n user_id: user_id\n }\n this.frontend.loading_update_restore(true)\n let b = await this.frontend.confirm_restore()\n if(b){\n await this.dispatcher.dispatch('restore_amounts_with_detected.data', args)\n await this.frontend.fetchDocument({ id: document_id})\n this.frontend.getCurrencyInfo()\n }\n this.frontend.loading_update_restore(false)\n }\n}","import { CommandDispatcher } from \"../../shared/domain/CommandDispatcher\";\n\nexport class CreateXMLFromInvoice {\n constructor(\n private readonly dispatcher: CommandDispatcher,\n private readonly frontend,\n ) { }\n\n async run(inv_id, filename): Promise {\n let args = { \n inv_id: inv_id\n }\n let res = await this.dispatcher.dispatch('create.xml.from.invoice', args)\n if(res.output['error']){\n this.frontend.message='Algo ha ido mal';\n this.frontend.show_message=true;\n console.error(res.output['error']);\n }\n else{\n const url = res.output['url'];\n const response = await fetch(url); \n const blob = await response.blob(); \n const newBlob = new Blob([blob]);\n // For other browsers: create a link pointing to the ObjectURL containing the blob. \n const objUrl = window.URL.createObjectURL(newBlob); \n const link = document.createElement(\"a\"); \n link.href = objUrl; \n link.download = filename; \n link.click(); \n // For Firefox it is necessary to delay revoking the ObjectURL. setTimeout(() => { \n setTimeout(() => { \n window.URL.revokeObjectURL(objUrl); \n }, 250); \n }\n }\n}","import { QueryDispatcher } from \"@/modules/shared/domain/QueryDispatcher\";\n\nexport class GetCurrencyInfoQuery {\n constructor(\n private readonly dispatcher: QueryDispatcher,\n private readonly frontend,\n ) { }\n\n async run(currency_id:string): Promise {\n let args = {\n currency_id: currency_id\n }\n let res = await this.dispatcher.dispatch('currency_info', args)\n if (res) {\n this.frontend.currency_info = res\n }\n }\n}","import { CommandDispatcher } from \"../../shared/domain/CommandDispatcher\";\n\nexport class SelectDetectedCompany {\n constructor(\n private readonly dispatcher: CommandDispatcher,\n ) { }\n\n async run(company_id,doc_id): Promise {\n let args = { \n company_id: company_id,\n inv_id: doc_id\n }\n return await this.dispatcher.dispatch('manually.selected.detected.company', args)\n }\n}","import { CommandDispatcher } from \"../../shared/domain/CommandDispatcher\";\n\nexport class TransferDocumentToOtherCompany {\n constructor(\n private readonly dispatcher: CommandDispatcher,\n ) { }\n\n async run(doc_id): Promise {\n let args = { \n inv_id: doc_id\n }\n return await this.dispatcher.dispatch('perform.transfer.to.right.company', args)\n }\n}","\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Actualizar valores a EUR\n \n \n \n Recuperar valores detectados\n \n \n \n \n \n Tipo de cambio: {{ currency_info.name }} a EUR en fecha {{ currency_info.date }} con valor {{ currency_info.value }}.\n \n \n\n \n \n \n \n Aviso\n \n \n

¿Esta seguro que quiere restablecer las bases y cuotas?

\n Bases y cuotas detectadas:\n \n \n \n \n \n \n Cancelar\n \n \n Aceptar\n \n \n
\n
\n\n ¿Esta seguro que quiere modificar las bases y cuotas a la divisa EUR ?

`\"\n :actions=\"[{ 'action_text': 'Cancelar', 'emit': 'close-message' }, { 'action_text': 'Aceptar', 'emit': 'confirm-update-data', 'prin': true }]\"\n @close-message=\"confirmCurrency(false)\" \n @confirm-update-data=\"confirmCurrency(true)\"\n >
\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RightDrawerClientMode.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RightDrawerClientMode.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RightDrawerClientMode.vue?vue&type=template&id=6744e8fa&scoped=true&\"\nimport script from \"./RightDrawerClientMode.vue?vue&type=script&lang=js&\"\nexport * from \"./RightDrawerClientMode.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RightDrawerClientMode.vue?vue&type=style&index=0&id=6744e8fa&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 \"6744e8fa\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemGroup } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCheckbox,VCol,VDialog,VDivider,VIcon,VList,VListItem,VListItemContent,VListItemGroup,VListItemTitle,VMenu,VProgressCircular,VRow,VSelect,VSimpleTable,VSpacer,VTextField,VToolbar,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.show_message)?_c('MessagePopup',{attrs:{\"message\":_vm.message,\"show_message\":_vm.show_message,\"persistent\":!_vm.clearable_message},on:{\"close-message\":_vm.closeMessage}}):_vm._e(),(_vm.show_fix_cif_supplier && _vm.currentDocument)?_c('FixCIFPopup',{attrs:{\"company\":_vm.supplierdb_selected,\"cif_doc\":_vm.currentDocument.metadata['vat_supplier'],\"show\":_vm.show_fix_cif_supplier},on:{\"close\":function($event){_vm.show_fix_cif_supplier=false},\"fix\":_vm.fix_cif_supplier}}):_vm._e(),(_vm.show_fix_cif_customer && _vm.currentDocument)?_c('FixCIFPopup',{attrs:{\"company\":_vm.customerdb_selected,\"cif_doc\":_vm.currentDocument.metadata['vat_customer'],\"show\":_vm.show_fix_cif_customer},on:{\"close\":function($event){_vm.show_fix_cif_customer=false},\"fix\":_vm.fix_cif_customer}}):_vm._e(),(_vm.currentDocument)?_c('v-dialog',{attrs:{\"max-width\":\"1200\"},model:{value:(_vm.show_invoice_lines_pop_up),callback:function ($$v) {_vm.show_invoice_lines_pop_up=$$v},expression:\"show_invoice_lines_pop_up\"}},[_vm._v(\"\\n \"+_vm._s(_vm.currentDocument.static_invoice)+\"\\n \"),_c('v-card',{staticStyle:{\"background-color\":\"white\"}},[_c('InvoiceLinesEditorSimplified',{attrs:{\"invoice_lines\":_vm.invoice_lines,\"readonly\":\"\"}})],1)],1):_vm._e(),(_vm.simulateDocDialog)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.simulateDocDialog),callback:function ($$v) {_vm.simulateDocDialog=$$v},expression:\"simulateDocDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_c('v-autocomplete',{attrs:{\"autocomplete\":\"off\",\"label\":\"Empresa\",\"items\":_vm.get_companydbs,\"item-text\":\"name\",\"return-object\":\"\",\"hide-details\":\"\"},model:{value:(_vm.companySimulate),callback:function ($$v) {_vm.companySimulate=$$v},expression:\"companySimulate\"}}),_c('v-select',{attrs:{\"autocomplete\":\"off\",\"label\":\"Etiquetas\",\"items\":_vm.doc_tags_values,\"item-text\":\"name\",\"item-value\":\"value\",\"multiple\":true,\"clearable\":\"\"},model:{value:(_vm.tagsSimulate),callback:function ($$v) {_vm.tagsSimulate=$$v},expression:\"tagsSimulate\"}}),_c('v-select',{attrs:{\"label\":\"Fecha contable\",\"item-value\":\"id\",\"item-text\":\"text\",\"items\":_vm.ACCOUNTING_DATE_OPTIONS},model:{value:(_vm.accounting_date_config),callback:function ($$v) {_vm.accounting_date_config=$$v},expression:\"accounting_date_config\"}}),(_vm.accounting_date_config=='configurated')?_c('v-text-field',{class:{red:_vm.invalid_default_accounting_date},attrs:{\"label\":\"Fecha (dd/mm/YYYY)\"},model:{value:(_vm.default_accounting_date),callback:function ($$v) {_vm.default_accounting_date=$$v},expression:\"default_accounting_date\"}}):_vm._e()],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.noSimulateItem()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\",\"disabled\":!_vm.companySimulate},on:{\"click\":function($event){return _vm.simulateItem()}}},[_vm._v(\"Aceptar\")])],1)],1)],1):_vm._e(),_c('app-modal-prompt',{attrs:{\"is-confirm-button-disabled\":!_vm.companyChangeCompany,\"persistent\":\"\"},on:{\"cancel\":function($event){return _vm.noChangeCompanyItem()},\"confirm\":function($event){return _vm.changeCompanyItem()}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\"\\n Cambiar Empresa\\n \")]},proxy:true}]),model:{value:(_vm.changeCompanyDocDialog),callback:function ($$v) {_vm.changeCompanyDocDialog=$$v},expression:\"changeCompanyDocDialog\"}},[_c('app-modal-row',[_c('app-modal-col',{attrs:{\"cols\":\"12\"}},[_c('app-autocomplete',{attrs:{\"autocomplete\":\"off\",\"label\":\"Empresa\",\"item-text\":\"name\",\"return-object\":\"\",\"hide-details\":\"\",\"items\":_vm.get_companydbs},on:{\"change\":_vm.getCompanyActivityList},model:{value:(_vm.companyChangeCompany),callback:function ($$v) {_vm.companyChangeCompany=$$v},expression:\"companyChangeCompany\"}})],1)],1),(_vm.companyChangeCompany && _vm.showActivityField(_vm.companyChangeCompany, 'actividad') && !_vm.companyChangeCompany.hide_activities_master)?_c('app-modal-row',[_c('app-modal-col',{staticClass:\"mt-5\",attrs:{\"cols\":\"12\"}},[(_vm.listActividadChangeCompany.length > 0)?_c('app-select',{attrs:{\"label\":\"Actividad\",\"items\":_vm.listActividadChangeCompany,\"item-value\":\"code\",\"item-text\":\"name\",\"clearable\":true},model:{value:(_vm.actividadChangeCompany),callback:function ($$v) {_vm.actividadChangeCompany=$$v},expression:\"actividadChangeCompany\"}}):_c('app-text-field',{attrs:{\"kind\":\"number\",\"label\":\"Actividad\"},model:{value:(_vm.actividadChangeCompany),callback:function ($$v) {_vm.actividadChangeCompany=$$v},expression:\"actividadChangeCompany\"}})],1)],1):_vm._e()],1),(_vm.addTagsDocDialog)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.addTagsDocDialog),callback:function ($$v) {_vm.addTagsDocDialog=$$v},expression:\"addTagsDocDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_c('v-select',{attrs:{\"autocomplete\":\"off\",\"label\":\"Etiquetas\",\"items\":_vm.doc_tags_values,\"item-text\":\"name\",\"item-value\":\"value\",\"multiple\":true,\"clearable\":\"\"},model:{value:(_vm.tagsAddTags),callback:function ($$v) {_vm.tagsAddTags=$$v},expression:\"tagsAddTags\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.noAddTagsItem()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\",\"disabled\":_vm.tagsAddTags.length==0},on:{\"click\":function($event){return _vm.addTagsItem()}}},[_vm._v(\"Aceptar\")])],1)],1)],1):_vm._e(),(_vm.createTrainingDocDialog)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.createTrainingDocDialog),callback:function ($$v) {_vm.createTrainingDocDialog=$$v},expression:\"createTrainingDocDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_c('v-select',{attrs:{\"autocomplete\":\"off\",\"label\":\"Etiquetas\",\"items\":_vm.doc_tags_values,\"item-text\":\"name\",\"item-value\":\"value\",\"multiple\":true,\"clearable\":\"\"},model:{value:(_vm.tagsTraining),callback:function ($$v) {_vm.tagsTraining=$$v},expression:\"tagsTraining\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.noTrainingItem()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){return _vm.trainingItem()}}},[_vm._v(\"Aceptar\")])],1)],1)],1):_vm._e(),(_vm.currentDocument && _vm.historyPopup)?_c('v-dialog',{attrs:{\"max-width\":\"1000\"},model:{value:(_vm.historyPopup),callback:function ($$v) {_vm.historyPopup=$$v},expression:\"historyPopup\"}},[_c('v-card',[_c('DocumentHistoryComponent',{attrs:{\"doc_id\":_vm.currentDocument.id}})],1)],1):_vm._e(),(_vm.errorDialog)?_c('v-dialog',{attrs:{\"max-width\":\"1500\"},model:{value:(_vm.errorDialog),callback:function ($$v) {_vm.errorDialog=$$v},expression:\"errorDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[(_vm.invoice_error)?_c('div',[_vm._v(\"\\n Factura: \"),_c('br'),_vm._v(\"\\n \"+_vm._s(_vm.invoice_error)+\"\\n \"),_c('v-divider')],1):_vm._e(),(_vm.account_moves_errors.length)?_c('div',_vm._l((_vm.account_moves_errors),function(ame){return _c('div',{key:ame.id},[_vm._v(\"\\n Asiento \"+_vm._s(ame.id)+\": \"),_c('br'),_vm._v(\"\\n \"+_vm._s(ame.error)+\"\\n \"),_c('v-divider')],1)}),0):_vm._e()]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){_vm.errorDialog=false}}},[_vm._v(\"Ok\")])],1)],1)],1):_vm._e(),(_vm.go_simulation_dialog)?_c('v-dialog',{attrs:{\"max-width\":\"1000\"},model:{value:(_vm.go_simulation_dialog),callback:function ($$v) {_vm.go_simulation_dialog=$$v},expression:\"go_simulation_dialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"}),_c('v-card-text',[_c('v-autocomplete',{attrs:{\"autocomplete\":\"off\",\"label\":\"Simulaciones\",\"items\":_vm.simulations,\"item-text\":\"text\",\"return-object\":\"\"},model:{value:(_vm.simulation_to_go),callback:function ($$v) {_vm.simulation_to_go=$$v},expression:\"simulation_to_go\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){_vm.go_simulation_dialog=false}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){return _vm.goToSimulation(_vm.simulation_to_go['cdb'], _vm.simulation_to_go['id'])}}},[_vm._v(\"Ir\")])],1)],1)],1):_vm._e(),_c('v-dialog',{attrs:{\"max-width\":\"800\"},model:{value:(_vm.show_send_dialog),callback:function ($$v) {_vm.show_send_dialog=$$v},expression:\"show_send_dialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_c('span',{staticClass:\"text-h5 primary__blue py-1 ml-2\"},[_vm._v(\"Enviar por email\")])]),_c('v-divider'),_c('v-card-text',[_c('SendByEmailForm',{attrs:{\"email_to\":_vm.emailForm.to,\"subject\":_vm.emailForm.subject,\"body\":_vm.emailForm.body},on:{\"update:email_to\":function($event){return _vm.$set(_vm.emailForm, \"to\", $event)},\"update:subject\":function($event){return _vm.$set(_vm.emailForm, \"subject\", $event)},\"update:body\":function($event){return _vm.$set(_vm.emailForm, \"body\", $event)}}})],1),_c('v-card-actions',{staticClass:\"mr-4\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"action__btn\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.cancelSend()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"white--text action__btn\",attrs:{\"color\":\"#060647\",\"disabled\":_vm.cantSend},on:{\"click\":function($event){return _vm.sendInvoice()}}},[_vm._v(\"\\n Enviar\\n \")])],1)],1)],1),_c('v-toolbar',{staticClass:\"toolbar-right-drawer\",attrs:{\"absolute\":\"\",\"min-width\":\"100%\",\"height\":\"80px\"}},[(_vm.currentDocument)?[(_vm.existsMoreThanOneDocument)?_c('v-btn',{staticClass:\"btn-arrow\",attrs:{\"icon\":\"\",\"loading\":_vm.loading_previous,\"color\":\"primary\",\"disabled\":!_vm.canGoToPreviousDocument},on:{\"click\":function($event){return _vm.previous_document()}}},[_vm._m(0)],1):_vm._e(),(_vm.existsMoreThanOneDocument)?_c('v-btn',{staticClass:\"btn-arrow\",attrs:{\"icon\":\"\",\"loading\":_vm.loading_next,\"color\":\"primary\",\"disabled\":!_vm.canGoToNextDocument},on:{\"click\":function($event){return _vm.next_document()}}},[_vm._m(1)],1):_vm._e()]:_vm._e(),_c('v-spacer'),(_vm.currentDocument)?[(_vm.isWaitingFlow && _vm.permission.can_write)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):(_vm.permission.can_write)?_c('div',[(_vm.showRetry && _vm.currentDocument.state!='pending_approval')?_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"loading\":_vm.flowLoading,\"disabled\":_vm.isWaitingFlow,\"rounded\":\"\"},on:{\"click\":function($event){return _vm.reintentar()}}},[_vm._v(\"Reintentar\")]):(_vm.currentDocument.state=='company_detected')?_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"loading\":_vm.flowLoading,\"disabled\":_vm.isWaitingFlow,\"rounded\":\"\"},on:{\"click\":function($event){return _vm.transfer_to_detected_company()}}},[_vm._v(\"Transferir\")]):_vm._e(),(_vm.showRetry && _vm.currentDocument.state=='pending_approval')?_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"loading\":_vm.flowLoading,\"disabled\":_vm.isWaitingFlow,\"rounded\":\"\"},on:{\"click\":function($event){return _vm.reintentar()}}},[_vm._v(\"APROBAR\")]):_vm._e(),(_vm.showContabilize)?_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"loading\":_vm.flowLoading,\"disabled\":_vm.isWaitingFlow,\"rounded\":\"\"},on:{\"click\":function($event){return _vm.contabilizar()}}},[_vm._v(\"Contabilizar\")]):_vm._e()],1):_vm._e()]:_vm._e(),_c('div',{staticClass:\"action-btn-group\"},[(_vm.currentDocument && !_vm.currentDocument.forced_move)?_c('v-btn',{staticClass:\"action-btn-doc\",attrs:{\"color\":\"primary\",\"loading\":_vm.documentWriting,\"disabled\":true,\"icon\":\"\"},on:{\"click\":function($event){return _vm.saveLabels()}}},[_vm._m(2)],1):_vm._e(),(_vm.currentDocument && _vm.currentDocument.forced_move)?_c('v-btn',{staticClass:\"action-btn-doc\",attrs:{\"color\":\"primary\",\"disabled\":!_vm.canSave(),\"loading\":_vm.documentWriting,\"icon\":\"\"},on:{\"click\":function($event){return _vm.saveDocument()}}},[_vm._m(3)],1):_vm._e(),(_vm.got_feature('feature_diezsoftware_nube'))?_c('v-btn',{staticClass:\"action-btn-doc\",attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.forceSendDocument()}}},[_c('v-icon',[_vm._v(\"mdi-file-send\")])],1):_vm._e(),((_vm.userData.is_staff || _vm.userData.hasOwnProperty('username') && _vm.session_information.hasOwnProperty('username') && (_vm.session_information.username != _vm.userData.username)))?[(_vm.loading_needs_tt_fix)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):(_vm.currentDocument)?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-checkbox',{attrs:{\"color\":\"primary\"},on:{\"change\":_vm.deepNeedsTtFixState},model:{value:(_vm.document_needs_tt_fix),callback:function ($$v) {_vm.document_needs_tt_fix=$$v},expression:\"document_needs_tt_fix\"}})],1)]}}],null,false,1256840848)},[_c('span',[_vm._v(\"Necesita revisión etiquetas\")])]):_vm._e()]:_vm._e()],2),_c('div',{staticClass:\"action-btn-group\"},[((_vm.userData.is_staff || _vm.userData.hasOwnProperty('username') && _vm.session_information.hasOwnProperty('username') && (_vm.session_information.username != _vm.userData.username)))?_c('v-btn',{staticClass:\"action-btn-doc\",attrs:{\"color\":\"primary\",\"icon\":\"\",\"disabled\":!_vm.currentDocument},on:{\"click\":function($event){return _vm.goMirrorDocument()}}},[_c('img',{attrs:{\"src\":\"/invoices/mirror.svg\"}})]):_vm._e(),((_vm.userData.is_staff || _vm.userData.hasOwnProperty('username') && _vm.session_information.hasOwnProperty('username') && (_vm.session_information.username != _vm.userData.username)))?_c('v-btn',{staticClass:\"action-btn-doc\",attrs:{\"color\":\"primary\",\"icon\":\"\",\"disabled\":!(_vm.currentDocument && _vm.document_has_simulated_mirror)},on:{\"click\":function($event){return _vm.goSimulatedMirrorDocument()}}},[_vm._m(4)],1):_vm._e(),(_vm.userData.user_role.value != 'customer' && _vm.userData.user_role.value != 'customer_consult')?_c('v-btn',{staticClass:\"action-btn-doc\",attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.show_send_dialog = true}}},[_vm._m(5)],1):_vm._e()],1),(true || _vm.showRetry || _vm.showContabilize || (_vm.currentDocument && _vm.currentDocument.state=='pending_sync' && _vm.getActions.some(function (el) { return el.id === 'mark_as_pending_review'; })))?_c('v-menu',{attrs:{\"close-on-click\":false,\"close-on-content-click\":false,\"offsetY\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(true || _vm.showRetry || _vm.showContabilize || (_vm.currentDocument && _vm.currentDocument.state=='pending_sync' && _vm.getActions.some(function (el) { return el.id === 'mark_as_pending_review'; })))?_c('v-btn',_vm._g(_vm._b({staticClass:\"action-btn-doc ml-1\",attrs:{\"color\":\"primary\",\"icon\":\"\",\"disabled\":Boolean(_vm.permission.is_readonly)}},'v-btn',attrs,false),on),[_vm._m(6)],1):_vm._e()]}}],null,false,3701104587),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c('v-list',[_c('v-list-item-group',{attrs:{\"color\":\"primary\"}},_vm._l((_vm.getActions),function(action,index){return _c('div',{key:index},[(action.id=='force_docs_state_to_done')?_c('v-list-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentDocument && _vm.currentDocument.state=='error_account_connector'),expression:\"currentDocument && currentDocument.state=='error_account_connector'\"}],class:{ list: true},on:{\"click\":function($event){return _vm.go(action.id)}}},[_c('v-list-item-title',{staticClass:\"list-title\"},[_vm._v(_vm._s(action.name))])],1):(action.id=='mark_as_pending_review')?_c('v-list-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentDocument && _vm.currentDocument.state=='pending_sync'),expression:\"currentDocument && currentDocument.state=='pending_sync'\"}],class:{ list: true},on:{\"click\":function($event){return _vm.go(action.id)}}},[_c('v-list-item-title',{staticClass:\"list-title\"},[_vm._v(_vm._s(action.name))])],1):(action.id!='rotate_doc')?_c('v-list-item',{class:{ list: true},attrs:{\"disabled\":_vm.currentDocument && _vm.currentDocument.state=='pending_sync'},on:{\"click\":function($event){return _vm.go(action.id)}}},[_c('v-list-item-title',{staticClass:\"list-title\"},[_vm._v(_vm._s(action.name))])],1):_vm._e()],1)}),0)],1)],1):_vm._e()],2),_c('div',{staticClass:\"mt-17 white\"},[(_vm.userData.can_debug_documents)?_c('v-row',{staticClass:\"px-4\"},[_c('v-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.changeDrawerMode()}}},[_vm._m(7)],1)],1),_c('v-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"6\"}},[_c('v-list-item-title',{staticClass:\"title\"},[_vm._v(\"Modo Cliente\")])],1)],1):_vm._e(),(_vm.showErrorBtn && (_vm.invoice_error || _vm.account_moves_errors.length) && (_vm.userData.is_staff || _vm.userData.hasOwnProperty('username') && _vm.session_information.hasOwnProperty('username') && (_vm.session_information.username != _vm.userData.username)))?_c('v-row',[_c('v-col',{staticClass:\"ml-4\",attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"color\":\"red\"},on:{\"click\":function($event){_vm.errorDialog = true}}},[_vm._m(8)],1)],1)],1):_vm._e(),_c('v-row',{staticClass:\"pt-4 px-4 pb-2\",attrs:{\"no-gutters\":\"\"}},[(_vm.currentDocument)?_c('v-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-autocomplete',{staticClass:\"select-invoice-stylev2\",class:{\n 'disable-text': _vm.isDisabled,\n 'activate-text': !_vm.isDisabled\n },attrs:{\"autocomplete\":\"off\",\"items\":_vm.availableDocs,\"item-text\":\"text\",\"item-value\":\"id\",\"disabled\":_vm.isDisabled,\"outlined\":\"\",\"dense\":\"\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Tipo de Documento\")])]},proxy:true}],null,false,122549815),model:{value:(_vm.document_kind),callback:function ($$v) {_vm.document_kind=$$v},expression:\"document_kind\"}})],1):_vm._e(),(_vm.loading_punteado)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):(_vm.currentDocument && _vm.userData['available_features']['feature_can_mark_doc_as_punteado'])?_c('v-col',{staticClass:\"pl-2\",attrs:{\"cols\":\"2\",\"sm\":\"1\"}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-checkbox',{staticClass:\"checkbox-invoice-rounded rounded-lg\",attrs:{\"off-icon\":\"mdi-checkbox-blank-circle-outline\",\"on-icon\":\"mdi-checkbox-marked-circle\"},on:{\"change\":function($event){return _vm.deepPunteadoState()}},model:{value:(_vm.document_punteado),callback:function ($$v) {_vm.document_punteado=$$v},expression:\"document_punteado\"}})],1)]}}])},[_c('span',[_vm._v(\"Punteado\")])])],1):_vm._e(),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"5\"}},[(_vm.currentDocument)?_c('v-select',{staticClass:\"select-invoice-stylev2\",class:[\n 'border-' + _vm.getStateColorIcon, \n { \n 'disable-text': _vm.isDisabled, \n 'activate-text': !_vm.isDisabled \n }\n ],attrs:{\"readonly\":true,\"items\":_vm.docState,\"outlined\":\"\",\"dense\":\"\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"   Estado\")])]},proxy:true},{key:\"append\",fn:function(){return [(_vm.currentDocument && _vm.document_state === 'error_document_duplicated')?_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"btn-invoice-detail btn-inside-input-right\",attrs:{\"max-width\":\"25\",\"min-width\":\"20\",\"icon\":\"\"},on:{\"click\":_vm.setSearchAndRedirectToList}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-magnify\")])],1)]}}],null,false,1922805387)},[_c('span',[_vm._v(\"Buscar duplicados\")])])],1):_c('v-icon',{staticClass:\"select-icon-state\",attrs:{\"color\":_vm.getStateColorIcon}},[_vm._v(\"mdi-checkbox-blank-circle\")])]},proxy:true}],null,false,3170928564),model:{value:(_vm.currentDocument.state),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"state\", $$v)},expression:\"currentDocument.state\"}}):_vm._e()],1),(_vm.showActivityField(_vm.currentDocument && _vm.currentDocument.companydb_info, 'actividad') && _vm.got_feature('feature_actividad_selector') && _vm.activitySwitcher.length > 0 && _vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('v-col',{staticClass:\"pr-2\",attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{staticClass:\"select-invoice-stylev2\",attrs:{\"background-color\":_vm.activityError,\"items\":_vm.activitySwitcher,\"item-value\":\"code\",\"item-text\":\"name\",\"clearable\":true,\"disabled\":!_vm.currentDocument || _vm.isWaitingFlow,\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Actividad\")])]},proxy:true}],null,false,1492875253),model:{value:(_vm.document_actividad),callback:function ($$v) {_vm.document_actividad=$$v},expression:\"document_actividad\"}})],1):(_vm.showActivityField(_vm.currentDocument && _vm.currentDocument.companydb_info, 'actividad') && _vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('v-col',{staticClass:\"pr-2\",attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('doc-text-field',{attrs:{\"background-color\":_vm.activityError,\"disabled\":!_vm.currentDocument || _vm.isWaitingFlow,\"hide-details\":true,\"label\":\"Actividad\",\"stylev2\":\"\"},model:{value:(_vm.document_actividad),callback:function ($$v) {_vm.document_actividad=$$v},expression:\"document_actividad\"}})],1):(_vm.showActivityField(_vm.currentDocument && _vm.currentDocument.companydb_info, 'actividad_str') && _vm.got_feature('feature_actividad_str_field') && _vm.got_feature('feature_actividad_selector') && _vm.activitySwitcher.length > 0 && _vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('v-col',{staticClass:\"pr-2\",attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{staticClass:\"select-invoice-stylev2\",attrs:{\"items\":_vm.activitySwitcher,\"item-value\":\"code\",\"item-text\":\"name\",\"clearable\":true,\"disabled\":!_vm.currentDocument || _vm.isWaitingFlow,\"outlined\":\"\",\"dense\":\"\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Actividad\")])]},proxy:true}]),model:{value:(_vm.document_actividad_str),callback:function ($$v) {_vm.document_actividad_str=$$v},expression:\"document_actividad_str\"}})],1):(_vm.showActivityField(_vm.currentDocument && _vm.currentDocument.companydb_info, 'actividad_str') && _vm.got_feature('feature_actividad_str_field') && _vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('v-col',{staticClass:\"pr-2\",attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('doc-text-field',{attrs:{\"disabled\":!_vm.currentDocument || _vm.isWaitingFlow,\"label\":\"Actividad\",\"stylev2\":\"\"},model:{value:(_vm.document_actividad_str),callback:function ($$v) {_vm.document_actividad_str=$$v},expression:\"document_actividad_str\"}})],1):_vm._e(),(_vm.userData['available_features']['feature_document_projects'] && (_vm.currentDocument && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.show && _vm.currentDocument.companydb_info.companydb_type.params.show.includes('project') && _vm.currentCompany && !_vm.currentCompany.hide_projects_master))?_c('v-col',{staticClass:\"pr-2\",attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{staticClass:\"select-invoice-stylev2\",attrs:{\"clearable\":true,\"items\":_vm.currentDocument.companydb_info.projects,\"item-text\":\"name\",\"item-value\":\"id\",\"background-color\":_vm.showRequiredProjectError?'#ff9898':'#ffffff',\"outlined\":\"\",\"dense\":\"\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Proyecto\")])]},proxy:true}],null,false,415727645),model:{value:(_vm.document_project),callback:function ($$v) {_vm.document_project=$$v},expression:\"document_project\"}})],1):_vm._e(),(_vm.got_feature('feature_channel') && (_vm.currentDocument && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.show && _vm.currentDocument.companydb_info.companydb_type.params.show.includes('channel') && _vm.currentCompany && !_vm.currentCompany.hide_channels_master))?_c('v-col',{attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{staticClass:\"select-invoice-stylev2 pr-2\",attrs:{\"clearable\":true,\"items\":_vm.currentDocument.companydb_info.channels,\"item-text\":\"name\",\"item-value\":\"channel_id\",\"outlined\":\"\",\"dense\":\"\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Canal\")])]},proxy:true}],null,false,4011604405),model:{value:(_vm.document_channel),callback:function ($$v) {_vm.document_channel=$$v},expression:\"document_channel\"}})],1):_vm._e(),(_vm.got_feature('feature_expense_income_type') && (_vm.currentDocument && _vm.currentDocument.companydb_info))?_c('v-col',{attrs:{\"cols\":\"10\",\"sm\":\"5\"}},[_c('v-autocomplete',{staticClass:\"select-invoice-stylev2\",attrs:{\"clearable\":true,\"items\":_vm.document_kind === 'in_invoice' ? _vm.expens_type : _vm.income_type,\"item-text\":function (item) { return item.code+' '+item.name; },\"item-value\":\"eit_id\",\"outlined\":\"\",\"dense\":\"\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(_vm._s(_vm.getExpensIncomeTypeLabel))])]},proxy:true}],null,false,489362983),model:{value:(_vm.document_expens_income_type),callback:function ($$v) {_vm.document_expens_income_type=$$v},expression:\"document_expens_income_type\"}})],1):_vm._e()],1),_c('v-row',{staticClass:\"px-4\",attrs:{\"no-gutters\":\"\"}},[(_vm.show_alert_btn())?_c('v-col',{staticClass:\"align-self-center\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{staticClass:\"ml-1 mb-2 btn-invoice-detail\",attrs:{\"max-width\":\"20\",\"min-width\":\"20\",\"color\":_vm.alertColor},on:{\"click\":function($event){return _vm.showError()}}},[_vm._m(9)],1)],1):_vm._e()],1),_c('v-row',{staticClass:\"px-4\"},[(_vm.currentDocument && _vm.currentDocument['metadata_old'] && _vm.fixMotxo)?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"12\"}},[_c('doc-text-field',{attrs:{\"label\":\"metadata_old\",\"readonly\":\"\",\"stylev2\":\"\"},model:{value:(_vm.currentDocument['metadata_old']),callback:function ($$v) {_vm.$set(_vm.currentDocument, 'metadata_old', $$v)},expression:\"currentDocument['metadata_old']\"}})],1):_vm._e()],1),_c('v-row',{staticClass:\"px-4\"},[(_vm.currentDocument && _vm.currentDocument['metadata_old'] && _vm.fixMotxo)?_c('v-col',{key:_vm.currentDocument.id.toString()+_vm.tags_changing.toString(),staticClass:\"py-1\",attrs:{\"cols\":\"12\"}},_vm._l((_vm.currentDocument['tags']),function(tag){return _c('v-btn',{key:_vm.currentDocument.id.toString()+tag+_vm.tags_changing.toString(),staticClass:\"mr-2\",attrs:{\"x-small\":\"\",\"label\":\"tags\",\"readonly\":\"\"},on:{\"click\":function($event){return _vm.delete_tag_doc(tag)}}},[_vm._v(_vm._s(tag))])}),1):_vm._e()],1),(_vm.buzonView)?_c('v-row',{staticClass:\"px-4\"},[(_vm.currentDocument)?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"10\"}},[_c('SelectorEmpresa',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"name\":\"SelectorEmpresa\",\"value\":_vm.currentDocument.detected_company_id,\"items\":_vm.get_companydbs,\"return_obj\":false,\"readonly\":false,\"item_val\":'id'},on:{\"gotInput\":_vm.company_chosen_manually}})],1):_vm._e()],1):_vm._e(),(_vm.currentDocument)?_c('div',{staticClass:\"divider-invoice d-flex\"},[_c('img',{staticClass:\"divider-img\",attrs:{\"src\":\"/invoices/grading.svg\"}}),_c('div',{staticClass:\"mr-auto\"},[_vm._v(\"FACTURA\")]),_c('v-btn',{staticClass:\"mr-2 align-self-center\",attrs:{\"icon\":\"\",\"max-width\":\"20\",\"max-height\":\"20\"},on:{\"click\":function($event){return _vm.toggleSectionVisibility('section_factura')}}},[(_vm.show_section_factura)?_c('v-img',{staticClass:\"icon-display-section\",attrs:{\"src\":\"/invoices/arrow_up_alt.svg\"}}):_c('v-img',{staticClass:\"icon-display-section\",attrs:{\"src\":\"/invoices/arrow_down_alt.svg\"}})],1)],1):_vm._e(),(_vm.currentCompany && _vm.currentDocument && ['in_invoice','out_invoice'].includes(_vm.currentDocument.kind) && !_vm.buzonView)?_c('invoice-info-v2',{key:_vm.currentDocument.id,attrs:{\"show_section_factura\":_vm.show_section_factura,\"show_section_taxes\":_vm.show_section_taxes}}):_vm._e(),(_vm.currentDocument)?_c('div',{staticClass:\"divider-invoice d-flex\"},[_c('img',{staticClass:\"divider-img\",attrs:{\"src\":\"/invoices/quick_reference_all.svg\"}}),_c('div',{staticClass:\"mr-auto\"},[_vm._v(\"DETALLES FACTURA\")]),_c('v-btn',{staticClass:\"mr-2 align-self-center\",attrs:{\"icon\":\"\",\"max-width\":\"20\",\"max-height\":\"20\"},on:{\"click\":function($event){return _vm.toggleSectionVisibility('section_detalles_factura')}}},[(_vm.show_section_detalles_factura)?_c('v-img',{staticClass:\"icon-display-section\",attrs:{\"src\":\"/invoices/arrow_up_alt.svg\"}}):_c('v-img',{staticClass:\"icon-display-section\",attrs:{\"src\":\"/invoices/arrow_down_alt.svg\"}})],1)],1):_vm._e(),_c('div',{staticClass:\"pa-2\"}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.show_section_detalles_factura),expression:\"show_section_detalles_factura\"}]},[(_vm.currentDocument && _vm.feature_see_albaran)?_c('v-row',{staticClass:\"pa-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'delivery_note_number',attrs:{\"field-key\":\"delivery_note_number\",\"kind\":\"text\",\"stylev2\":\"\",\"field-text\":\"NÚM. ALBARÁN\"}})],1)],1):_vm._e(),(!_vm.buzonView)?[(_vm.currentDocument && _vm.userData.available_features['feature_document_number'] && !_vm.got_feature('feature_document_number_prefix') && !_vm.got_feature('feature_document_number_str'))?_c('v-row',{staticClass:\"px-4\"},[_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"6\"}},[_c('doc-text-field',{attrs:{\"kind\":\"number\",\"label\":\"Número de documento\",\"stylev2\":\"\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.currentDocument.doc_number),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"doc_number\", $$v)},expression:\"currentDocument.doc_number\"}})],1)],1):_vm._e()]:_vm._e(),(false)?_c('v-list',{attrs:{\"dense\":\"\",\"nav\":\"\"}},[_vm._l((_vm.$store.state.labels.human),function(label){return [_c('v-list-item',{key:label.name,staticClass:\"pa-0 my-0\"},[_c('v-list-item-content',{staticClass:\"pb-0 pt-1\",class:{selectedrow:label.name===_vm.selectedLabel},staticStyle:{\"height\":\"26px\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"pb-0 pr-0\",attrs:{\"cols\":\"1\"}},[(label.name===_vm.selectedLabel)?_c('v-icon',{staticClass:\"selected-chevron\",attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-chevron-right\")]):_vm._e()],1),(_vm.currentDocument)?_c('v-col',{staticClass:\"pt-0 pb-0 pl-0 pr-0\",attrs:{\"cols\":\"9\"}},[_c('doc-text-field',{attrs:{\"field-class\":{\n invalid: ['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && \n _vm.currentDocument.errorJson.includes(label.name)\n },\"kind\":\"text\",\"label\":label.text,\"disabled\":!_vm.currentDocument || _vm.currentDocument.forced_move || _vm.isWaitingFlow,\"stylev2\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: label.name })}},model:{value:(_vm.that['metadata_'+label.name]),callback:function ($$v) {_vm.$set(_vm.that, 'metadata_'+label.name, $$v)},expression:\"that['metadata_'+label.name]\"}})],1):_vm._e(),_c('v-col',{staticClass:\"pt-0 pb-0 pr-0 pl-2\",attrs:{\"cols\":\"2\"}},[_c('v-btn',{staticClass:\"btn-invoice-detail\",attrs:{\"color\":label.color,\"width\":\"20\",\"min-width\":\"20\",\"disabled\":!_vm.currentDocument || _vm.currentDocument.forced_move || _vm.isWaitingFlow},on:{\"click\":function($event){return _vm.selectLabel({ label: label.name })}}},[_c('v-icon',[_vm._v(\"mdi-tag\")])],1)],1)],1)],1)],1)]}),(false)?_c('v-simple-table',{scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"width\":\"130px\"}},[_vm._v(\"\\n Type\\n \")]),_c('th',{staticClass:\"text-left\"},[_vm._v(\"\\n Base\\n \")]),_c('th',{staticClass:\"text-left\"},[_vm._v(\"\\n Tax\\n \")])])]),_c('tbody',[_vm._l((_vm.$store.state.labels.taxes_labels),function(label){return [(_vm.currentDocument && _vm.currentDocument.metadata[label.name])?_c('tr',{key:'tax_'+label.name},[_c('td',[_c('v-text-field',{attrs:{\"readonly\":\"\"},model:{value:(label.text),callback:function ($$v) {_vm.$set(label, \"text\", $$v)},expression:\"label.text\"}})],1),_c('td',[_c('v-text-field',{class:{\n invalid: ['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && \n _vm.currentDocument.errorJson.includes(label.name)\n },attrs:{\"dense\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: label.name })}},model:{value:(_vm.currentDocument.metadata['base_'+label.name]),callback:function ($$v) {_vm.$set(_vm.currentDocument.metadata, 'base_'+label.name, $$v)},expression:\"currentDocument.metadata['base_'+label.name]\"}})],1),_c('td',[_c('v-text-field',{class:{\n invalid: ['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && \n _vm.currentDocument.errorJson.includes(label.name)\n },attrs:{\"dense\":\"\"},on:{\"focus\":function($event){return _vm.selectLabel({ label: label.name })}},model:{value:(_vm.currentDocument.metadata[label.name]),callback:function ($$v) {_vm.$set(_vm.currentDocument.metadata, label.name, $$v)},expression:\"currentDocument.metadata[label.name]\"}})],1)]):_vm._e()]})],2)]},proxy:true}],null,false,2901334198)}):_vm._e()],2):_vm._e(),(_vm.got_feature('feature_invoice_notes'))?_c('v-row',{staticClass:\"px-4\"},[_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"12\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"label\":\"Notas de Factura\",\"stylev2\":\"\"},model:{value:(_vm.document_notes),callback:function ($$v) {_vm.document_notes=$$v},expression:\"document_notes\"}})],1)],1):_vm._e(),_c('v-row',{staticClass:\"px-4 pb-4\"},[(_vm.currentDocument && _vm.currentDocument['originalFileName'])?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"12\"}},[_c('doc-text-field',{class:{\n 'disable-text': _vm.isDisabled,\n 'activate-text': !_vm.isDisabled\n },attrs:{\"kind\":\"text\",\"label\":\"Nombre del Archivo\",\"readonly\":\"\",\"stylev2\":\"\",\"rounded\":\"\"},model:{value:(_vm.currentDocument['originalFileName']),callback:function ($$v) {_vm.$set(_vm.currentDocument, 'originalFileName', $$v)},expression:\"currentDocument['originalFileName']\"}})],1):_vm._e(),(_vm.currentDocument && !_vm.buzonView)?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"12\"}},[(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice')?_c('doc-text-field',{attrs:{\"disabled\":_vm.currentDocument.state!='done',\"readonly\":true,\"label\":\"Apunte\",\"stylev2\":\"\"},model:{value:(_vm.currentDocument.entry_number),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"entry_number\", $$v)},expression:\"currentDocument.entry_number\"}}):_vm._e()],1):_vm._e()],1),(_vm.got_feature('feature_ai_detected_lines'))?[(_vm.currentDocument && _vm.currentDocument.static_invoice)?_c('v-row',[_c('v-col',[_c('v-btn',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"primary\":\"\"},on:{\"click\":function($event){return _vm.invoiceLinesPopUp()}}},[_vm._v(\" Ver líneas\\n \")])],1)],1):_c('v-row',[_c('v-col',[_c('v-btn',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"primary\":\"\"},on:{\"click\":function($event){return _vm.detectarLineas()}}},[_vm._v(\" Detectar líneas\\n \")])],1)],1)]:_vm._e()],2)],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-chevron-left\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-chevron-right\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-content-save-outline\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-content-save-outline\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-airplane\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-send-variant-outline\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-menu\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-autorenew\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-alert-decagram\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-alert\")])}]\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.show_section_factura),expression:\"show_section_factura\"}]},[_c('DetailAccounts',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'_dialog',attrs:{\"show_message\":_vm.show_account_detail,\"vat\":_vm.dialog_vat},on:{\"close-message\":function($event){_vm.show_account_detail=false}}}),(_vm.currentDocument)?_c('v-row',{staticClass:\"pt-4 px-4\"},[(_vm.currentDocument && (_vm.got_feature('feature_document_number_prefix') || _vm.showDocNumberStr()))?_c('v-col',{staticClass:\"py-1 pr-2\",attrs:{\"cols\":\"12\",\"sm\":6}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.got_feature('feature_document_number_prefix') ? 'Prefijo núm. documento' : 'Número documento',\"disabled\":!_vm.canChange(),\"stylev2\":\"\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_doc_number_prefix),callback:function ($$v) {_vm.document_doc_number_prefix=$$v},expression:\"document_doc_number_prefix\"}})],1):_vm._e(),(_vm.currentDocument && (_vm.got_feature('feature_document_number_prefix') || (['accounting_invoice', 'accounting', 'pending_sync', 'done'].includes(_vm.currentDocument.state) && _vm.got_feature('feature_fill_num_doc_pending_sync'))))?_c('v-col',{staticClass:\"py-1 pr-2\",attrs:{\"cols\":\"12\",\"sm\":6}},[_c('doc-text-field',{attrs:{\"kind\":\"number\",\"label\":\"Núm. documento\",\"disabled\":!_vm.canChange(),\"stylev2\":\"\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_doc_number),callback:function ($$v) {_vm.document_doc_number=$$v},expression:\"document_doc_number\"}})],1):_vm._e(),_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"12\",\"sm\":7}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'inv_number',class:{'disable-text': _vm.currentDocument.forced_move, 'activate-text': !_vm.currentDocument.forced_move },attrs:{\"field-key\":\"inv_number\",\"field-text\":\"Núm. Factura\",\"required\":true,\"stylev2\":\"\"}})],1),(_vm.document_kind=='in_invoice')?[(_vm.document_supplierdb_info)?_c('v-col',{staticClass:\"py-1 pr-2 pl-2\",attrs:{\"cols\":\"12\",\"sm\":3}},[_c('doc-text-field',{staticClass:\"disable-text\",attrs:{\"label\":\"CIF\",\"field-text\":\"CIF\",\"readonly\":\"\",\"value\":_vm.document_supplierdb_info.cif,\"stylev2\":\"\"}})],1):_c('v-col',{staticClass:\"py-1 pr-2\",attrs:{\"cols\":\"12\",\"sm\":3}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'vat_supplier',attrs:{\"field-key\":\"vat_supplier\",\"field-text\":\"CIF\",\"stylev2\":\"\"}})],1)]:[(_vm.document_customerdb_info)?_c('v-col',{staticClass:\"py-1 pr-2 pl-2\",attrs:{\"cols\":\"12\",\"sm\":3}},[_c('doc-text-field',{attrs:{\"label\":\"CIF\",\"field-text\":\"CIF\",\"readonly\":\"\",\"value\":_vm.document_customerdb_info.cif,\"stylev2\":\"\"}})],1):_c('v-col',{staticClass:\"py-1 pr-2\",attrs:{\"cols\":\"12\",\"sm\":3}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'vat_customer',attrs:{\"field-key\":\"vat_customer\",\"field-text\":\"CIF\",\"stylev2\":\"\"}})],1)],_c('v-col',{staticClass:\"pt-1 pb-0\",attrs:{\"cols\":\"12\"}},[(_vm.permission.can_write && _vm.document_kind=='in_invoice')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.document_kind=='in_invoice' && ['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('div',{staticStyle:{\"font-size\":\"14px\"}},[_vm._v(\"\\n Hay varios proveedores que encajan, elija el correcto:\\n \")]):_vm._e(),_c('v-col',{attrs:{\"cols\":\"10\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":_vm.document_supplierdb_info && _vm.valid_expens_accounts && _vm.valid_expens_account_bien_inversion},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(_vm.currentDocument && _vm.currentDocument.companydb)?_c('div',[(['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('autocomplete-with-api',{attrs:{\"autocomplete\":\"off\",\"label\":\"Proveedor\",\"url\":'get_matching_thirds/?doc_id=' + _vm.currentDocument.id,\"item-text\":\"extended_name\",\"item_search_field\":\"selector_text\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"bck_color\":!_vm.document_supplierdb_info || (_vm.document_supplierdb_info && _vm.document_supplierdb_info.credit_account == '') ?'#ff9898':'#ffffff',\"return_object\":true,\"vbind\":attrs,\"von\":on,\"stylev2\":\"\"},model:{value:(_vm.document_supplierdb_info),callback:function ($$v) {_vm.document_supplierdb_info=$$v},expression:\"document_supplierdb_info\"}}):(['done','done_manually', 'done_with_warning'].includes(_vm.currentDocument.state) && !(_vm.fixMotxo))?_c('v-autocomplete',_vm._g(_vm._b({staticClass:\"select-invoice-stylev2\",attrs:{\"autocomplete\":\"off\",\"items\":[_vm.document_supplierdb_info],\"item-text\":\"extended_name\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"background-color\":!_vm.document_supplierdb_info || (_vm.document_supplierdb_info && _vm.document_supplierdb_info.credit_account == '')?'#ff9898':'#ffffff',\"return-object\":\"\",\"filter\":_vm.filterBy,\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},on:{\"change\":function($event){return _vm.on_supplierdb_changed()}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.cif)+\" - \"+_vm._s(data.item.name)+\"\\n \")]}},{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Proveedor\")])]},proxy:true}],null,true),model:{value:(_vm.document_supplierdb_info),callback:function ($$v) {_vm.document_supplierdb_info=$$v},expression:\"document_supplierdb_info\"}},'v-autocomplete',attrs,false),on)):(_vm.feature_search_thirds_by_api)?_c('autocomplete-with-api',{attrs:{\"label\":\"Proveedor\",\"starting_items\":_vm.suppliers,\"url\":'get_all_suppliers/?companydb_id=' + _vm.currentCompany.id,\"item_text\":\"extended_name\",\"item_search_field\":\"selector_text\",\"return_object\":true,\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"bck_color\":!_vm.document_supplierdb_info || !_vm.valid_expens_accounts || !_vm.valid_expens_account_bien_inversion || (_vm.document_supplierdb_info && _vm.document_supplierdb_info.credit_account == '') ?'#ff9898':'#ffffff',\"vbind\":attrs,\"von\":on,\"stylev2\":\"\"},model:{value:(_vm.document_supplierdb_info),callback:function ($$v) {_vm.document_supplierdb_info=$$v},expression:\"document_supplierdb_info\"}}):_c('v-autocomplete',_vm._g(_vm._b({staticClass:\"select-invoice-stylev2\",class:{\n 'disable-text': _vm.currentDocument.forced_move, \n 'activate-text': !_vm.currentDocument.forced_move \n },attrs:{\"autocomplete\":\"off\",\"items\":_vm.suppliers,\"item-text\":\"extended_name\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"background-color\":!_vm.document_supplierdb_info || !_vm.valid_expens_accounts || !_vm.valid_expens_account_bien_inversion || (_vm.document_supplierdb_info && _vm.document_supplierdb_info.credit_account == '') ?'#ff9898':'#ffffff',\"return-object\":\"\",\"filter\":_vm.filterBy,\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},on:{\"change\":function($event){return _vm.on_supplierdb_changed()}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.selector_text)+\"\\n \")]}},{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Proveedor\")])]},proxy:true}],null,true),model:{value:(_vm.document_supplierdb_info),callback:function ($$v) {_vm.document_supplierdb_info=$$v},expression:\"document_supplierdb_info\"}},'v-autocomplete',attrs,false),on))],1):_vm._e()]}}],null,false,2271628286)},[(!_vm.document_supplierdb_info || !_vm.valid_expens_accounts || !_vm.valid_expens_account_bien_inversion)?_c('span',[(!_vm.document_supplierdb_info)?_c('div',[_vm._v(\"Proveedor no asignado\")]):(!_vm.valid_expens_accounts)?_c('div',[_vm._v(\"Cuenta de gastos no asignada\")]):(!_vm.valid_expens_account_bien_inversion)?_c('div',[_vm._v(\"Cuenta de gastos en bienes de inversión no asignada\")]):_vm._e()]):_vm._e()])],1),(Boolean(_vm.permission.can_write) && (!_vm.got_feature('feature_not_create_thirds_and_masters') || (_vm.got_feature('feature_not_create_thirds_and_masters') && _vm.document_supplierdb_info)))?_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-row',[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"4\"}},[_c('v-btn',{staticClass:\"ml-1 mb-2 btn-invoice-edit\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"max-width\":\"25\",\"min-width\":\"25\"},on:{\"click\":function($event){return _vm.show_modal()}}},[(_vm.document_supplierdb_info)?_c('img',{attrs:{\"src\":\"/invoices/ink_highlighter.svg\"}}):_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-plus\")])],1)],1),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"4\"}},[(_vm.document_supplierdb_info)?_c('v-btn',{staticClass:\" mb-2 btn-invoice-edit\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"max-width\":\"25\",\"min-width\":\"25\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange()},on:{\"click\":function($event){_vm.document_supplierdb=undefined;_vm.document_supplierdb_info=undefined}}},[_c('img',{attrs:{\"src\":\"/invoices/ink_eraser.svg\"}})]):_vm._e()],1)],1)],1):_vm._e()],1):(_vm.permission.can_write && _vm.document_kind=='out_invoice')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.document_kind=='out_invoice' && ['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('div',{staticStyle:{\"font-size\":\"14px\"}},[_vm._v(\"\\n Hay varios clientes que encajan, elija el correcto:\\n \")]):_vm._e(),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":_vm.document_customerdb_info && _vm.valid_income_accounts},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [(_vm.currentDocument && _vm.currentDocument.companydb)?_c('div',[(['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('autocomplete-with-api',{attrs:{\"autocomplete\":\"off\",\"label\":\"Cliente\",\"url\":'get_matching_thirds/?doc_id=' + _vm.currentDocument.id,\"item-text\":\"extended_name\",\"item_search_field\":\"selector_text\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"bck_color\":!_vm.document_customerdb_info || (_vm.document_customerdb_info && _vm.document_customerdb_info.debit_account == '') ? '#ff9898':'#ffffff',\"return_object\":true,\"vbind\":attrs,\"von\":on,\"stylev2\":\"\"},model:{value:(_vm.document_customerdb_info),callback:function ($$v) {_vm.document_customerdb_info=$$v},expression:\"document_customerdb_info\"}}):(['done','done_manually', 'done_with_warning'].includes(_vm.currentDocument.state) && !(_vm.fixMotxo))?_c('v-autocomplete',_vm._g(_vm._b({staticClass:\"select-invoice-stylev2\",attrs:{\"autocomplete\":\"off\",\"items\":[_vm.document_customerdb_info],\"item-text\":\"extended_name\",\"item-value\":\"id\",\"background-color\":!_vm.document_customerdb_info || (_vm.document_customerdb_info && _vm.document_customerdb_info.debit_account == '') ?'#ff9898':'#ffffff',\"return-object\":\"\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"filter\":_vm.filterBy,\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},on:{\"change\":function($event){return _vm.on_customerdb_changed()}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.cif)+\" - \"+_vm._s(data.item.name)+\"\\n \")]}},{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Cliente\")])]},proxy:true}],null,true),model:{value:(_vm.document_customerdb_info),callback:function ($$v) {_vm.document_customerdb_info=$$v},expression:\"document_customerdb_info\"}},'v-autocomplete',attrs,false),on)):(_vm.feature_search_thirds_by_api)?_c('autocomplete-with-api',{attrs:{\"label\":\"Cliente\",\"starting_items\":_vm.customers,\"url\":'get_all_customers/?companydb_id=' + _vm.currentCompany.id,\"item_text\":\"extended_name\",\"item_search_field\":\"selector_text\",\"return_object\":true,\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"bck_color\":!_vm.document_customerdb_info || !_vm.valid_income_accounts || (_vm.document_customerdb_info && _vm.document_customerdb_info.debit_account == '') ?'#ff9898':'#ffffff',\"stylev2\":\"\"},model:{value:(_vm.document_customerdb_info),callback:function ($$v) {_vm.document_customerdb_info=$$v},expression:\"document_customerdb_info\"}}):_c('v-autocomplete',_vm._g(_vm._b({staticClass:\"select-invoice-stylev2\",attrs:{\"autocomplete\":\"off\",\"items\":_vm.customers,\"item-text\":\"extended_name\",\"item-value\":\"id\",\"background-color\":!_vm.document_customerdb_info || !_vm.valid_income_accounts || (_vm.document_customerdb_info && _vm.document_customerdb_info.debit_account == '') ?'#ff9898':'#ffffff',\"return-object\":\"\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"filter\":_vm.filterBy,\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},on:{\"change\":function($event){return _vm.on_customerdb_changed()}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.selector_text)+\"\\n \")]}},{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Cliente\")])]},proxy:true}],null,true),model:{value:(_vm.document_customerdb_info),callback:function ($$v) {_vm.document_customerdb_info=$$v},expression:\"document_customerdb_info\"}},'v-autocomplete',attrs,false),on))],1):_vm._e()]}}],null,false,3134815019)},[(!_vm.document_customerdb_info)?_c('span',[_vm._v(\"Cliente no asignado\")]):(!_vm.valid_income_accounts)?_c('span',[_vm._v(\"Cuenta de ingresos no asignada\")]):_vm._e()])],1),((!_vm.got_feature('feature_not_create_thirds_and_masters') || (_vm.got_feature('feature_not_create_thirds_and_masters') && _vm.document_customerdb_info)))?_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-row',[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"6\"}},[_c('v-btn',{staticClass:\"ml-1 mb-2 btn-invoice-edit\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"max-width\":\"25\",\"min-width\":\"25\"},on:{\"click\":function($event){return _vm.show_modal()}}},[(_vm.document_customerdb_info)?_c('img',{attrs:{\"src\":\"/invoices/ink_highlighter.svg\"}}):_c('v-icon',[_vm._v(\"mdi-plus\")])],1)],1),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"6\"}},[(_vm.document_customerdb_info)?_c('v-btn',{staticClass:\" mb-2 btn-invoice-edit\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"max-width\":\"25\",\"min-width\":\"25\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange()},on:{\"click\":function($event){_vm.document_customerdb=undefined;_vm.document_customerdb_info=undefined}}},[_c('img',{attrs:{\"src\":\"/invoices/ink_eraser.svg\"}})]):_vm._e()],1)],1)],1):_vm._e()],1):_vm._e(),(_vm.got_feature('feature_vies_validation') && _vm.currentDocument.intracomunitario && (_vm.document_supplierdb_info || _vm.document_supplierdb_info))?_c('vies-validator',{key:_vm.document_kind == 'in_invoice' ? _vm.document_supplierdb_info.cif : _vm.document_customerdb_info.cif,attrs:{\"third\":_vm.document_kind == 'in_invoice' ? _vm.document_supplierdb_info : _vm.document_customerdb_info}}):_vm._e(),(['error_multiple_matching_thirds'].includes(_vm.currentDocument.state) && !_vm.declined_matching)?_c('v-row',[_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"6\"}},[_c('v-btn',{staticClass:\"text-none text-subtitle-1\",attrs:{\"color\":\"primary\",\"max-height\":\"20px\"},on:{\"click\":function($event){_vm.declined_matching=true}}},[_vm._v(\"\\n Elegir otro tercero\\n \")])],1)],1):_vm._e()],1),(_vm.show_third_concept)?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"6\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'third_concept',attrs:{\"field-key\":\"third_concept\",\"required\":true,\"readonly\":_vm.readOnlyThirdConcept,\"tabs\":_vm.tabs,\"kind\":\"special_acc\",\"field-text\":\"Concepto\",\"stylev2\":\"\"}})],1):_vm._e(),(_vm.show_third_concept)?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"6\"}}):_vm._e()],2):_vm._e(),_c('v-row',{staticClass:\"px-4\"},[_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"4\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorInvoiceDate},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+_vm.documentFetched.toString()+'invoice_date',staticClass:\"activate-text\",attrs:{\"field-key\":\"invoice_date\",\"editable-forced-move\":true,\"field-text\":\"Fecha Factura\",\"kind\":\"date\",\"initial_error\":['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && _vm.currentDocument.errorJson.includes('invoice_date'),\"metadata_error\":_vm.errorInvoiceDate,\"required\":true,\"stylev2\":\"\"},on:{\"input\":function($event){return _vm.dateErrors_and_setDirty()}}})],1)]}}])},[_c('span',[_vm._v(\" \"+_vm._s(_vm.invoiceTooltip)+\" \")])])],1),(_vm.currentDocument && !['done', 'pending_upload','done_manually', 'done_with_warning','pending_sync','pending_connect','accounting_aplifisa_fiscal','accounting_invoice'].includes(_vm.currentDocument.state))?[_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"4\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorAccountingDateSelect},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-select',{staticClass:\"select-invoice-stylev2 activate-text\",attrs:{\"disabled\":!_vm.canChange(),\"item-value\":\"id\",\"item-text\":\"text\",\"items\":_vm.ACCOUNTING_DATE_OPTIONS,\"background-color\":_vm.errorAccountingDateSelect ? _vm.color.error : _vm.color.ok,\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},on:{\"change\":function($event){return _vm.dateErrors_and_setDirty()}},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Fecha Contable\")])]},proxy:true}],null,true),model:{value:(_vm.currentDocument.accounting_date_config),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"accounting_date_config\", $$v)},expression:\"currentDocument.accounting_date_config\"}})],1)]}}],null,false,994740775)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.accountingTooltip)+\" \")])])],1),(_vm.currentDocument && !['done','done_manually','done_with_warning','pending_sync','pending_connect', 'pending_upload', 'accounting_aplifisa_fiscal','accounting_invoice'].includes(_vm.currentDocument.state))?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"4\"}},[(_vm.currentDocument.accounting_date_config == 'configurated')?_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorAccountingDate},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('doc-text-field',{attrs:{\"kind\":\"date\",\"required\":_vm.currentDocument.accounting_date_config=='configurated',\"disabled\":!_vm.canChange(),\"error\":_vm.errorAccountingDate,\"label\":\"DD/MM/YYYY\",\"stylev2\":\"\"},on:{\"input\":function($event){return _vm.dateErrors_and_setDirty()}},model:{value:(_vm.currentDocument.default_accounting_date),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"default_accounting_date\", $$v)},expression:\"currentDocument.default_accounting_date\"}})],1)]}}],null,false,4087169226)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.accountingTooltip)+\" \")])]):_vm._e()],1):_vm._e()]:_vm._e(),(_vm.currentDocument && ['done','done_manually','done_with_warning','pending_sync','pending_connect','accounting_aplifisa_fiscal','accounting_invoice', 'pending_upload'].includes(_vm.currentDocument.state))?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"5\"}},[_c('doc-text-field',{attrs:{\"disabled\":true,\"readonly\":true,\"label\":\"Fecha contabilización\",\"stylev2\":\"\"},model:{value:(_vm.currentDocument.accounting_date),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"accounting_date\", $$v)},expression:\"currentDocument.accounting_date\"}})],1):_vm._e()],2),_c('v-row',{staticClass:\"px-4\"},[_c('v-col',{staticClass:\"py-1 pr-2\",attrs:{\"cols\":\"4\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'due_date',class:{'disable-text': _vm.currentDocument.forced_move, 'activate-text': !_vm.currentDocument.forced_move },attrs:{\"field-key\":\"due_date\",\"field-text\":\"Fecha Vencimiento\",\"kind\":\"date\",\"initial_error\":['error_validating_data','error_checking_taxes'].includes(_vm.currentDocument.state) && _vm.currentDocument.errorJson.includes('due_date'),\"stylev2\":\"\"}})],1),(_vm.currentDocument && _vm.got_feature('feature_fecha_registro') && !['done','done_manually','done_with_warning','pending_sync','pending_connect', 'pending_upload', 'accounting_aplifisa_fiscal','accounting_invoice'].includes(_vm.currentDocument.state))?[_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"4\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorRegistroDateSelect},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-select',{staticClass:\"select-invoice-stylev2\",attrs:{\"disabled\":!_vm.canChange(),\"item-value\":\"id\",\"item-text\":\"text\",\"items\":_vm.REGISTRO_DATE_OPTIONS,\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\",\"background-color\":_vm.errorRegistroDateSelect ? _vm.color.error : _vm.color.ok},on:{\"change\":function($event){return _vm.dateErrors_and_setDirty()}},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Fecha registro\")])]},proxy:true}],null,true),model:{value:(_vm.currentDocument.registro_date_config),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"registro_date_config\", $$v)},expression:\"currentDocument.registro_date_config\"}})],1)]}}],null,false,2568885971)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.registroTooltip)+\" \")])])],1),(_vm.currentDocument.registro_date_config=='configurated')?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"4\"}},[(_vm.currentDocument.registro_date_config == 'configurated')?_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.errorRegistroDate},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('doc-text-field',{attrs:{\"kind\":\"date\",\"disabled\":!_vm.canChange(),\"error\":_vm.errorRegistroDate,\"label\":\"DD/MM/YYYY\",\"stylev2\":\"\"},on:{\"input\":function($event){return _vm.dateErrors_and_setDirty()}},model:{value:(_vm.currentDocument.default_registro_date),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"default_registro_date\", $$v)},expression:\"currentDocument.default_registro_date\"}})],1)]}}],null,false,3739600763)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.registroTooltip)+\" \")])]):_vm._e()],1):_vm._e()]:_vm._e(),(_vm.currentDocument && _vm.got_feature('feature_fecha_registro') && ['done','done_manually','done_with_warning','pending_sync','pending_connect','accounting_aplifisa_fiscal','accounting_invoice', 'pending_upload'].includes(_vm.currentDocument.state) && _vm.currentDocument.registro_date)?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"5\"}},[_c('doc-text-field',{attrs:{\"disabled\":true,\"readonly\":true,\"label\":\"Fecha registro\",\"stylev2\":\"\"},model:{value:(_vm.currentDocument.registro_date),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"registro_date\", $$v)},expression:\"currentDocument.registro_date\"}})],1):_vm._e()],2),_c('v-row',{staticClass:\"px-4 pb-3\"},[_c('v-col',{staticClass:\"py-1 pr-1\",attrs:{\"cols\":_vm.show_retention_type_name?'2':'6'}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'retention_type',class:{\n 'disable-text': _vm.currentDocument.forced_move, \n 'activate-text': !_vm.currentDocument.forced_move \n },attrs:{\"field-key\":\"retention_type\",\"required\":Boolean(_vm.currentDocument.metadata['retention_amount']),\"tabs\":_vm.tabs,\"kind\":\"number\",\"field-text\":\"% Ret.\",\"stylev2\":\"\"}})],1),_c('v-col',{staticClass:\"py-1 pr-1\",attrs:{\"cols\":_vm.show_retention_type_name?'4':'6'}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'retention_amount',class:{\n 'disable-text': _vm.currentDocument.forced_move, \n 'activate-text': !_vm.currentDocument.forced_move \n },attrs:{\"field-key\":\"retention_amount\",\"required\":Boolean(_vm.currentDocument.metadata['retention_type']),\"tabs\":_vm.tabs,\"kind\":\"number\",\"field-text\":\"Retención\",\"stylev2\":\"\"}})],1),(_vm.show_retention_type_name)?_c('v-col',{staticClass:\"py-1\",attrs:{\"cols\":\"6\"}},[_c('v-autocomplete',{staticClass:\"autocomplete-input pa-0 select-invoice-stylev2 activate-text\",attrs:{\"autocomplete\":\"off\",\"items\":_vm.filtered_retention_types,\"hide-details\":true,\"error\":_vm.errorRetentionType,\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Tipo de Ret.\")])]},proxy:true}],null,false,4164971930),model:{value:(_vm.document_retention_type_name),callback:function ($$v) {_vm.document_retention_type_name=$$v},expression:\"document_retention_type_name\"}})],1):_vm._e()],1),_c('v-row',{staticClass:\"px-4 pb-3\"},[(_vm.got_feature('feature_assign_fiscal_location'))?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"15\"}},[_c('v-autocomplete',{staticClass:\"autocomplete-input pa-0 select-invoice-stylev2\",class:{'error-background': _vm.fiscal_location_error !== '' && false},attrs:{\"autocomplete\":\"off\",\"items\":_vm.fiscal_locations,\"readonly\":false,\"hide-details\":true,\"outlined\":\"\",\"dense\":\"\"},on:{\"change\":_vm.on_fiscal_location_changed},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Loc.Fiscal.\")])]},proxy:true}],null,false,2088335110),model:{value:(_vm.currentDocument.fiscal_location),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"fiscal_location\", $$v)},expression:\"currentDocument.fiscal_location\"}})],1):_vm._e(),(_vm.got_feature('feature_assign_fiscal_location') && this.fiscal_location_error !== '')?_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-icon',_vm._g(_vm._b({staticClass:\"error--text\",staticStyle:{\"font-size\":\"20px\"}},'v-icon',attrs,false),on),[_vm._v(\" mdi-alert-circle\\n \")])]}}],null,false,391129388)},[_c('span',[_vm._v(_vm._s(this.fiscal_location_error))])])],1):_vm._e()],1)],1),(!_vm.show_section_factura)?_c('div',{staticClass:\"pb-4\"}):_vm._e(),_c('div',{staticClass:\"d-flex divider-invoice-tabs\"},[_c('img',{staticClass:\"divider-img\",attrs:{\"src\":\"/invoices/grid_on.svg\"}}),_c('v-tabs',{staticClass:\"tabs-taxs-invoice\",model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},_vm._l((_vm.visibleTabs),function(tab){return _c('v-tab',{key:tab.code},[(tab.code == 'params')?_c('div',[_vm._v(\"\\n \"+_vm._s(tab.text)+\" \"),(_vm.someParamsError)?_c('v-icon',{attrs:{\"color\":\"red\"}},[_vm._v(\"mdi-alert\")]):_vm._e()],1):_c('div',[_vm._v(\"\\n \"+_vm._s(tab.text)+\"\\n \")])])}),1),_c('v-btn',{staticClass:\"mr-2 align-self-center\",attrs:{\"icon\":\"\",\"max-width\":\"20\",\"max-height\":\"20\"},on:{\"click\":function($event){return _vm.toggleSectionVisibility('section_taxes')}}},[(_vm.show_section_taxes)?_c('v-img',{staticClass:\"icon-display-section\",attrs:{\"src\":\"/invoices/arrow_up_alt.svg\"}}):_c('v-img',{staticClass:\"icon-display-section\",attrs:{\"src\":\"/invoices/arrow_down_alt.svg\"}})],1)],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.show_section_taxes),expression:\"show_section_taxes\"}]},[(_vm.currentDocument)?_c('v-tabs-items',{staticClass:\"ma-3 table-iva\",model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},_vm._l((_vm.visibleTabs),function(tab){return _c('v-tab-item',{key:tab.code+'1'},[(tab.code == 'params')?_c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.got_feature('feature_serie_in_docs'))?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"label\":\"Serie\",\"stylev2\":\"\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_serie),callback:function ($$v) {_vm.document_serie=$$v},expression:\"document_serie\"}})],1)],1):_vm._e(),(_vm.showTypes0Error)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('div',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"\\n Las facturas intracomunitarias o con inversion del sujeto pasivo no admiten los impuestos de esta factura.\\n \")])])],1):_vm._e(),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('v-radio-group',{key:_vm.selectedParam,staticClass:\"radio-group-stylev2\",on:{\"change\":_vm.resetParamOption},model:{value:(_vm.selectedParam),callback:function ($$v) {_vm.selectedParam=$$v},expression:\"selectedParam\"}},[_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"inversion_sujeto_pasivo_iva\",\"label\":\"Inversión sujeto pasivo IVA\"}})],1),_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"inversion_sujeto_pasivo_igic\",\"label\":\"Inversión sujeto pasivo IGIC\"}})],1),_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"intracomunitario\",\"label\":\"Intracomunitario\"}})],1),(_vm.currentDocument.kind=='out_invoice' || _vm.selectedParam == 'extracomunitario' || _vm.got_feature('feature_extra_supplier'))?_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"extracomunitario\",\"label\":\"Extracomunitario\"}})],1):_vm._e(),(_vm.feature_supplier_comerciante_minorista && _vm.currentDocument.kind=='in_invoice')?_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"is_comerciante_minorista\",\"label\":\"Comerciante Minorista\"}})],1):_vm._e(),(_vm.feature_no_sujeta)?_c('div',{on:{\"click\":_vm.toggleParam}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"no_sujeta\",\"label\":\"No sujeta\"}})],1):_vm._e()])],1),(_vm.selectedParam && _vm.PROVIDER_SOMETHING_OPTIONS[_vm.selectedParam])?_c('v-col',{attrs:{\"cols\":\"4\"}},[(_vm.currentDocument.kind=='in_invoice')?_c('v-autocomplete',{staticClass:\"select-invoice-stylev2\",class:{\n 'disable-text': _vm.currentDocument.forced_move, \n 'activate-text': !_vm.currentDocument.forced_move \n },attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"autocomplete\":\"off\",\"items\":_vm.PROVIDER_SOMETHING_OPTIONS[_vm.selectedParam],\"background-color\":_vm.taxTypesDoNotMatch ? '#ff9898' : '#ffffff',\"readonly\":_vm.currentDocument.forced_move || !_vm.canChange(),\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(_vm._s(_vm.selectedParam === 'extracomunitario' ? 'Importaciones' : 'Porcentaje'))])]},proxy:true}],null,true),model:{value:(_vm.selectedParamOption),callback:function ($$v) {_vm.selectedParamOption=$$v},expression:\"selectedParamOption\"}}):_vm._e(),((_vm.selectedParam == 'intracomunitario' && _vm.feature_intra_type) || (_vm.selectedParam == 'extracomunitario' && _vm.feature_extra_type))?_c('v-autocomplete',{staticClass:\"select-invoice-stylev2\",attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"autocomplete\":\"off\",\"items\":_vm.PROVIDER_SOMETHING_OPTIONS2[_vm.selectedParam],\"readonly\":_vm.currentDocument.forced_move || !_vm.canChange(),\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Tipo\")])]},proxy:true}],null,true),model:{value:(_vm.selectedParamOption2),callback:function ($$v) {_vm.selectedParamOption2=$$v},expression:\"selectedParamOption2\"}}):_vm._e()],1):_vm._e()],1),_c('v-divider',{staticClass:\"v-divider theme--light\",attrs:{\"role\":\"separator\",\"aria-orientation\":\"horizontal\"}}),(_vm.feature_bien_inversion)?_c('v-row',[_c('v-col',{staticClass:\"ml-3 pa-0 ma-0 pt-1\",attrs:{\"cols\":\"8\"}},[_c('v-checkbox',{staticClass:\"checkbox-stylev2\",attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"label\":\"Bienes de inversión\"},on:{\"change\":function($event){return _vm.checkBienInversion()}},model:{value:(_vm.document_bien_inversion),callback:function ($$v) {_vm.document_bien_inversion=$$v},expression:\"document_bien_inversion\"}})],1)],1):_vm._e(),(_vm.feature_bien_inversion)?_c('v-divider',{staticClass:\"v-divider theme--light\",attrs:{\"role\":\"separator\",\"aria-orientation\":\"horizontal\"}}):_vm._e(),(_vm.currentDocument.kind=='in_invoice')?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"7\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.noDeducibleCheckError && !_vm.isComercianteMinoristaCheckError},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-radio-group',{staticClass:\"radio-group-stylev2\",attrs:{\"error\":_vm.noDeducibleCheckError || _vm.isComercianteMinoristaCheckError},model:{value:(_vm.selectedIvaCheck),callback:function ($$v) {_vm.selectedIvaCheck=$$v},expression:\"selectedIvaCheck\"}},[_c('div',{on:{\"click\":_vm.toggleParamIva}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"iva_igic_no_deducible\",\"label\":\"IVA/IGIC no deducible\"}})],1),(_vm.feature_gasto_iva_parcial)?_c('div',{on:{\"click\":_vm.toggleParamIva}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"gasto_iva_parcial\",\"label\":\"Gasto+IVA deducible parcialmente\"}})],1):_vm._e(),(_vm.feature_iva_deducible_parcialmente)?_c('div',{on:{\"click\":_vm.toggleParamIva}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"iva_parcial\",\"label\":\"IVA deducible parcialmente\"}})],1):_vm._e(),(_vm.feature_prorate && _vm.currentDocument.kind == 'in_invoice' && _vm.currentDocument.companydb_info.prorate && _vm.currentPath()['prorate_percent'] != 'N/A')?_c('div',{on:{\"click\":_vm.toggleParamIva}},[_c('v-radio',{attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"value\":\"prorate\",\"label\":\"Prorrata\"}})],1):_vm._e()])],1)]}}],null,true)},[(_vm.noDeducibleCheckError)?_c('span',[_vm._v(\"Funcionalidad no soportada: Factura con IVA/IGIC no deducible e \"+_vm._s((_vm.selectedParam=='intracomunitario' && 'Intracomunitario') || (_vm.selectedParam=='inversion_sujeto_pasivo_iva' && 'Inversión sujeto pasivo IVA') || (_vm.selectedParam=='inversion_sujeto_pasivo_igic' && 'Inversión sujeto pasivo IGIC'))+\".\")]):_vm._e(),(_vm.isComercianteMinoristaCheckError)?_c('span',[_vm._v(\"Funcionalidad no soportada: Factura con Comerciante Minorista y Deducibilidad.\")]):_vm._e()])],1),_c('v-col',{attrs:{\"cols\":\"5\"}},[(_vm.selectedIvaCheck=='iva_igic_no_deducible' && _vm.feature_comerciante_minorista && _vm.currentDocument.companydb_info.companydb_type.params && ((!_vm.currentDocument.companydb_info.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentDocument.companydb_info.companydb_type.params.hide && !_vm.currentDocument.companydb_info.companydb_type.params.hide.includes('comerciante_minorista'))))?_c('v-checkbox',{staticClass:\"checkbox-stylev2\",attrs:{\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"label\":\"Registrar en libro de facturas\"},model:{value:(_vm.document_comerciante_minorista),callback:function ($$v) {_vm.document_comerciante_minorista=$$v},expression:\"document_comerciante_minorista\"}}):_vm._e(),(_vm.selectedIvaCheck=='gasto_iva_parcial' || _vm.selectedIvaCheck=='iva_parcial')?_c('doc-text-field',{attrs:{\"kind\":\"number\",\"label\":\"Porcentaje\",\"disabled\":_vm.currentDocument.forced_move || !_vm.canChange(),\"required\":true,\"error\":_vm.document_gasto_iva_percent<=0 || _vm.document_gasto_iva_percent>=100 || (_vm.document_errorJson.length > 0 && _vm.document_errorJson.includes('gasto_iva_percent')),\"stylev2\":\"\"},model:{value:(_vm.document_gasto_iva_percent),callback:function ($$v) {_vm.document_gasto_iva_percent=$$v},expression:\"document_gasto_iva_percent\"}}):_vm._e()],1)],1):_vm._e(),(_vm.currentDocument.kind=='in_invoice')?_c('v-divider',{staticClass:\"v-divider theme--light\",attrs:{\"role\":\"separator\",\"aria-orientation\":\"horizontal\"}}):_vm._e()],1)],1),(_vm.feature_building_code && _vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params['show'] && _vm.currentCompany.companydb_type.params['show'].includes('building_code'))?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.canChange(),\"stylev2\":\"\",\"label\":\"Código de inmueble\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_building_code),callback:function ($$v) {_vm.document_building_code=$$v},expression:\"document_building_code\"}})],1)],1):_vm._e(),(_vm.feature_criterio_de_caja || _vm.showApplyModelo() || (_vm.got_feature('feature_apply_415') && _vm.currentCompany.apply_415))?[_c('v-row',{staticClass:\"pt-2 pb-1\",attrs:{\"no-gutters\":\"\"}},[(_vm.showApplyModelo())?_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-checkbox',{staticClass:\"checkbox-stylev2\",attrs:{\"kind\":\"text\",\"disabled\":!_vm.canChange(),\"label\":_vm.apply_modelo_label},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_apply_modelo),callback:function ($$v) {_vm.document_apply_modelo=$$v},expression:\"document_apply_modelo\"}})],1):_vm._e(),(_vm.got_feature('feature_apply_415') && _vm.currentCompany.apply_415)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-checkbox',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.canChange(),\"label\":\"Aplica 415\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_apply_415),callback:function ($$v) {_vm.document_apply_415=$$v},expression:\"document_apply_415\"}})],1):_vm._e(),(_vm.feature_criterio_de_caja)?_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-checkbox',{staticClass:\"checkbox-stylev2\",attrs:{\"disabled\":!_vm.canChange(),\"label\":\"Criterio de Caja\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_criterio_de_caja),callback:function ($$v) {_vm.document_criterio_de_caja=$$v},expression:\"document_criterio_de_caja\"}})],1):_vm._e()],1)]:_vm._e(),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[(!(_vm.rectification_invoice===undefined))?_c('v-checkbox',{staticClass:\"checkbox-stylev2\",attrs:{\"disabled\":!_vm.canChange(),\"label\":\"Factura rectificativa\"},on:{\"change\":_vm.toggleIsRectificativa},model:{value:(_vm.rectification_invoice),callback:function ($$v) {_vm.rectification_invoice=$$v},expression:\"rectification_invoice\"}}):_vm._e()],1)],1),(_vm.showRectifyFields())?_c('v-row',[_c('v-col',{attrs:{\"cols\":_vm.got_feature('feature_invoice_date_to_rectify')?'6':'12'}},[_c('autocomplete-with-api',{attrs:{\"label\":\"Nº factura rectificada\",\"can_add_new\":true,\"starting_items\":[],\"url\":_vm.url_get_invoices_to_rectify,\"item_text\":\"inv_number\",\"search_field_name\":\"metadata__inv_number__icontains\",\"item_search_field\":\"inv_number\",\"return_object\":true,\"disabled\":!_vm.canChange(),\"classes\":\"ma-0 pa-0 select-invoice-stylev2\",\"bck_color\":_vm.inv_number_to_rectify_error?'#ff9898':'#ffffff',\"stylev2\":\"\"},on:{\"input\":_vm.changeInvNumberToRectify},model:{value:(_vm.invoice_to_rectify),callback:function ($$v) {_vm.invoice_to_rectify=$$v},expression:\"invoice_to_rectify\"}})],1),(_vm.got_feature('feature_invoice_date_to_rectify'))?_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('doc-text-field',{attrs:{\"kind\":\"date\",\"label\":\"Fecha factura rectificada\",\"error\":_vm.inv_date_to_rectify_error,\"disabled\":!_vm.canChange(),\"stylev2\":\"\"},model:{value:(_vm.document_inv_date_to_rectify),callback:function ($$v) {_vm.document_inv_date_to_rectify=$$v},expression:\"document_inv_date_to_rectify\"}})],1):_vm._e()],1):_vm._e(),_c('v-divider',{staticClass:\"v-divider theme--light\",attrs:{\"role\":\"separator\",\"aria-orientation\":\"horizontal\"}}),(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && (_vm.currentDocument.companydb_info.companydb_type.params && ((!_vm.currentDocument.companydb_info.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentDocument.companydb_info.companydb_type.params.hide && !_vm.currentDocument.companydb_info.companydb_type.params.hide.includes('prefix_invoice')))))?_c('v-row',{staticClass:\"pt-2\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-checkbox',{staticClass:\"checkbox-stylev2\",attrs:{\"disabled\":!_vm.canChange(),\"label\":\"Personalizar descripción\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_written_description),callback:function ($$v) {_vm.document_written_description=$$v},expression:\"document_written_description\"}})],1)],1):_vm._e(),(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && (_vm.currentDocument.companydb_info.companydb_type.params && ((!_vm.currentDocument.companydb_info.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentDocument.companydb_info.companydb_type.params.hide && !_vm.currentDocument.companydb_info.companydb_type.params.hide.includes('prefix_invoice')))))?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"pb-2 px-1\",attrs:{\"cols\":\"12\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.document_written_description || !_vm.canChange(),\"stylev2\":\"\",\"label\":\"Descripción\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_description),callback:function ($$v) {_vm.document_description=$$v},expression:\"document_description\"}})],1)],1):_vm._e(),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_description_sii)?_c('v-row',[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"12\"}},[_c('v-checkbox',{staticClass:\"checkbox-stylev2\",attrs:{\"disabled\":!_vm.canChange(),\"label\":\"Personalizar descripción SII\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_written_description_sii),callback:function ($$v) {_vm.document_written_description_sii=$$v},expression:\"document_written_description_sii\"}})],1)],1):_vm._e(),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_description_sii)?_c('v-row',[_c('v-col',{staticClass:\"pt-0 pb-2\",attrs:{\"cols\":\"12\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.document_written_description_sii || !_vm.canChange(),\"label\":\"Descripción SII\",\"stylev2\":\"\",\"error\":_vm.showRequiredDescriptionSII},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.document_description_sii),callback:function ($$v) {_vm.document_description_sii=$$v},expression:\"document_description_sii\"}})],1)],1):_vm._e(),(_vm.got_feature('feature_automatic_moves_in_document'))?_c('div',{staticClass:\"ma-0 pa-0\"},[_c('v-divider',{staticClass:\"v-divider theme--light\",attrs:{\"role\":\"separator\",\"aria-orientation\":\"horizontal\"}}),(_vm.document_kind == 'in_invoice')?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":\"\",\"label\":\"Pago auto.\",\"stylev2\":\"\"},model:{value:(_vm.automaticPaymentAccountLabel),callback:function ($$v) {_vm.automaticPaymentAccountLabel=$$v},expression:\"automaticPaymentAccountLabel\"}})],1),_c('v-col',{staticClass:\"d-flex align-center\",attrs:{\"cols\":\"9\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_payment_account,\"stylev2\":\"\"},model:{value:(_vm.document_payment_account),callback:function ($$v) {_vm.document_payment_account=$$v},expression:\"document_payment_account\"}})],1)],1):(_vm.document_kind == 'out_invoice')?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":\"\",\"label\":\"Cobro auto.\",\"stylev2\":\"\"},model:{value:(_vm.automaticChargeAccountLabel),callback:function ($$v) {_vm.automaticChargeAccountLabel=$$v},expression:\"automaticChargeAccountLabel\"}})],1),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_charge_account,\"stylev2\":\"\"},model:{value:(_vm.document_charge_account),callback:function ($$v) {_vm.document_charge_account=$$v},expression:\"document_charge_account\"}})],1)],1):_vm._e()],1):_vm._e()],2):_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.desglose_de_cuentas)?[_c('v-col',{staticClass:\"text-center table-head-invoice\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Tipo\")]),_c('v-col',{staticClass:\"text-center table-head-invoice\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Base\")]),_c('v-col',{staticClass:\"text-center table-head-invoice\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Cuota\")]),_c('v-col',{staticClass:\"text-center table-head-invoice\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Cuenta\")])]:[_c('v-col',{staticClass:\"text-center table-head-invoice\",attrs:{\"cols\":_vm.get_tipo_cols()}},[_vm._v(\"Tipo\")]),_c('v-col',{staticClass:\"text-center table-head-invoice\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Base\")]),_c('v-col',{staticClass:\"text-center table-head-invoice\",attrs:{\"cols\":_vm.get_cuota_cols()}},[_vm._v(\"Cuota\")]),(_vm.typeCheckRet != 'none')?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({key:'ampl',staticClass:\"table-head-invoice-btn\",style:({'margin-left':_vm.cusRetMarginLeft}),attrs:{\"small\":\"\",\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.conf_ret_button=!_vm.conf_ret_button}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-dots-vertical\")])],1)]}}],null,true)},[(!_vm.showCustomRet)?_c('span',[_vm._v(\" Mostrar columna base retención\")]):(!_vm.hasSomeCustomRet)?_c('span',[_vm._v(\" Ocultar columna\")]):_vm._e()]):_vm._e(),(_vm.showCustomRet && _vm.typeCheckRet != 'none')?[(_vm.typeCheckRet=='checkbox')?_c('v-col',{staticClass:\"text-center table-head-invoice\",style:({'margin-left':'7px'}),attrs:{\"cols\":\"2\"}},[_vm._v(\"Apl. Ret.\")]):(_vm.typeCheckRet=='base')?_c('v-col',{staticClass:\"text-center table-head-invoice\",style:({'margin-left':'7px'}),attrs:{\"cols\":\"2\"}},[_vm._v(\"Base Ret.\")]):_vm._e()]:_vm._e()],_vm._l((tab.vats),function(vat){return [(_vm.currentDocument && (_vm.show_empty_vats || _vm.currentDocument.metadata[vat.vat] || _vm.currentDocument.metadata['base_'+vat.vat] || _vm.currentDocument.metadata['account_'+vat.vat]))?[(_vm.currentCompany && _vm.show_vat(vat.vat))?[(Boolean(_vm.currentDocument.metadata['detail_'+vat.vat]) && _vm.currentDocument.metadata['detail_'+vat.vat].length>0)?[_c('v-col',{key:'label_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"2\"}},[_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'label_'+vat.vat,attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}})],1),_c('v-col',{key:'base_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'base_'+vat.vat,attrs:{\"kind\":\"detail_number\",\"field-key\":'base_'+vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\",\"initial_error\":_vm.document_errorJson && _vm.document_errorJson.constructor === Array && _vm.document_errorJson.includes('base_'+vat.vat)}})],1),_c('v-col',{key:'vat_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+vat.vat,attrs:{\"kind\":\"detail_number\",\"field-key\":vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\"}})],1),_c('v-col',{key:'account_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"10\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'account_'+vat.vat,attrs:{\"kind\":\"detail_account\",\"field-key\":vat.vat,\"field-text\":\"\"}})],1),_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-btn',{key:'dialog_'+vat.vat,attrs:{\"small\":\"\",\"color\":\"primary\",\"icon\":\"\",\"max-width\":\"20\",\"max-height\":\"20\"},on:{\"click\":function($event){_vm.dialog_vat=vat; _vm.show_account_detail=true}}},[_c('img',{attrs:{\"src\":\"/invoices/row_edit.svg\",\"width\":\"20\",\"height\":\"20\"}})])],1)],1)],1)]:(_vm.currentDocument.companydb_info && _vm.currentDocument.companydb_info.companydb_type && _vm.currentDocument.companydb_info.companydb_type.type == 'invoice' && _vm.currentDocument.companydb_info.companydb_type.params && _vm.currentDocument.companydb_info.companydb_type.params.desglose_de_cuentas)?[_c('v-col',{key:'label_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"2\"}},[(vat.vat.includes('_re_'))?_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'label_'+vat.vat,attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}}):_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'label_'+vat.vat,attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}})],1),_c('v-col',{key:'vat_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'base_'+vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata[vat.vat]),\"field-key\":'base_'+vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\",\"fill-account\":vat.vat,\"initial_error\":_vm.document_errorJson && _vm.document_errorJson.constructor === Array && _vm.document_errorJson.includes('base_'+vat.vat)}})],1),_c('v-col',{key:'base_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"3\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+vat.vat,attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata['base_'+vat.vat]),\"field-key\":vat.vat,\"field-check\":['base_'+vat.vat,vat.coef],\"field-text\":\"\",\"fill-account\":vat.vat}})],1),_c('v-col',{key:'account_'+vat.vat,staticClass:\"text-center table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"10\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'account_'+vat.vat,attrs:{\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"required\":Boolean(_vm.currentDocument.metadata['account_'+vat.vat]),\"field-key\":'account_'+vat.vat,\"field-text\":\"\",\"num_digits\":_vm.currentDocument.companydb_info.num_digits,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems}})],1),_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-btn',{key:'dialog_'+vat.vat,attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.dialog_vat=vat; _vm.show_account_detail=true}}},[(_vm.permission.is_readonly|| (_vm.currentDocument.forced_move && !_vm.editableForcedMove) || (_vm.currentDocument && (['pending','running'].includes(_vm.currentDocument.async_job_state) || ['pending_connect','accounting_aplifisa_fiscal', 'accounting_invoice'].includes(_vm.currentDocument.state))))?_c('img',{attrs:{\"src\":\"/invoices/eye.png\",\"width\":\"11\",\"height\":\"11\"}}):_c('img',{attrs:{\"src\":\"/invoices/row_edit.svg\",\"width\":\"20\",\"height\":\"20\"}})])],1)],1)],1)]:[_c('v-col',{key:'label_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":_vm.get_tipo_cols()}},[_c('doc-text-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString(),staticClass:\"disable-text\",attrs:{\"kind\":\"text\",\"readonly\":\"\",\"value\":_vm.get_label(vat)}})],1),_c('v-col',{key:'vat_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"4\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString(),class:{\n 'disable-text': _vm.currentDocument.forced_move, \n 'activate-text': !_vm.currentDocument.forced_move \n },attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata[vat.vat]),\"field-key\":'base_'+vat.vat,\"field-check\":[vat.vat,vat.coef],\"field-text\":\"\"}})],1),_c('v-col',{key:'base_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":_vm.get_cuota_cols()}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString(),class:{\n 'disable-text': _vm.currentDocument.forced_move, \n 'activate-text': !_vm.currentDocument.forced_move \n },attrs:{\"kind\":\"number\",\"required\":Boolean(_vm.currentDocument.metadata['base_'+vat.vat]),\"field-key\":vat.vat,\"field-check\":['base_'+vat.vat,vat.coef],\"field-text\":\"\"}})],1),(_vm.showCustomRet)?[(_vm.typeCheckRet == 'checkbox')?_c('v-col',{key:'check_ret_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"2\"}},[(!vat.vat.includes('_re_') )?_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'checkret',attrs:{\"field-key\":'not_ret_'+vat.vat,\"kind\":\"boolean\",\"field-text\":\"\"}}):_vm._e()],1):(_vm.typeCheckRet == 'base')?_c('v-col',{key:'check_ret_'+vat.vat,staticClass:\"table-row-invoice\",attrs:{\"cols\":\"2\"}},[(!vat.vat.includes('_re_') )?_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'baseret',attrs:{\"field-key\":'ret_base_'+vat.vat,\"field-check\":['base_'+vat.vat,vat.coef],\"kind\":\"number\",\"field-text\":\"\"}}):_vm._e()],1):_vm._e()]:_vm._e()]]:_vm._e()]:_vm._e()]}),_c('v-btn',{staticClass:\"mt-1 btn-show-empty-vats\",attrs:{\"outlined\":\"\",\"dense\":\"\"},on:{\"click\":function($event){_vm.show_empty_vats=!_vm.show_empty_vats}}},[(_vm.show_empty_vats)?[_c('v-icon',[_vm._v(\"mdi-arrow-up\")]),_vm._v(\"Ocultar líneas vacías\")]:[_c('v-icon',[_vm._v(\"mdi-arrow-down\")]),_vm._v(\"Mostrar toda la tabla\")]],2)],2)],1)}),1):_vm._e(),(_vm.currentDocument)?_c('v-row',{staticClass:\"px-4\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"offset\":\"1\",\"sm\":\"5\"}},[(_vm.currentDocument.companydb_info && (_vm.currentDocument.companydb_info.companydb_type.params && ((!_vm.currentDocument.companydb_info.companydb_type.params.hasOwnProperty('hide')) || (_vm.currentDocument.companydb_info.companydb_type.params.hide && !_vm.currentDocument.companydb_info.companydb_type.params.hide.includes('other_amounts')))))?_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'other_amounts',class:{\n 'disable-text': _vm.currentDocument.forced_move, \n 'activate-text': !_vm.currentDocument.forced_move \n },attrs:{\"field-key\":\"other_amounts\",\"kind\":\"number\",\"field-text\":\"SUPLIDOS\",\"stylev2\":\"\",\"initial_error\":_vm.document_errorJson && _vm.document_errorJson.constructor === Array && _vm.document_errorJson.includes('other_amounts')}}):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('metadata-field',{key:_vm.currentDocument.id.toString()+_vm.isWaitingFlow.toString()+'total_amount',staticClass:\"label-bold\",class:{'disable-text':_vm.currentDocument.forced_move, 'activate-text': !_vm.currentDocument.forced_move },attrs:{\"field-key\":\"total_amount\",\"kind\":\"number\",\"required\":true,\"tabs\":_vm.tabs,\"field-text\":\"TOTAL FACTURA\",\"stylev2\":\"\"}})],1)],1):_vm._e(),(_vm.userData.available_features['feature_see_currency'] && _vm.currentDocument && _vm.currentDocument.currency && !_vm.buzonView && !_vm.pending_states.includes(_vm.currentDocument.state))?_c('v-row',{staticClass:\"px-4\"},[_c('v-col',{staticClass:\"divisa py-1\",attrs:{\"cols\":\"6\",\"offset-sm\":\"6\"}},[(_vm.currentDocument && !('detected_amounts' in _vm.currentDocument.metadata) && _vm.currentDocument.currency != 'EUR' &&\n !['pending_connect','accounting_aplifisa_fiscal','accounting_invoice','pending_sync','done','done_manually','done_with_warning', 'pending_upload'].includes(_vm.currentDocument.state))?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"ml-1 mb-2 mr-2 btn-invoice-detail-divisa\",attrs:{\"loading\":_vm.loading_update_currency,\"disabled\":_vm.dirty},on:{\"click\":_vm.update_divisa}},'v-btn',attrs,false),on),[_vm._v(\"\\n a EUR\\n \")])]}}],null,false,3296171659)},[_c('span',[_vm._v(\"Actualizar valores a EUR\")])]):_vm._e(),(_vm.currentDocument && 'detected_amounts' in _vm.currentDocument.metadata)?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"ml-1 mb-2 mr-2 btn-invoice-detail-divisa\",attrs:{\"loading\":_vm.loading_restore_detected},on:{\"click\":_vm.restore_detected}},'v-btn',attrs,false),on),[_vm._v(\"\\n a \"+_vm._s(_vm.currentDocument.currency)+\"\\n \")])]}}],null,false,3413443032)},[_c('span',[_vm._v(\"Recuperar valores detectados\")])]):_vm._e(),(_vm.available_currencies.length <= 0)?_c('doc-text-field',{staticClass:\"disable-text\",attrs:{\"label\":\"Divisa\",\"readonly\":\"\",\"disabled\":['pending_connect','accounting_aplifisa_fiscal','accounting_invoice','pending_sync','done','done_manually','done_with_warning', 'pending_upload'].includes(_vm.currentDocument.state),\"stylev2\":\"\"},on:{\"change\":function($event){return _vm.setDirty()}},model:{value:(_vm.currentDocument.currency),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"currency\", $$v)},expression:\"currentDocument.currency\"}}):_c('v-select',{staticClass:\"select-invoice-stylev2\",attrs:{\"items\":_vm.available_currencies,\"disabled\":['pending_connect','accounting_aplifisa_fiscal','accounting_invoice','pending_sync','done','done_manually','done_with_warning', 'pending_upload'].includes(_vm.currentDocument.state),\"outlined\":\"\",\"dense\":\"\",\"append-icon\":\"mdi-chevron-down\"},on:{\"change\":function($event){return _vm.currencyHasChanged()}},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(\"Divisa\")])]},proxy:true}],null,false,432465140),model:{value:(_vm.currentDocument.currency),callback:function ($$v) {_vm.$set(_vm.currentDocument, \"currency\", $$v)},expression:\"currentDocument.currency\"}})],1)],1):_vm._e(),(_vm.currentDocument && _vm.currentDocument.metadata && 'detected_amounts' in _vm.currentDocument.metadata && _vm.currency_info)?_c('v-row',{staticClass:\"under__text__divisa pt-0\"},[_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"6\",\"offset-md\":\"6\"}},[_c('span',[_c('strong',[_vm._v(\"Tipo de cambio:\")]),_vm._v(\" \"+_vm._s(_vm.currency_info.name)+\" a EUR en fecha \"+_vm._s(_vm.currency_info.date)+\" con valor \"+_vm._s(_vm.currency_info.value)+\".\")])])],1):_vm._e(),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"600\"},model:{value:(_vm.show_popup_message_restore),callback:function ($$v) {_vm.show_popup_message_restore=$$v},expression:\"show_popup_message_restore\"}},[_c('v-card',[_c('v-card-title',[_c('span',{staticClass:\"text-h5 font-weight-bold py-1 ml-2\"},[_vm._v(\"Aviso\")])]),_c('v-divider'),_c('p',{staticClass:\"px-3 ml-6 pt-5\"},[_vm._v(\"¿Esta seguro que quiere restablecer las bases y cuotas?\")]),_c('span',{staticClass:\"primary--text px-3 ml-6\"},[_vm._v(\"Bases y cuotas detectadas:\")]),_c('v-card-text',[(_vm.currentCompany && _vm.currentDocument && ['in_invoice','out_invoice'].includes(_vm.currentDocument.kind))?_c('invoice-detected-info',{key:_vm.currentDocument.id}):_vm._e()],1),_c('v-card-actions',{staticClass:\"px-6\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"variant\":\"text\"},on:{\"click\":function($event){return _vm.confirmRestoreDetected(false)}}},[_vm._v(\"\\n Cancelar\\n \")]),_c('v-btn',{attrs:{\"variant\":\"text\",\"color\":\"primary\",\"disabled\":_vm.currentDocument && ['pending_connect','accounting_aplifisa_fiscal','accounting_invoice','pending_sync','done','done_manually','done_with_warning', 'pending_upload'].includes(_vm.currentDocument.state)},on:{\"click\":function($event){return _vm.confirmRestoreDetected(true)}}},[_vm._v(\"\\n Aceptar\\n \")])],1)],1)],1),_c('message-popup',{attrs:{\"title\":\"Aviso\",\"show_message\":_vm.show_popup_message,\"message\":\"

¿Esta seguro que quiere modificar las bases y cuotas a la divisa EUR ?

\",\"actions\":[{ 'action_text': 'Cancelar', 'emit': 'close-message' }, { 'action_text': 'Aceptar', 'emit': 'confirm-update-data', 'prin': true }]},on:{\"close-message\":function($event){return _vm.confirmCurrency(false)},\"confirm-update-data\":function($event){return _vm.confirmCurrency(true)}}})],1),(!_vm.show_section_taxes)?_c('div',{staticClass:\"pb-4\"}):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceInfoV2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceInfoV2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvoiceInfoV2.vue?vue&type=template&id=105c98d8&scoped=true&\"\nimport script from \"./InvoiceInfoV2.vue?vue&type=script&lang=js&\"\nexport * from \"./InvoiceInfoV2.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InvoiceInfoV2.vue?vue&type=style&index=0&id=105c98d8&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 \"105c98d8\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCheckbox,VCol,VDialog,VDivider,VIcon,VImg,VRadio,VRadioGroup,VRow,VSelect,VSpacer,VTab,VTabItem,VTabs,VTabsItems,VTooltip})\n","\n \n \n \n \n \n \n \n \n \n\n \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 mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RightDrawerClientModeV2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RightDrawerClientModeV2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RightDrawerClientModeV2.vue?vue&type=template&id=2c7ae8c9&scoped=true&\"\nimport script from \"./RightDrawerClientModeV2.vue?vue&type=script&lang=js&\"\nexport * from \"./RightDrawerClientModeV2.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RightDrawerClientModeV2.vue?vue&type=style&index=0&id=2c7ae8c9&scoped=true&lang=css&\"\nimport style1 from \"./RightDrawerClientModeV2.vue?vue&type=style&index=1&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 \"2c7ae8c9\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemGroup } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCheckbox,VCol,VDialog,VDivider,VIcon,VImg,VList,VListItem,VListItemContent,VListItemGroup,VListItemTitle,VMenu,VProgressCircular,VRow,VSelect,VSimpleTable,VSpacer,VTextField,VToolbar,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentDoc && !_vm.inRotationMode)?_c('v-footer',{staticClass:\"pa-0 footer\",staticStyle:{\"background-color\":\"white\"},attrs:{\"height\":_vm.footer_height,\"inset\":\"\",\"app\":\"\"}},[(_vm.showPaymentAccountDialog)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.showPaymentAccountDialog),callback:function ($$v) {_vm.showPaymentAccountDialog=$$v},expression:\"showPaymentAccountDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline title-color\"},[_vm._v(\"Asiento de Pago Manual\")]),_c('v-card-text',{staticClass:\"mt-4\"},[_c('doc-text-field',{attrs:{\"kind\":\"account\",\"rules\":_vm.accountRules,\"label\":\"Cuenta de Pago / Cobro (Manual)\"},model:{value:(_vm.manualAccount),callback:function ($$v) {_vm.manualAccount=$$v},expression:\"manualAccount\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.noCreatePaymentLine()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){return _vm.createPaymentLine()}}},[_vm._v(\"Crear\")])],1)],1)],1):_vm._e(),(_vm.show_message)?_c('MessagePopup',{attrs:{\"message\":_vm.message,\"show_message\":_vm.show_message},on:{\"close-message\":_vm.closeMessage}}):_vm._e(),_c('v-toolbar',{attrs:{\"clipped\":\"\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\",\"disabled\":!_vm.account_move},on:{\"click\":function($event){return _vm.click_footer()}}},[(!_vm.min_footer)?_c('v-icon',[_vm._v(\"mdi-arrow-down\")]):_c('v-icon',[_vm._v(\"mdi-arrow-up\")])],1),_c('v-tabs',{attrs:{\"grow\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[(_vm.currentDoc.forced_move)?_c('v-tab',{on:{\"click\":function($event){return _vm.set_active_tab('account_move')}}},[_vm._v(\"Asiento (Editado)\")]):_c('v-tab',{on:{\"click\":function($event){return _vm.set_active_tab('account_move')}}},[_vm._v(\"Asiento \")]),(_vm.feature_payment_move)?_c('v-tab',{attrs:{\"disabled\":(_vm.paid_account_move_lines && _vm.paid_account_move_lines.length == 0) && !_vm.currentDoc.forced_move},on:{\"click\":function($event){return _vm.set_active_tab('paid_move')}}},[_vm._v(\"Asiento de Pago\")]):_vm._e()],1),_c('v-spacer'),(['error_creating_moves', 'error_validating_moves', 'pending_review', 'error_account_connector'].includes(_vm.currentDoc.state))?[(_vm.currentDoc.forced_move)?_c('v-btn',{staticClass:\"mr-2\",attrs:{\"outlined\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.reverse_amounts_in_lines()}}},[_vm._m(0)],1):_vm._e(),(_vm.currentDoc.forced_move)?_c('v-btn',{staticClass:\"mr-2\",attrs:{\"outlined\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.change_sign_amounts_in_lines()}}},[_vm._v(\"\\n Cambiar Signo\\n \")]):_vm._e()]:_vm._e(),(_vm.account_move)?[(!['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',_vm._g({staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"disabled\":!_vm.currentDoc.forced_move}},{ click: (_vm.active_tab === 'paid_move') ? _vm.addPaidLine : _vm.addLine }),[_vm._m(1)],1):_vm._e(),(_vm.showPaymentAccountDialogButton)?_c('v-btn',{staticClass:\"mr-2\",attrs:{\"loading\":_vm.loading_doc_account_moves,\"color\":\"primary\",\"disabled\":_vm.currentDoc.state=='pending_connect' || _vm.dirty || _vm.isWaitingFlow},on:{\"click\":function($event){return _vm.openShowPaymentAccountDialog()}}},[_vm._v(\"\\n Asiento de Pago Manual\\n \")]):_vm._e(),(!_vm.currentDoc.forced_move && !['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',{attrs:{\"loading\":_vm.loading_doc_account_moves,\"color\":\"primary\",\"disabled\":_vm.currentDoc.state=='pending_connect' || _vm.dirty || _vm.isWaitingFlow},on:{\"click\":function($event){_vm.enableDisableAccountMoveInputs();_vm.show_lines()}}},[_vm._v(\"\\n Editar asiento\\n \")]):_vm._e(),(_vm.currentDoc.forced_move && !['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"primary\",\"loading\":_vm.loading_doc_account_moves,\"disabled\":_vm.currentDoc.state=='pending_connect'},on:{\"click\":function($event){return _vm.cancelEdit()}}},[_vm._v(\"\\n Cancelar edición\\n \")]):_vm._e()]:_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"primary\",\"disabled\":_vm.dirty || _vm.isWaitingFlow || _vm.currentDoc.state=='pending_connect' || !_vm.isValidDate(_vm.currentDoc.metadata['invoice_date']) || (_vm.currentDoc.companydb_gestion_cartera && !_vm.isValidDate(_vm.currentDoc.metadata['due_date']))},on:{\"click\":function($event){return _vm.clickForceMove()}}},[_vm._v(\"\\n Asiento Manual\\n \")])],2),(_vm.account_move)?_c('v-card',{staticClass:\"text-center ma-6\",staticStyle:{\"overflow-y\":\"scroll\"},attrs:{\"flat\":\"\",\"width\":\"100%\",\"height\":\"270\"}},[_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',[_c('v-row',{staticClass:\"sm2\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"4\",\"sm\":\"2\",\"md\":\"1\"}},[(_vm.account_move)?_c('v-toolbar-title',{staticClass:\"primary--text pa-1\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Número:\")]):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"8\",\"sm\":\"5\",\"md\":\"3\"}},[(_vm.account_move)?_c('v-text-field',{staticClass:\"ml-2 pl-1\",attrs:{\"regular\":\"\",\"color\":\"primary\",\"label\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"readonly\":\"\",\"cols\":\"2\"},model:{value:(_vm.account_move.mov_number),callback:function ($$v) {_vm.$set(_vm.account_move, \"mov_number\", $$v)},expression:\"account_move.mov_number\"}}):_vm._e()],1),(_vm.balance)?_c('div',{staticClass:\"error--text pt-2 pl-4\"},[_vm._v(_vm._s('Descuadre: '+_vm.balance))]):_vm._e()],1),_c('v-row',[_vm._v(\" \")]),_c('v-row',{staticClass:\"table-head-row\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"primary--text table-right-head\",attrs:{\"cols\":\"1\"}}),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Cuenta\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Descripción\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Debe\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Haber\")]),_c('v-col',{staticClass:\"primary--text table-left-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"T.Imp.\")])],1),_vm._l((_vm.account_move_lines),function(account_move_line,index){return _c('v-row',{key:index,staticClass:\"table-row\",attrs:{\"no-gutters\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"table-right-head\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\",\"disabled\":!_vm.currentDoc.forced_move || _vm.forcePayMoveEdit},on:{\"click\":function($event){return _vm.deleteLine(index)}}},[_vm._o(_c('v-icon',[_vm._v(\"\\n mdi-delete\\n \")]),0,index)],1)],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{class:{invalid:_vm.currentDoc && !account_move_line.account},attrs:{\"label\":\"\",\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"required\":true,\"disabled\":!_vm.currentDoc.forced_move || _vm.forcePayMoveEdit,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(account_move_line.account),callback:function ($$v) {_vm.$set(account_move_line, \"account\", $$v)},expression:\"account_move_line.account\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"4\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"required\":true,\"hide-details\":\"\",\"disabled\":!_vm.currentDoc.forced_move || _vm.forcePayMoveEdit},model:{value:(account_move_line.description),callback:function ($$v) {_vm.$set(account_move_line, \"description\", $$v)},expression:\"account_move_line.description\"}})],1),(account_move_line.line_type == 'apunte')?_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"kind\":\"number\",\"required\":true,\"disabled\":!_vm.currentDoc.forced_move || _vm.forcePayMoveEdit},model:{value:(account_move_line.debit),callback:function ($$v) {_vm.$set(account_move_line, \"debit\", $$v)},expression:\"account_move_line.debit\"}})],1):_vm._e(),(account_move_line.line_type == 'apunte')?_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"kind\":\"number\",\"required\":true,\"disabled\":!_vm.currentDoc.forced_move || _vm.forcePayMoveEdit},model:{value:(account_move_line.credit),callback:function ($$v) {_vm.$set(account_move_line, \"credit\", $$v)},expression:\"account_move_line.credit\"}})],1):_vm._e(),_c('v-col',{staticClass:\"table-left-head\",attrs:{\"cols\":\"1\"}},[(_vm.currentCompany)?_c('DocTextField',{attrs:{\"label\":\"\",\"hide-details\":\"\",\"required\":_vm.requiredTypeIvaLine(account_move_line),\"disabled\":!_vm.currentDoc.forced_move || _vm.forcePayMoveEdit},model:{value:(account_move_line.type_iva),callback:function ($$v) {_vm.$set(account_move_line, \"type_iva\", $$v)},expression:\"account_move_line.type_iva\"}}):_vm._e()],1)],1)}),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"primary--text\",attrs:{\"cols\":\"1\"}}),_c('v-col',{staticClass:\"primary--text\",attrs:{\"cols\":\"4\"}}),_c('v-col',{staticClass:\"primary--text total-left-cell pt-1 pr-2 text-center\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Total\")]),_c('v-col',{staticClass:\"primary--text total-center-cell pt-1 pr-2 text-right\",attrs:{\"cols\":\"2\"}},[_vm._v(_vm._s(_vm.totalDebit))]),_c('v-col',{staticClass:\"primary--text total-right-cell pt-1 pr-2 text-right\",attrs:{\"cols\":\"2\"}},[_vm._v(_vm._s(_vm.totalCredit))]),_c('v-col',{staticClass:\"table-aux \",attrs:{\"cols\":\"1\"}})],1)],2),(!_vm.paid_account_move_lines || _vm.paid_account_move_lines.length == 0)?_c('v-tab-item',[_c('v-row',[_vm._v(\" \")]),_c('v-alert',{attrs:{\"prominent\":\"\",\"text\":\"\",\"type\":\"success\"}},[_vm._v(\"No se han creado Asientos del tipo indicado\")])],1):_vm._e(),(_vm.paid_account_move_lines && _vm.paid_account_move_lines.length > 0)?_c('v-tab-item',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"1\"}},[(_vm.paid_account_move)?_c('v-toolbar-title',{staticClass:\"primary--text pa-1\"},[_vm._v(\"Número:\")]):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"3\"}},[(_vm.paid_account_move)?_c('v-text-field',{staticClass:\"ml-2\",attrs:{\"regular\":\"\",\"color\":\"primary\",\"label\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"readonly\":\"\"},model:{value:(_vm.paid_account_move.mov_number),callback:function ($$v) {_vm.$set(_vm.paid_account_move, \"mov_number\", $$v)},expression:\"paid_account_move.mov_number\"}}):_vm._e()],1),(_vm.balancePaid)?_c('div',{staticClass:\"error--text pt-2 pl-4\"},[_vm._v(_vm._s('Descuadre: '+ _vm.balancePaid))]):_vm._e()],1),_c('v-row',[_vm._v(\" \")]),_c('v-row',{staticClass:\"table-head-row\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"primary--text table-right-head\",attrs:{\"cols\":\"1\"}}),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Cuenta\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Descripción\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Debe\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Haber\")]),_c('v-col',{staticClass:\"primary--text table-left-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"T.Imp.\")])],1),_vm._l((_vm.paid_account_move_lines),function(paid_move,index){return _c('v-row',{key:index,staticClass:\"table-row\",attrs:{\"no-gutters\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"table-right-head\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\",\"disabled\":!_vm.currentDoc.forced_move},on:{\"click\":function($event){return _vm.deletePaidLine(index)}}},[_vm._o(_c('v-icon',[_vm._v(\"\\n mdi-delete\\n \")]),1,index)],1)],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{class:{invalid:_vm.currentDoc && !paid_move.account},attrs:{\"label\":\"\",\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"required\":true,\"disabled\":!_vm.currentDoc.forced_move,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(paid_move.account),callback:function ($$v) {_vm.$set(paid_move, \"account\", $$v)},expression:\"paid_move.account\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"4\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"required\":true,\"hide-details\":\"\",\"disabled\":!_vm.currentDoc.forced_move},model:{value:(paid_move.description),callback:function ($$v) {_vm.$set(paid_move, \"description\", $$v)},expression:\"paid_move.description\"}})],1),(paid_move.line_type == 'apunte')?_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"kind\":\"number\",\"required\":true,\"disabled\":!_vm.currentDoc.forced_move},model:{value:(paid_move.debit),callback:function ($$v) {_vm.$set(paid_move, \"debit\", $$v)},expression:\"paid_move.debit\"}})],1):_vm._e(),(paid_move.line_type == 'apunte')?_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"kind\":\"number\",\"required\":true,\"disabled\":!_vm.currentDoc.forced_move},model:{value:(paid_move.credit),callback:function ($$v) {_vm.$set(paid_move, \"credit\", $$v)},expression:\"paid_move.credit\"}})],1):_vm._e(),_c('v-col',{staticClass:\"table-left-head\",attrs:{\"cols\":\"1\"}},[(_vm.currentCompany)?_c('DocTextField',{attrs:{\"label\":\"\",\"hide-details\":\"\",\"required\":_vm.requiredTypeIvaLine(paid_move),\"disabled\":!_vm.currentDoc.forced_move},model:{value:(paid_move.type_iva),callback:function ($$v) {_vm.$set(paid_move, \"type_iva\", $$v)},expression:\"paid_move.type_iva\"}}):_vm._e()],1)],1)}),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"primary--text\",attrs:{\"cols\":\"1\"}}),_c('v-col',{staticClass:\"primary--text\",attrs:{\"cols\":\"4\"}}),_c('v-col',{staticClass:\"primary--text total-left-cell pt-1 pr-2 text-center\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Total\")]),_c('v-col',{staticClass:\"primary--text total-center-cell pt-1 pr-2 text-right\",attrs:{\"cols\":\"2\"}},[_vm._v(_vm._s(_vm.totalDebitPaid))]),_c('v-col',{staticClass:\"primary--text total-right-cell pr-2 text-right\",attrs:{\"cols\":\"2\"}},[_vm._v(_vm._s(_vm.totalCreditPaid))]),_c('v-col',{staticClass:\"table-aux \",attrs:{\"cols\":\"1\"}})],1)],2):_vm._e()],1)],1):_vm._e()],1):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-autorenew\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-plus\\n \")])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AccountMove.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AccountMove.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AccountMove.vue?vue&type=template&id=4afdc981&scoped=true&\"\nimport script from \"./AccountMove.vue?vue&type=script&lang=js&\"\nexport * from \"./AccountMove.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AccountMove.vue?vue&type=style&index=0&id=4afdc981&scoped=true&lang=css&\"\nimport style1 from \"./AccountMove.vue?vue&type=style&index=1&id=4afdc981&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 \"4afdc981\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VFooter } from 'vuetify/lib/components/VFooter';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VDialog,VFooter,VIcon,VRow,VSpacer,VTab,VTabItem,VTabs,VTabsItems,VTextField,VToolbar,VToolbarTitle})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"section-asiento\"},[(_vm.showPaymentAccountDialog)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.showPaymentAccountDialog),callback:function ($$v) {_vm.showPaymentAccountDialog=$$v},expression:\"showPaymentAccountDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline title-color\"},[_vm._v(\"Asiento de Pago Manual\")]),_c('v-card-text',{staticClass:\"mt-4\"},[_c('doc-text-field',{attrs:{\"kind\":\"account\",\"rules\":_vm.accountRules,\"label\":\"Cuenta de Pago / Cobro (Manual)\"},model:{value:(_vm.manualAccount),callback:function ($$v) {_vm.manualAccount=$$v},expression:\"manualAccount\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"primary-border\",attrs:{\"color\":\"primary\",\"outlined\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.noCreatePaymentLine()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"primary-bckground\",attrs:{\"color\":\"white\",\"text\":\"\"},on:{\"click\":function($event){return _vm.createPaymentLine()}}},[_vm._v(\"Crear\")])],1)],1)],1):_vm._e(),(_vm.show_message)?_c('MessagePopup',{attrs:{\"message\":_vm.message,\"show_message\":_vm.show_message},on:{\"close-message\":_vm.closeMessage}}):_vm._e(),_c('v-toolbar',{staticClass:\"toolbar-asiento\",attrs:{\"clipped\":\"\"}},[_c('img',{staticClass:\"divider-img ml-2\",attrs:{\"src\":\"/invoices/table_view.svg\"}}),_c('v-tabs',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[(_vm.currentDoc.forced_move)?_c('v-tab',{on:{\"click\":function($event){return _vm.set_active_tab('account_move')}}},[_vm._v(\"Asiento \"),_c('span',{staticClass:\"font-weight-regular\"},[_vm._v(\"  (Editado)\")])]):_c('v-tab',{on:{\"click\":function($event){return _vm.set_active_tab('account_move')}}},[_vm._v(\"Asiento \")]),(_vm.feature_payment_move)?_c('v-tab',{attrs:{\"disabled\":(_vm.paid_account_move_lines && _vm.paid_account_move_lines.length == 0) && !_vm.currentDoc.forced_move},on:{\"click\":function($event){return _vm.set_active_tab('paid_move')}}},[_vm._v(\"Asiento de Pago\")]):_vm._e()],1),_c('v-spacer'),(['error_creating_moves', 'error_validating_moves', 'pending_review', 'error_account_connector'].includes(_vm.currentDoc.state))?[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(_vm.currentDoc.forced_move)?_c('v-btn',_vm._g(_vm._b({staticClass:\"mr-2 btn-rounded-toolbar\",attrs:{\"rounded\":\"\"},on:{\"click\":function($event){return _vm.reverse_amounts_in_lines()}}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":\"/invoices/change_columns.png\",\"width\":\"11\",\"height\":\"11\"}})]):_vm._e()]}}],null,false,849799102)},[_c('span',[_vm._v(\"Cambiar Debe - Haber\")])]),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(_vm.currentDoc.forced_move)?_c('v-btn',_vm._g(_vm._b({staticClass:\"mr-2 btn-rounded-toolbar\",attrs:{\"rounded\":\"\"},on:{\"click\":function($event){return _vm.change_sign_amounts_in_lines()}}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":\"/invoices/change_sign.png\",\"width\":\"11\",\"height\":\"11\"}})]):_vm._e()]}}],null,false,2341380866)},[_c('span',[_vm._v(\"Cambiar Signo\")])])]:_vm._e(),(_vm.account_move)?[(_vm.showPaymentAccountDialogButton)?_c('v-btn',{staticClass:\"mr-2\",attrs:{\"loading\":_vm.loading_doc_account_moves,\"color\":\"primary\",\"disabled\":_vm.currentDoc.state=='pending_connect' || _vm.dirty || _vm.isWaitingFlow},on:{\"click\":function($event){return _vm.openShowPaymentAccountDialog()}}},[_vm._v(\"\\n Asiento de Pago Manual\\n \")]):_vm._e(),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(!_vm.currentDoc.forced_move && !['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',_vm._g(_vm._b({staticClass:\"mr-2 btn-rounded-toolbar\",attrs:{\"rounded\":\"\",\"loading\":_vm.loading_doc_account_moves,\"disabled\":_vm.currentDoc.state=='pending_connect' || _vm.dirty || _vm.isWaitingFlow},on:{\"click\":function($event){_vm.enableDisableAccountMoveInputs();_vm.show_lines();_vm.show_modal_asiento()}}},'v-btn',attrs,false),on),[_c('v-icon',{attrs:{\"vonce\":\"\"}},[_vm._v(\"mdi-pencil\")])],1):_vm._e()]}}],null,false,2505557972)},[_c('span',[_vm._v(\"Editar asiento\")])]),(_vm.got_feature('feature_show_popup_asientos'))?_c('div',{staticClass:\"mismaLinea\"},[(_vm.currentDoc.forced_move && !['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',{staticClass:\"mr-2 btn-rounded-toolbar\",attrs:{\"outlined\":\"\",\"color\":\"primary\",\"loading\":_vm.loading_doc_account_moves,\"disabled\":_vm.currentDoc.state=='pending_connect',\"rounded\":\"\"},on:{\"click\":function($event){return _vm.show_modal_asiento()}}},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1):_vm._e(),(_vm.currentDoc.forced_move && !['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',{staticClass:\"btn-white-toolbar btn-white-toolbar-icon\",attrs:{\"outlined\":\"\",\"color\":\"primary\",\"loading\":_vm.loading_doc_account_moves,\"disabled\":_vm.currentDoc.state=='pending_connect'},on:{\"click\":function($event){return _vm.cancelEdit()}}},[_vm._v(\"\\n Cancelar\\n \")]):_vm._e()],1):_c('div',[(_vm.currentDoc.forced_move && !['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',{staticClass:\"btn-white-toolbar btn-white-toolbar-icon\",attrs:{\"outlined\":\"\",\"color\":\"primary\",\"loading\":_vm.loading_doc_account_moves,\"disabled\":_vm.currentDoc.state=='pending_connect'},on:{\"click\":function($event){return _vm.cancelEdit()}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-pencil\")]),_vm._v(\"\\n Cancelar\\n \")],1):_vm._e()],1)]:_c('v-btn',{staticClass:\"mr-2 btn-rounded-toolbar\",attrs:{\"alt\":\"Asiento Manual\",\"rounded\":\"\",\"disabled\":_vm.dirty || _vm.isWaitingFlow || _vm.currentDoc.state=='pending_connect' || !_vm.isValidDate(_vm.currentDoc.metadata['invoice_date']) || (_vm.currentDoc.companydb_gestion_cartera && !_vm.isValidDate(_vm.currentDoc.metadata['due_date']))},on:{\"click\":function($event){return _vm.clickForceMove()}}},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1)],2),(_vm.account_move)?_c('v-card',{staticClass:\"text-center pa-4 rounded-0\",attrs:{\"flat\":\"\",\"width\":\"100%\",\"height\":\"270\"}},[_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',[_c('v-row',{staticClass:\"sm2\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[(_vm.account_move)?_c('doc-text-field',{staticClass:\"disable-text\",attrs:{\"regular\":\"\",\"color\":\"primary\",\"label\":\"Número\",\"dense\":\"\",\"hide-details\":\"\",\"readonly\":\"\",\"cols\":\"2\",\"stylev2\":\"\"},model:{value:(_vm.account_move.mov_number),callback:function ($$v) {_vm.$set(_vm.account_move, \"mov_number\", $$v)},expression:\"account_move.mov_number\"}}):_vm._e()],1),(_vm.balance)?_c('div',{staticClass:\"error--text pl-4 fs-12\"},[_vm._v(_vm._s('Descuadre: '+_vm.balance))]):_vm._e()],1),_c('v-row',{staticClass:\"table-head-row mt-3\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"table-head custom_col_2_4\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Cuenta\")]),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Descripción\")]),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Debe\")]),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Haber\")]),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"T.Imp.\")]),_c('v-col',{staticClass:\"table-right-head custom_col_0_6\",attrs:{\"cols\":\"1\"}})],1),_vm._l((_vm.account_move_lines),function(account_move_line,index){return _c('v-row',{key:index,staticClass:\"table-row\",attrs:{\"no-gutters\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"table-head custom_col_2_4\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{class:{\n invalid:_vm.currentDoc && !account_move_line.account,\n 'disable-text': _vm.disable_for_edit_Mode || _vm.forcePayMoveEdit,\n 'activate-text': !_vm.disable_for_edit_Mode && !_vm.forcePayMoveEdit\n },attrs:{\"label\":\"\",\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"required\":true,\"disabled\":_vm.disable_for_edit_Mode || _vm.forcePayMoveEdit,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(account_move_line.account),callback:function ($$v) {_vm.$set(account_move_line, \"account\", $$v)},expression:\"account_move_line.account\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"4\"}},[_c('DocTextField',{class:{\n 'disable-text': _vm.disable_for_edit_Mode || _vm.forcePayMoveEdit,\n 'activate-text': !_vm.disable_for_edit_Mode && !_vm.forcePayMoveEdit\n },attrs:{\"label\":\"\",\"required\":true,\"hide-details\":\"\",\"disabled\":_vm.disable_for_edit_Mode || _vm.forcePayMoveEdit},model:{value:(account_move_line.description),callback:function ($$v) {_vm.$set(account_move_line, \"description\", $$v)},expression:\"account_move_line.description\"}})],1),(account_move_line.line_type == 'apunte')?_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{class:{\n 'disable-text': _vm.disable_for_edit_Mode || _vm.forcePayMoveEdit,\n 'activate-text': !_vm.disable_for_edit_Mode && !_vm.forcePayMoveEdit\n },attrs:{\"label\":\"\",\"kind\":\"number\",\"required\":true,\"disabled\":_vm.disable_for_edit_Mode || _vm.forcePayMoveEdit},model:{value:(account_move_line.debit),callback:function ($$v) {_vm.$set(account_move_line, \"debit\", $$v)},expression:\"account_move_line.debit\"}})],1):_vm._e(),(account_move_line.line_type == 'apunte')?_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{class:{\n 'disable-text': _vm.disable_for_edit_Mode || _vm.forcePayMoveEdit,\n 'activate-text': !_vm.disable_for_edit_Mode && !_vm.forcePayMoveEdit\n },attrs:{\"label\":\"\",\"kind\":\"number\",\"required\":true,\"disabled\":_vm.disable_for_edit_Mode || _vm.forcePayMoveEdit},model:{value:(account_move_line.credit),callback:function ($$v) {_vm.$set(account_move_line, \"credit\", $$v)},expression:\"account_move_line.credit\"}})],1):_vm._e(),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[(_vm.currentCompany)?_c('DocTextField',{class:{\n 'disable-text': _vm.disable_for_edit_Mode || _vm.forcePayMoveEdit,\n 'activate-text': !_vm.disable_for_edit_Mode && !_vm.forcePayMoveEdit\n },attrs:{\"label\":\"\",\"hide-details\":\"\",\"required\":_vm.requiredTypeIvaLine(account_move_line),\"disabled\":_vm.disable_for_edit_Mode || _vm.forcePayMoveEdit},model:{value:(account_move_line.type_iva),callback:function ($$v) {_vm.$set(account_move_line, \"type_iva\", $$v)},expression:\"account_move_line.type_iva\"}}):_vm._e()],1),_c('v-col',{staticClass:\"table-right-head custom_col_0_6\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{class:{\n 'disable-text': _vm.disable_for_edit_Mode || _vm.forcePayMoveEdit\n },attrs:{\"icon\":\"\",\"disabled\":_vm.disable_for_edit_Mode || _vm.forcePayMoveEdit},on:{\"click\":function($event){return _vm.deleteLine(index)}}},[_c('img',{attrs:{\"src\":\"/invoices/delete_row.png\"}})])],1)],1)}),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"text-left custom_col_4_4 py-1\",attrs:{\"cols\":\"4\"}},[(_vm.account_move)?[(!['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',{class:{\n 'btn-add-line-asiento': true,\n 'disable-text': _vm.disable_for_edit_Mode || _vm.forcePayMoveEdit,\n 'activate-text': !_vm.disable_for_edit_Mode && !_vm.forcePayMoveEdit\n },attrs:{\"outlined\":\"\",\"dense\":\"\",\"disabled\":_vm.disable_for_edit_Mode || _vm.forcePayMoveEdit},on:{\"click\":_vm.addLine}},[_c('div',{class:{\n 'disable-text': _vm.disable_for_edit_Mode || _vm.forcePayMoveEdit,\n 'activate-text': !_vm.disable_for_edit_Mode && !_vm.forcePayMoveEdit\n }},[_c('v-icon',{style:(_vm.disable_for_edit_Mode || _vm.forcePayMoveEdit ? 'color: #6D6D6D !important;' : 'font-weight: 400 !important;'),attrs:{\"left\":\"\"}},[_vm._v(\"\\n mdi-plus\\n \")]),_vm._v(\"\\n Añadir línea\\n \")],1)]):_vm._e()]:_vm._e()],2),_c('v-col',{staticClass:\"total-cell-label pt-2 fs-12 pt-1 pr-2 text-center\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Total\")]),_c('v-col',{staticClass:\"py-1 pl-1\",attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"total-cell pr-2 text-right\"},[_vm._v(_vm._s(_vm.totalDebit))])]),_c('v-col',{staticClass:\"py-1 pl-1\",attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"total-cell pr-2 text-right\"},[_vm._v(_vm._s(_vm.totalCredit))])]),_c('v-col',{staticClass:\"table-aux \",attrs:{\"cols\":\"1\"}}),_c('v-col',{staticClass:\"custom_col_0_6\",attrs:{\"cols\":\"1\"}})],1)],2),(!_vm.paid_account_move_lines || _vm.paid_account_move_lines.length == 0)?_c('v-tab-item',[_c('v-row',[(_vm.account_move)?_c('v-col',{staticClass:\"pt-0 pb-1 text-left\",attrs:{\"cols\":\"4\"}},[(!['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',{class:{\n 'btn-add-line-asiento': true,\n 'disable-text': _vm.disable_for_edit_Mode,\n 'activate-text': !_vm.disable_for_edit_Mode\n },attrs:{\"disabled\":_vm.disable_for_edit_Mode,\"outlined\":\"\",\"dense\":\"\"},on:{\"click\":_vm.addPaidLine}},[_c('div',{class:{\n 'disable-text': _vm.disable_for_edit_Mode,\n 'activate-text': !_vm.disable_for_edit_Mode\n }},[_c('v-icon',{style:(_vm.disable_for_edit_Mode ? 'color: #6D6D6D !important;' : 'font-weight: 400 !important;'),attrs:{\"left\":\"\"}},[_vm._v(\"\\n mdi-plus\\n \")]),_vm._v(\"\\n Añadir línea\\n \")],1)]):_vm._e()],1):_vm._e()],1),_c('v-alert',{staticClass:\"fs-12\",attrs:{\"prominent\":\"\",\"text\":\"\",\"type\":\"success\"}},[_vm._v(\"No se han creado Asientos del tipo indicado\")])],1):_vm._e(),(_vm.paid_account_move_lines && _vm.paid_account_move_lines.length > 0)?_c('v-tab-item',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[(_vm.paid_account_move)?_c('doc-text-field',{attrs:{\"regular\":\"\",\"color\":\"primary\",\"label\":\"Número\",\"dense\":\"\",\"hide-details\":\"\",\"readonly\":\"\",\"stylev2\":\"\"},model:{value:(_vm.paid_account_move.mov_number),callback:function ($$v) {_vm.$set(_vm.paid_account_move, \"mov_number\", $$v)},expression:\"paid_account_move.mov_number\"}}):_vm._e()],1),(_vm.balancePaid)?_c('div',{staticClass:\"error--text pl-4 fs-12\"},[_vm._v(_vm._s('Descuadre: '+ _vm.balancePaid))]):_vm._e()],1),_c('v-row',{staticClass:\"table-head-row mt-3\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"text table-head custom_col_2_4\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Cuenta\")]),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Descripción\")]),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Deber\")]),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Haber\")]),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"T.Imp.\")]),_c('v-col',{staticClass:\"table-right-head custom_col_0_6\",attrs:{\"cols\":\"1\"}})],1),_vm._l((_vm.paid_account_move_lines),function(paid_move,index){return _c('v-row',{key:index,staticClass:\"table-row\",attrs:{\"no-gutters\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"table-head custom_col_2_4\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{staticClass:\"activate-text\",class:{\n invalid:_vm.currentDoc && !paid_move.account,\n 'disable-text': _vm.disable_for_edit_Mode,\n 'activate-text': !_vm.disable_for_edit_Mode\n },attrs:{\"label\":\"\",\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"required\":true,\"disabled\":_vm.disable_for_edit_Mode,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(paid_move.account),callback:function ($$v) {_vm.$set(paid_move, \"account\", $$v)},expression:\"paid_move.account\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"4\"}},[_c('DocTextField',{staticClass:\"activate-text\",class:{\n 'disable-text': _vm.disable_for_edit_Mode,\n 'activate-text': !_vm.disable_for_edit_Mode\n },attrs:{\"label\":\"\",\"required\":true,\"hide-details\":\"\",\"disabled\":_vm.disable_for_edit_Mode},model:{value:(paid_move.description),callback:function ($$v) {_vm.$set(paid_move, \"description\", $$v)},expression:\"paid_move.description\"}})],1),(paid_move.line_type == 'apunte')?_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{staticClass:\"activate-text\",class:{\n 'disable-text': _vm.disable_for_edit_Mode,\n 'activate-text': !_vm.disable_for_edit_Mode\n },attrs:{\"label\":\"\",\"kind\":\"number\",\"required\":true,\"disabled\":_vm.disable_for_edit_Mode},model:{value:(paid_move.debit),callback:function ($$v) {_vm.$set(paid_move, \"debit\", $$v)},expression:\"paid_move.debit\"}})],1):_vm._e(),(paid_move.line_type == 'apunte')?_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"2\"}},[_c('DocTextField',{staticClass:\"activate-text\",class:{\n 'disable-text': _vm.disable_for_edit_Mode,\n 'activate-text': !_vm.disable_for_edit_Mode\n },attrs:{\"label\":\"\",\"kind\":\"number\",\"required\":true,\"disabled\":_vm.disable_for_edit_Mode},model:{value:(paid_move.credit),callback:function ($$v) {_vm.$set(paid_move, \"credit\", $$v)},expression:\"paid_move.credit\"}})],1):_vm._e(),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[(_vm.currentCompany)?_c('DocTextField',{staticClass:\"activate-text\",class:{\n 'disable-text': _vm.disable_for_edit_Mode,\n 'activate-text': !_vm.disable_for_edit_Mode\n },attrs:{\"label\":\"\",\"hide-details\":\"\",\"required\":_vm.requiredTypeIvaLine(paid_move),\"disabled\":_vm.disable_for_edit_Mode},model:{value:(paid_move.type_iva),callback:function ($$v) {_vm.$set(paid_move, \"type_iva\", $$v)},expression:\"paid_move.type_iva\"}}):_vm._e()],1),_c('v-col',{staticClass:\"table-right-head custom_col_0_6\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{class:{\n 'disable-text': _vm.disable_for_edit_Mode,\n 'activate-text': !_vm.disable_for_edit_Mode\n },attrs:{\"icon\":\"\",\"color\":\"primary\",\"disabled\":_vm.disable_for_edit_Mode},on:{\"click\":function($event){return _vm.deletePaidLine(index)}}},[_c('img',{attrs:{\"src\":\"/invoices/delete_row.png\"}})])],1)],1)}),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"text-left custom_col_4_4 py-1\",attrs:{\"cols\":\"4\"}},[(_vm.account_move)?[(!['done','done_manually','done_with_warning','pending_connect'].includes(_vm.currentDoc.state))?_c('v-btn',{staticClass:\"btn-add-line-asiento\",attrs:{\"disabled\":_vm.disable_for_edit_Mode,\"outlined\":\"\",\"dense\":\"\"},on:{\"click\":_vm.addPaidLine}},[_c('div',{class:{\n 'disable-text': _vm.disable_for_edit_Mode,\n 'activate-text': !_vm.disable_for_edit_Mode\n }},[_c('v-icon',{style:(_vm.disable_for_edit_Mode ? 'color: #6D6D6D !important;' : 'font-weight: 400 !important;'),attrs:{\"left\":\"\"}},[_vm._v(\"\\n mdi-plus\\n \")]),_vm._v(\"\\n Añadir línea\\n \")],1)]):_vm._e()]:_vm._e()],2),_c('v-col',{staticClass:\"total-cell-label pt-2 fs-12 pt-1 pr-2 text-center\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Total\")]),_c('v-col',{staticClass:\"py-1 pl-1\",attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"total-cell pr-2 text-right\"},[_vm._v(_vm._s(_vm.totalDebitPaid))])]),_c('v-col',{staticClass:\"py-1 pl-1\",attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"total-cell pr-2 text-right\"},[_vm._v(_vm._s(_vm.totalCreditPaid))])]),_c('v-col',{staticClass:\"table-aux \",attrs:{\"cols\":\"1\"}}),_c('v-col',{attrs:{\"cols\":\"1\"}})],1)],2):_vm._e()],1)],1):_vm._e(),_c('div',{staticClass:\"pa-4 white\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AccountMoveV2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AccountMoveV2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AccountMoveV2.vue?vue&type=template&id=9046e48c&scoped=true&\"\nimport script from \"./AccountMoveV2.vue?vue&type=script&lang=js&\"\nexport * from \"./AccountMoveV2.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AccountMoveV2.vue?vue&type=style&index=0&id=9046e48c&scoped=true&lang=css&\"\nimport style1 from \"./AccountMoveV2.vue?vue&type=style&index=1&id=9046e48c&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 \"9046e48c\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VDialog,VIcon,VRow,VSpacer,VTab,VTabItem,VTabs,VTabsItems,VToolbar,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentDoc && _vm.got_feature('feature_invoice_lines'))?_c('v-footer',{staticClass:\"pa-0 footer\",staticStyle:{\"background-color\":\"white\",\"bottom\":\"50px\"},attrs:{\"height\":_vm.invoice_lines_height,\"inset\":\"\",\"app\":\"\"}},[(_vm.show_message)?_c('MessagePopup',{attrs:{\"message\":_vm.message,\"show_message\":_vm.show_message},on:{\"close-message\":_vm.closeMessage}}):_vm._e(),(_vm.currentDoc && _vm.screen_data)?_c('v-dialog',{attrs:{\"max-width\":\"660\"},model:{value:(_vm.screen_data.excel_pop_up),callback:function ($$v) {_vm.$set(_vm.screen_data, \"excel_pop_up\", $$v)},expression:\"screen_data.excel_pop_up\"}},[_c('v-card',{staticClass:\"rounded-lg\"},[_c('v-card-title',[_c('span',{staticClass:\"text-h6 primary--text\"},[_vm._v(\"Subir excel líneas\")])]),_c('v-divider'),_c('v-card-text',[_c('v-container',{staticClass:\"px-7\"},[_c('v-row',[_c('v-col',{staticClass:\"pb-0\",attrs:{\"align\":\"center\"}},[_c('v-img',{attrs:{\"src\":\"/icon_table.svg\",\"width\":\"39\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"align\":\"center\"}},[_c('span',{staticClass:\"text-h6 primary--text\"},[_vm._v(\"Orden Cabecera\")])])],1),_c('v-row',[_c('v-col',{attrs:{\"align\":\"center\"}},[_c('p',{staticClass:\"mb-0\"},[_vm._v(\"Necesitamos la siguiente estructura\")]),_c('p',{staticClass:\"font-weight-bold\"},[_vm._v(\"Cantidad / Precio unitario / Total bruto\")])])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-file-input',{staticClass:\"rounded-lg\",attrs:{\"label\":\"Archivo\",\"prepend-icon\":\"mdi-paperclip\",\"color\":\"primary\",\"accept\":\" .xls, .xlsx, .xlsm, .ods\",\"clearable\":false,\"loading\":false,\"rules\":[function (v) { return !!v || 'Archivo requerido'; }],\"error\":_vm.error_upload_file,\"outlined\":\"\"},model:{value:(_vm.screen_data.file),callback:function ($$v) {_vm.$set(_vm.screen_data, \"file\", $$v)},expression:\"screen_data.file\"}})],1)],1)],1)],1),_c('v-card-actions',{staticClass:\"acction_btns\"},[_c('v-spacer'),_c('app-btn',{attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.screen_data.cancel_pop_up()}}},[_vm._v(\"Cancelar\")]),_c('app-btn',{attrs:{\"color\":\"primary\",\"variant\":\"text\",\"disabled\":!_vm.screen_data.file},on:{\"click\":function($event){return _vm.screen_data.confirm_pop_up()}}},[_vm._v(\"\\n Subir\\n \")])],1)],1)],1):_vm._e(),_c('v-toolbar',{attrs:{\"clipped\":\"\"}},[_c('v-tabs',{attrs:{\"grow\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab',{on:{\"click\":function($event){return _vm.set_active_tab('invoice_lines')}}},[_vm._v(\" Lineas\")]),_c('v-tab',{on:{\"click\":function($event){return _vm.set_active_tab('descuentos')}}},[_vm._v(\"Descuentos \")]),_c('v-tab',{on:{\"click\":function($event){return _vm.set_active_tab('otros_gastos')}}},[_vm._v(\"Otros gastos\")])],1),_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.click_show_invoice_lines()}}},[(_vm.show_invoice_lines)?_c('v-icon',[_vm._v(\"mdi-arrow-down\")]):_c('v-icon',[_vm._v(\"mdi-arrow-up\")])],1),_c('v-spacer'),[_c('v-btn',{staticClass:\"mr-2\",attrs:{\"outlined\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.invoice_lines_component.import_excel_lines()}}},[_vm._m(0)],1)],[_c('v-btn',{staticClass:\"mr-2\",attrs:{\"outlined\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.reverse_amounts_in_lines()}}},[_vm._m(1)],1)],[_c('v-btn',_vm._g({staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"outlined\":\"\"}},{ click: _vm.addInvoiceLine }),[_vm._m(2)],1)],[_c('v-btn',_vm._g({staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"outlined\":\"\"}},{ click: _vm.saveInvoiceLines }),[_vm._m(3)],1)],_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.clickForceMove()}}},[_vm._v(\"\\n Lineas factura\\n \")])],2),_c('v-card',{staticClass:\"text-center ma-6\",staticStyle:{\"overflow-y\":\"scroll\"},attrs:{\"flat\":\"\",\"width\":\"100%\",\"height\":\"270\"}},[_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',[_c('v-row',{staticClass:\"table-head-row\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"primary--text table-right-head\",attrs:{\"cols\":\"2\"}}),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Descripcion\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Precio Unitario\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Cantidad\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Importe sin impuestos\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"IVA\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Cuota\")]),_c('v-col',{staticClass:\"primary--text table-left-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Importe total\")])],1),_vm._l((_vm.screen_data.lines),function(invoice_line,index){return _c('v-row',{key:index,staticClass:\"table-row\",attrs:{\"no-gutters\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"ftable-right-head\",attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.deleteInvoiceLine(invoice_line)}}},[_vm._o(_c('v-icon',[_vm._v(\"\\n mdi-delete\\n \")]),0,index)],1),_vm._v(\"\\n \"+_vm._s(invoice_line.id)+\"\\n \")],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"4\"}},[_c('DocTextField',{class:{invalid:_vm.currentDoc},attrs:{\"label\":\"\",\"required\":true,\"kind\":'invoice_line_kind',\"items\":[invoice_line]},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(invoice_line.description),callback:function ($$v) {_vm.$set(invoice_line, \"description\", $$v)},expression:\"invoice_line.description\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"required\":true,\"hide-details\":\"\",\"kind\":'invoice_line_kind'},on:{\"change_invoice_line\":function($event){return _vm.quantityChange(invoice_line)}},model:{value:(invoice_line.unit_price_without_tax),callback:function ($$v) {_vm.$set(invoice_line, \"unit_price_without_tax\", $$v)},expression:\"invoice_line.unit_price_without_tax\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"required\":true,\"kind\":'invoice_line_kind',\"items\":[invoice_line]},on:{\"change_invoice_line\":function($event){return _vm.quantityChange(invoice_line)}},model:{value:(invoice_line.quantity),callback:function ($$v) {_vm.$set(invoice_line, \"quantity\", $$v)},expression:\"invoice_line.quantity\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"required\":true,\"readonly\":\"\"},model:{value:(invoice_line.gross_amount),callback:function ($$v) {_vm.$set(invoice_line, \"gross_amount\", $$v)},expression:\"invoice_line.gross_amount\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"value\":(invoice_line.taxes[0].rate*100).toString() + '%',\"kind\":'invoice_line_kind',\"readonly\":\"\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"required\":true,\"value\":invoice_line.taxes[0].amount,\"readonly\":\"\"}})],1),_c('v-col',{staticClass:\"table-left-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"kind\":'invoice_line_kind',\"value\":_vm.get_total_amount(invoice_line),\"readonly\":\"\"}})],1)],1)})],2),_c('v-tab-item',[_c('v-row',{staticClass:\"table-head-row\",attrs:{\"no-gutters\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"primary--text table-right-head\",attrs:{\"cols\":\"1\"}}),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"6\"}},[_vm._v(\"Descripcion\")]),_c('v-col',{staticClass:\"primary--text table-left-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Importe\")]),_c('v-col',{staticClass:\"primary--text table-left-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Porcentaje\")])],1),_vm._l((_vm.discount_lines),function(discount_line,index){return _c('v-row',{key:index,staticClass:\"table-row\",attrs:{\"no-gutters\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"ftable-right-head\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.deleteDiscount(discount_line)}}},[_vm._o(_c('v-icon',[_vm._v(\"\\n mdi-delete\\n \")]),1,index)],1),_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.saveDiscount(discount_line)}}},[_vm._o(_c('v-icon',[_vm._v(\"\\n mdi-content-save\\n \")]),2,index)],1)],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"6\"}},[_c('DocTextField',{class:{invalid:_vm.currentDoc},attrs:{\"label\":\"\",\"required\":true,\"kind\":'invoice_line_kind'},on:{\"change_invoice_line\":function($event){return _vm.changeDiscount(discount_line)},\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(discount_line.DiscountReason),callback:function ($$v) {_vm.$set(discount_line, \"DiscountReason\", $$v)},expression:\"discount_line.DiscountReason\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"kind\":'invoice_line_kind'},on:{\"change_invoice_line\":function($event){return _vm.changeDiscount(discount_line)}},model:{value:(discount_line.DiscountAmount),callback:function ($$v) {_vm.$set(discount_line, \"DiscountAmount\", $$v)},expression:\"discount_line.DiscountAmount\"}})],1),_c('v-col',{staticClass:\"table-left-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"kind\":'invoice_line_kind'},on:{\"change_invoice_line\":function($event){return _vm.changeDiscount(discount_line)}},model:{value:(discount_line.DiscountRate),callback:function ($$v) {_vm.$set(discount_line, \"DiscountRate\", $$v)},expression:\"discount_line.DiscountRate\"}})],1)],1)})],2),_c('v-tab-item',[_c('v-row',{staticClass:\"table-head-row\",attrs:{\"no-gutters\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"primary--text table-right-head\",attrs:{\"cols\":\"1\"}}),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"6\"}},[_vm._v(\"Descripcion\")]),_c('v-col',{staticClass:\"primary--text table-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Importe\")]),_c('v-col',{staticClass:\"primary--text table-left-head\",attrs:{\"cols\":\"1\"}},[_vm._v(\"Porcentaje\")])],1),_vm._l((_vm.otros_gastos_lines),function(otro_gasto_line,index){return _c('v-row',{key:index,staticClass:\"table-row\",attrs:{\"no-gutters\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"ftable-right-head\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.deleteInvoiceLine(otro_gasto_line)}}},[_vm._o(_c('v-icon',[_vm._v(\"\\n mdi-delete\\n \")]),3,index)],1),_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.saveInvoiceLine(otro_gasto_line)}}},[_vm._o(_c('v-icon',[_vm._v(\"\\n mdi-content-save\\n \")]),4,index)],1)],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"6\"}},[_c('DocTextField',{class:{invalid:_vm.currentDoc},attrs:{\"label\":\"\",\"required\":true,\"kind\":'invoice_line_kind',\"items\":[otro_gasto_line]},on:{\"change_invoice_line\":function($event){return _vm.changeGasto(otro_gasto_line)},\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(otro_gasto_line.ChargeReason),callback:function ($$v) {_vm.$set(otro_gasto_line, \"ChargeReason\", $$v)},expression:\"otro_gasto_line.ChargeReason\"}})],1),_c('v-col',{staticClass:\"table-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"kind\":'invoice_line_kind'},on:{\"change_invoice_line\":function($event){return _vm.changeGasto(otro_gasto_line)}},model:{value:(otro_gasto_line.ChargeAmount),callback:function ($$v) {_vm.$set(otro_gasto_line, \"ChargeAmount\", $$v)},expression:\"otro_gasto_line.ChargeAmount\"}})],1),_c('v-col',{staticClass:\"table-left-head\",attrs:{\"cols\":\"1\"}},[_c('DocTextField',{attrs:{\"label\":\"\",\"kind\":'invoice_line_kind'},on:{\"change_invoice_line\":function($event){return _vm.changeGasto(otro_gasto_line)}},model:{value:(otro_gasto_line.ChargeRate),callback:function ($$v) {_vm.$set(otro_gasto_line, \"ChargeRate\", $$v)},expression:\"otro_gasto_line.ChargeRate\"}})],1)],1)})],2)],1)],1)],1):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-upload\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-autorenew\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-plus\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"\\n mdi-content-save\\n \")])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceLines.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceLines.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvoiceLines.vue?vue&type=template&id=6c4a8b52&scoped=true&\"\nimport script from \"./InvoiceLines.vue?vue&type=script&lang=js&\"\nexport * from \"./InvoiceLines.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InvoiceLines.vue?vue&type=style&index=0&id=6c4a8b52&scoped=true&lang=css&\"\nimport style1 from \"./InvoiceLines.vue?vue&type=style&index=1&id=6c4a8b52&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 \"6c4a8b52\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VFooter } from 'vuetify/lib/components/VFooter';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VContainer,VDialog,VDivider,VFileInput,VFooter,VIcon,VImg,VRow,VSpacer,VTab,VTabItem,VTabs,VTabsItems,VToolbar})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-tour',{staticStyle:{\"background-color\":\"#663399\",\"color\":\"#FFFFFF\"},attrs:{\"name\":\"tutorial\",\"steps\":_vm.steps,\"options\":_vm.options,\"callbacks\":_vm.callbacks},scopedSlots:_vm._u([{key:\"default\",fn:function(tour){return [_c('transition',{attrs:{\"name\":\"fade\"}},[(tour.steps[tour.currentStep])?_c('v-step',{key:tour.currentStep,staticStyle:{\"background-color\":\"#663399\",\"color\":\"#FFFFFF\"},attrs:{\"step\":tour.steps[tour.currentStep],\"previous-step\":tour.previousStep,\"next-step\":tour.nextStep,\"stop\":tour.stop,\"skip\":tour.skip,\"is-first\":tour.isFirst,\"is-last\":tour.isLast,\"labels\":tour.labels}},[[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[(tour.steps[tour.currentStep].header)?_c('div',[(tour.steps[tour.currentStep].header.title)?_c('h2',{staticClass:\"mb-2\",domProps:{\"innerHTML\":_vm._s(tour.steps[tour.currentStep].header.title)}}):_vm._e()]):_vm._e()]),_c('div',{attrs:{\"slot\":\"actions\"},slot:\"actions\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[(tour.enabledButtons.buttonPrevious)?_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"block\":\"\",\"color\":\"secondary\"},on:{\"click\":tour.previousStep}},[_vm._v(\"Atrás\")]):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[(tour.enabledButtons.buttonNext)?_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"block\":\"\",\"color\":\"secondary\"},on:{\"click\":tour.nextStep}},[_vm._v(\"Siguiente\")]):(tour.enabledButtons.buttonStop)?_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"block\":\"\",\"color\":\"secondary\"},on:{\"click\":tour.nextStep}},[_vm._v(\"Finalizar\")]):_vm._e()],1)],1)],1)]],2):_vm._e()],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tutorial.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tutorial.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Tutorial.vue?vue&type=template&id=45bb871a&\"\nimport script from \"./Tutorial.vue?vue&type=script&lang=js&\"\nexport * from \"./Tutorial.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Tutorial.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"title font-weight-light white--text text-center pl-1 pr-1\"},[_vm._v(\"\\n |\\n \")]),_c('span',[_c('a',{staticClass:\"title font-weight-light white--text text-center\",on:{\"click\":function($event){return _vm.emitChange(true)}}},[_vm._v(_vm._s(_vm.title))])]),_c('v-dialog',{attrs:{\"value\":_vm.myValue,\"fullscreen\":\"\",\"hide-overlay\":\"\",\"transition\":\"dialog-bottom-transition\"},on:{\"input\":_vm.emitChange}},[_c('v-card',[_c('v-toolbar',{attrs:{\"dark\":\"\",\"color\":\"primary\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.emitChange(false)}}},[_vm._m(0)],1),_c('v-toolbar-title',[_vm._v(_vm._s(_vm.title))])],1),_c('div',{staticClass:\"pa-10\"},[_vm._t(\"default\")],2)],1)],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-close\")])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LegalDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LegalDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LegalDialog.vue?vue&type=template&id=0aaf9781&scoped=true&\"\nimport script from \"./LegalDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./LegalDialog.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 \"0aaf9781\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCard,VDialog,VIcon,VToolbar,VToolbarTitle})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('LegalWarningSection',{attrs:{\"title\":\"Preliminar\"}},[_c('p',[_vm._v(\"\\n La finalidad de CONEPTUM SL, con NIF B-65946956, es ofrecer una plataforma tecnológica denominada INMATIC, que permite a empresas y profesionales procesar de forma automática la contabilización de facturas y documentos análogos.\\n \")]),_c('p',[_vm._v(\"\\n Para poder adquirir nuestro producto, tan sólo debes ser usuario de CONEPTUM y nosotros te informaremos de todas las ofertas y promociones que podamos ofrecerte.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Generalidades\"}},[_c('p',[_vm._v(\"\\n Para poder comprar es necesario registro previo como Usuario de la Web y por este motivo ha de aceptar, sin reservas, las presentes Condiciones Generales de contratación y venta de software. El hecho de ignorar o desconocer las Condiciones Generales, no exime a ningún Cliente de su cumplimiento. \\n \")]),_c('p',[_vm._v(\"\\n El registro en CONEPTUM es totalmente GRATUITO y se ofrece en calidad de Prestación de Servicios sin contraprestación económica. El Registro supone, por parte del Cliente, la aceptación plena y sin reservas de las condiciones expuestas.\\n \")]),_c('p',[_vm._v(\"\\n Por la presente el Cliente autoriza al tratamiento de sus datos en el marco de la gestión diaria, sus relaciones jurídicas y comerciales. Igualmente se informa al Cliente que le asisten los derechos acceso, rectificación, limitación, portabilidad, oposición y supresión de los datos en virtud de la legislación vigente en materia de protección de datos personales. Para ejercitar estos derechos podrá dirigirse a CONEPTUM, S.L.”, con domicilio en C/Sant Agustí, 3-5, Planta 2, Puerta B, 08012 de Barcelona, con número de NIF: B65946956, Correo electrónico de contacto info@coneptum.com.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Seguridad\"}},[_c('p',[_vm._v(\"\\n CONEPTUM de conformidad con lo dispuesto en la “Ley de los Servicios de la Sociedad de la Información y Comercio Electrónico” (LSSIce), tiene el deber de retener todos los datos de tráfico relativos a comunicaciones electrónicas, por un periodo máximo de doce meses, imprescindibles para identificar el origen en el momento en que se inició la prestación del servicio. En ningún caso, la obligación de retención de datos afectará al secreto de las comunicaciones.\\n \")]),_c('p',[_vm._v(\"\\n CONEPTUM recibe las direcciones IP de todos los Usuarios debido a que éstas son enviadas por los navegadores cada vez que solicitan acceso a nuestras páginas. Estas direcciones IP se guardan por seguridad en nuestros archivos de Log, quedando a disposición de las autoridades competentes tal y como establece la Ley para, en su caso, identificar el autor o autores de determinados hechos ilegales. La información que se guarda en estos Logs es la dirección IP y la fecha y hora de cada petición realizada a nuestro Servidor con la finalidad de, además de la anteriormente descrita, analizar tendencias, administrar el sistema y recoger información con fines estadísticos.\\n \")]),_c('p',[_vm._v(\"\\n CONEPTUM tiene contratado un servicio de comercio seguro en Internet que comprueba la validez de la tarjeta. El intercambio de estos datos entre el cliente y la tienda on-line se encuentra encriptado mediante una pasarela con su Entidad Financiera bajo el protocolo SSL (Secure Sockets Layer). La información relativa a su tarjeta de crédito no reside ni se transmite a nuestros servidores, siendo un trámite realizado por completo en la Web de su Entidad Financiera, permaneciendo así a salvo de posibles intrusos.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Facturación\"}},[_c('p',[_vm._v(\"\\n Asimismo, en virtud de lo establecido en el artículo 17 del Reglamento por el que se regulan las obligaciones de facturación, aprobado mediante Real Decreto CONEPTUM, S.L.”, con domicilio en C/Sant Agustí, 3-5, Planta 2, Puerta B, 08012 de Barcelona, con número de NIF: B65946956o 1.619/2012, de 30 de noviembre, autoriza que pueda remitirle facturas y otros documentos mediante la utilización de medios electrónicos.\\n \")]),_c('p',[_vm._v(\"\\n Tal y como se recoge en el Real Decreto antes mencionado, los documentos enviados electrónicamente tienen la misma validez legal que los documentos impresos, siempre que se mantengan en el formato en el que fueron generados electrónicamente.\\n \")]),_c('p',[_vm._v(\"\\n El Cliente expresa su conformidad a la utilización del formato PDF que será el utilizado por CONEPTUM, manifestando que dispone de los medios informáticos necesarios a tal efecto. De la misma forma se establece como medio para la recepción de facturas el Correo electrónico aportado en el momento de registrarse como información de carácter obligatorio.\\n \")]),_c('p',[_vm._v(\"\\n Mediante la aceptación de las condiciones, las partes excluyen el envío de las mismas en formato papel, salvo solicitud expresa que debe dirigir a CONEPTUM.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Códigos de usuario y contraseña\"}},[_c('p',[_vm._v(\"\\n La aceptación de las presentes Condiciones Generales, implica que el Cliente será el responsable de la gestión de su cuenta de acceso y contraseña con los que se le concede acceso al sitio Web de CONEPTUM www. coneptum.com Las presentes Condiciones se aplican en complemento a las condiciones de Comercio Electrónico.\\n \")]),_c('p',[_vm._v(\"\\n El Cliente será responsable de mantener la confidencialidad de su código de Usuario y contraseña de su cuenta para acceder al contenido de la Web www.conetpum.com, siendo también único responsable de todas las actividades que ocurran con su Usuario o Cuenta. El Cliente se compromete a notificar inmediatamente cualquier uso no autorizado de su cuenta o de cualquier otra violación de seguridad. CONEPTUM no será responsable por ninguna pérdida o daño que resulte de la perdida de la cuenta o de su uso sin autorización del titular de la misma.\\n \")]),_c('p',[_vm._v(\"\\n Cualquier persona que actúe utilizando las claves de acceso de un Cliente de CONEPTUM, ya sea un colaborador, encargado, etc., se considerará como representante del Cliente y con poderes suficientes para actuar como tal y vincularle.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Condiciones particulares\"}},[_c('p',[_vm._v(\"\\n Asimismo CONEPTUM se reserva el derecho a anular en cualquier momento tanto las operaciones como la cuenta del Cliente.\\n \")]),_c('p',[_vm._v(\"\\n El Cliente se compromete a utilizar la información recibida de forma confidencial y para fines estrictamente propios y a abstenerse de distribuir o reproducir, en todo o en parte, y de cualquier forma, dicha información.\\n \")]),_c('p',[_vm._v(\"\\n CONEPTUM se reserva el derecho a modificar su lista de precios y ofertas sin previo aviso, y los pedidos se aceptarán con reserva de una posible modificación en el precio si se detectan errores tipográficos o de cualquier otro tipo.\\n \")]),_c('p',[_vm._v(\"\\n No obstante, lo anterior, en la factura que CONEPTUM emita, se tomará como base la tarifa en vigor en el momento del suministro, con independencia del precio indicado con anterioridad.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Particularidades del producto/servicio\"}},[_c('p',[_vm._v(\"\\n INMATIC es una solución que permite mediante un escaneo del documento y de forma automática la contabilización en el programa contable de facturas y tickets de gastos e ingresos y otros documentos análogos.\\n \"),_c('br'),_vm._v(\"Especificaciones del programa:\\n \"),_c('br'),_vm._v(\"Contabiliza facturas de profesionales, tickets de caja, facturas con retenciones, iva y otros impuestos.\\n \"),_c('br'),_vm._v(\"Dentro de las funciones estándares se encuentra la extracción de los siguientes ítems:\\n \"),_c('ul',[_c('li',[_vm._v(\"\\n Proveedor/Cliente\\n \")]),_c('li',[_vm._v(\"\\n nif proveedor y nif cliente\\n \")]),_c('li',[_vm._v(\"\\n Número de la factura\\n \")]),_c('li',[_vm._v(\"\\n Fecha de la factura\\n \")]),_c('li',[_vm._v(\"\\n Fecha de vencimiento de la factura\\n \")]),_c('li',[_vm._v(\"\\n Base imponible\\n \")]),_c('li',[_vm._v(\"\\n IVA/IGIC\\n \")]),_c('li',[_vm._v(\"\\n El total de la factura\\n \")]),_c('li',[_vm._v(\"\\n La Retención de IRPF\\n \")])])]),_c('p',[_vm._v(\"\\n La contratación del servicio de INMATIC, conlleva la integración de esta funcionalidad al programa que indique el cliente, siempre que no haya alguna incompatibilidad\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Funcionamiento del programa\"}},[_c('ul',[_c('li',[_vm._v(\"\\n INMATIC es un procesador de contabilización de facturas, tickets y/o documentos análogos, en adelante documento, cada vez que se procesa un documento el programa descuenta del saldo de paquete contratado y una vez llega al 90% de documentos contabilizados aparece un pop up en el programa a la vez que se envía un correo electrónico comunicando que el saldo contratado está a punto de ser agotado.\\n \")]),_c('li',[_vm._v(\"\\n El paquete de documentos contratados para contabilizar tiene la misma vigencia que el contrato, en ningún caso podrá ser acumulado el saldo no consumido fuera del año de vigencia del contrato.\\n \")])]),_c('br')]),_c('LegalWarningSection',{attrs:{\"title\":\"Interrupción del Servicio\"}},[_c('ul',[_c('li',[_vm._v(\"\\n a) Coneptum se reserva el derecho a suspender temporalmente la prestación del Servicio para realizar labores de mantenimiento o mejora, notificándolo de forma anticipada al Cliente con al menos 24 horas de antelación.\\n \")]),_c('li',[_vm._v(\"\\n b) El cliente se compromete a facilitar una ventana horaria de mantenimiento trimestral y otra mensual para el parcheado general y el crítico respectivamente. \\n \")]),_c('li',[_vm._v(\" \\n c) No obstante, no se notificará de forma previa al Cliente, si dichas labores se realizan como respuesta a un problema grave o que afecte de forma drástica a la seguridad de la infraestructura, y, por tanto, Coneptum deba actuar de forma inmediata sin posibilidad de realizar la notificación previa.\\n \")]),_c('li',[_vm._v(\"\\n d) Del mismo modo, Coneptum se reserva el derecho a interrumpir temporalmente el Servicio sin previo aviso si observase:\\n \"),_c('ul',[_c('li',[_vm._v(\"\\n 1. Un uso ilícito del Servicio o contrario a lo establecido en los Documentos del Servicio o a sus Políticas de uso.\\n \")]),_c('li',[_vm._v(\"\\n 2. Un uso indebido o abusivo del Servicio. \\n \")])])])]),_c('br')]),_c('LegalWarningSection',{attrs:{\"title\":\"Soporte técnico\"}},[_c('p',[_vm._v(\"\\n Coneptum ofrece un servicio técnico base para cualquier cuestión del producto INMATIC que le pueda surgir al Cliente, la atención básica es en los días laborales de lunes a viernes dentro del horario comercial de 9 a 18 horas, esta atención será mediante un correo electrónico y Coneptum valorará en cada una de las consultas si es necesario atender por otro medio que no sea el electrónico.\\n \")]),_c('p',[_vm._v(\"\\n Correo electrónico soporte@inmatic.ai\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Responsabilidades\"}},[_c('ul',[_c('li',[_vm._v(\"\\n a) Coneptum se compromete a realizar sus mejores esfuerzos, en el ejercicio de sus funciones, para asegurar el buen funcionamiento de los Servicios pero no será responsable de circunstancias o eventos que se encuentren fuera de su control, tales como el caso fortuito o fuerza mayor.\\n \")]),_c('li',[_vm._v(\"\\n b) Coneptum no se responsabiliza de fallos en el servicio como consecuencia de caídas del servicio del servidor del cliente derivados de un uso excesivo o erróneo de los recursos del mismo o de los recursos asignados al mismo, ataques externos o de terceras personas, fallos del software o similares.\\n \")]),_c('li',[_vm._v(\"\\n c) En ningún caso Coneptum será responsable de pérdidas de datos, interrupción de negocio o cualesquiera otros perjuicios producidos por el funcionamiento del Servicio que sea ajeno a la ejecución de Coneptum, o por no cumplir éste con las expectativas del Cliente.\\n \")]),_c('li',[_vm._v(\"\\n d) Coneptum no se responsabiliza de fallos en el servicio como consecuencia de que el Cliente no haya permitido la realización por parte de Coneptum del mantenimiento trimestral indicado.\\n \")]),_c('li',[_vm._v(\"\\n e) Ninguna de las Partes será responsable por el incumplimiento del presente Contrato si ello obedece a causas de Fuerza Mayor.\\n \")]),_c('li',[_vm._v(\"\\n f) Serán considerados como casos de fuerza mayor o caso fortuito, sin carácter limitativo, el retraso, fallo, suspensión o interrupción de los Servicios como consecuencia de las restricciones de energía, bloqueo de las telecomunicaciones o de la red Internet, acciones u omisiones de terceras personas, operadores de telecomunicaciones o compañías de servicios, suministro o transportes o cualesquiera otras causas o circunstancias independientes de la voluntad de Coneptum que impida la ejecución normal del presente contrato.\\n \")])]),_c('br')]),_c('LegalWarningSection',{attrs:{\"title\":\"Garantías\"}},[_c('ul',[_c('li',[_vm._v(\"\\n a) Coneptum se compromete a prestar los servicios contratados con la máxima diligencia, utilizando personal con la debida experiencia y preparación, en cumplimiento de los procedimientos internos de Coneptum.\\n \")]),_c('li',[_vm._v(\"\\n b) Se consideran fuera del control de Coneptum, entre otros, los siguientes elementos o recursos:\\n \"),_c('ul',[_c('li',[_vm._v(\"\\n 1. el sistema informático del usuario/s\\n \")]),_c('li',[_vm._v(\"\\n 2. El software contable del cliente \\n \")]),_c('li',[_vm._v(\"\\n 3. software de navegación o de conexión y accesorios\\n \")]),_c('li',[_vm._v(\"\\n 4. virus, troyanos, gusanos o cualquier otro programa informático hostil, nocivo o perjudicial\\n \")]),_c('li',[_vm._v(\"\\n 5. red telefónica conmutada, RDSI, línea punto a punto, cable, satélite y cualquier otra infraestructura de transporte telecomunicaciones.\\n \")])])]),_c('li',[_vm._v(\"\\n c) La garantía de disponibilidad de servicio no es de aplicación en caso de que el cliente haya incumplido alguna de las cláusulas de las presentes.\\n \")])]),_c('br')]),_c('LegalWarningSection',{attrs:{\"title\":\"Duración del contrato\"}},[_c('p',[_vm._v(\"\\n La duración del Contrato de Servicio será de doce (12) meses a contar desde su aceptación y contratación del servicio. Será renovado de forma automático por periodos de igual tiempo, salvo que cualquiera de las Partes notifique a la otra\\n \"),_c('br'),_vm._v(\"\\n Parte su deseo de no renovarlo con una antelación mínima, de 30 días naturales, se acuerda que la notificación a través de correo electrónico para resolver el contrato será aceptada como medio de comunicación valido entre las partes.\\n \")]),_c('p',[_vm._v(\"\\n El servicio se considera un servicio (Saas) software as a service, con lo que se entenderá que, si el servicio no se paga, se deja de obtener el servicio, siempre que el Cliente no atienda al requerimiento de pago del proveedor.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Pago, entrega y plazos\"}},[_c('p',[_vm._v(\"\\n El servicio se considera un servicio (Saas) software as a service, con lo que en el momento de realizar la compra y se proceda al pago el servicio ya estará disponible.\\n \"),_c('br'),_vm._v(\"\\n El pago se realizará en el momento de contratar el servicio y se realizará por cualquiera de los sistemas que CONEPTUM pone a disposición del cliente.\\n \")]),_c('p',[_vm._v(\"\\n Con la finalización de la compra y la emisión de la factura el cliente recibirá un correo electrónico donde se le indica como acceder a la plataforma y como puede operar para hacer uso del servicio contratado.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Derecho de desistimiento\"}},[_c('p',[_vm._v(\"\\n El Cliente, a partir del pago y adquisición del servicio, dispondrá de un plazo de 14 días naturales para ejercitar frente a CONEPTUM su desistimiento o revocación de conformidad con la normativa de ventas a distancia regulada en el Texto Refundido de la Ley General de Defensa de Consumidores y Usuarios. Transcurrido dicho plazo, el servicio será considerado conforme y aceptado por el Cliente sin que pueda regir ninguna reclamación por desistimiento.\\n \"),_c('br'),_vm._v(\"\\n En el supuesto que el Cliente y dentro del plazo de 14 días quiera ejercer su derecho a desistimiento del servicio deberá hacerlo ante CONEPTUM, mediante el correo electrónico que se encuentra en las presentes condiciones. \\n \")]),_c('p',[_vm._v(\"\\n En el correo se deberá indicar:\\n \")]),_c('ul',[_c('li',[_vm._v(\"\\n 1) Número de la factura de compra\\n \")]),_c('li',[_vm._v(\"\\n 2) Nombre y apellidos o denominación social del cliente\\n \")]),_c('li',[_vm._v(\"\\n 3) Motivación para ejercer el derecho de desistimiento\\n \")])]),_c('br'),_c('p',[_vm._v(\"\\n Según el artículo 103-Excepciones al derecho de desistimiento, del Real Decreto Legislativo 1/2007 de 16 de noviembre, por el que se aprueba el texto Refundido de la Ley para la Defensa de los Consumidores y Usuarios y otras leyes complementarias, todos los productos personalizados que CONEPTUM ofrece o pueda ofrecer, el derecho de desistimiento no será aplicable a los productos personalizados.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Formas de pago\"}},[_c('p',[_vm._v(\"\\n Tarjeta de crédito, cuando se incluyen los datos de la tarjeta en la web, éstos se encriptan automáticamente y la pasarela de pago seguro enlaza directamente con el banco para realizar el cobro de forma segura.\\n \")]),_c('p',[_vm._v(\"\\n Mediante giro de recibo en la cuenta corriente del cliente, si se usa este sistema se deberá previamente avisar a Coneptum para que introduzca en sus sistemas la cuenta del cliente y proceda la giro de recibo bancario.\\n \")])]),_c('LegalWarningSection',{attrs:{\"title\":\"Legislación y Fuero\"}},[_c('p',[_vm._v(\"\\n El derecho aplicable a estas condiciones generales de venta, así como a cualquier controversia relativa al presente contrato, será el derecho español. Cualquier controversia que se derive del presente contrato se someterá exclusivamente a los Juzgados y Tribunales españoles.\\n \")]),_c('p',[_vm._v(\"\\n En el caso de que la parte compradora tenga su domicilio fuera de España, o que se trate de una compraventa realizada por una empresa, ambas partes se someten, con renuncia expresa a cualquier otro fuero, a los Juzgados y Tribunales de la Ciudad de Barcelona (España).\\n \")]),_c('p',[_vm._v(\"\\n Las presentes comprenden el contenido de la Ley del Comercio Electrónico, Ley del Comercio del Minorista y Real Decreto sobre contratación telefónica y electrónica entre otras disposiciones relacionadas.\\n \")]),_c('p',[_vm._v(\"\\n CONEPTUM, S.L.\\\" \\n \"),_c('br'),_vm._v(\"\\n Todos los derechos reservados\\n \")])])],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('h3',[_vm._v(_vm._s(_vm.title))]),_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LegalWarningSection.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LegalWarningSection.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LegalWarningSection.vue?vue&type=template&id=1232369e&scoped=true&\"\nimport script from \"./LegalWarningSection.vue?vue&type=script&lang=js&\"\nexport * from \"./LegalWarningSection.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 \"1232369e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SaleTerms.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SaleTerms.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SaleTerms.vue?vue&type=template&id=b4f1ff96&scoped=true&\"\nimport script from \"./SaleTerms.vue?vue&type=script&lang=js&\"\nexport * from \"./SaleTerms.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 \"b4f1ff96\",\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.$vuetify.breakpoint.mdAndUp)?_c('v-list-item',{staticClass:\"sidebar__element\",attrs:{\"to\":_vm.to}},[_c('v-list-item-content',{staticClass:\"d-flex flex-column align-center justify-center\"},[_c('v-avatar',{staticClass:\"mx-auto\"},[(_vm.icon_type == 'icon')?_vm._m(0):_c('img',{staticClass:\"img-sidebar-navigation\",attrs:{\"src\":_vm.icon_src,\"width\":\"28px\",\"height\":\"28px\"}})],1),(_vm.new_label)?_c('img',{staticClass:\"menu-item-label-new\",attrs:{\"width\":\"32px\",\"height\":\"10px\",\"src\":\"/navigation/new_label.svg\"}}):_vm._e(),_c('p',{staticClass:\"sidebar__element__title mt-1 mb-0\"},[_vm._t(\"text\")],2)],1)],1):_c('v-list-item',{staticClass:\"sidebar__element py-1 px-3\",attrs:{\"to\":_vm.to}},[_c('v-list-item-avatar',[_c('v-avatar',{attrs:{\"color\":\"primary\"}},[(_vm.icon_type == 'icon')?_vm._m(1):_c('v-img',{staticClass:\"img-sidebar-navigation\",attrs:{\"src\":_vm.icon_src,\"width\":\"28px\",\"height\":\"28px\"}})],1)],1),_c('v-list-item-content',{staticClass:\"primary--text\"},[_vm._t(\"text\")],2)],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',{attrs:{\"color\":\"#F4F4F4\"}},[_vm._v(\"\\n \"+_vm._s(_vm.icon_src)+\"\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"\\n \"+_vm._s(_vm.icon_src)+\"\\n \")])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarElement.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarElement.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SidebarElement.vue?vue&type=template&id=3f968bce&\"\nimport script from \"./SidebarElement.vue?vue&type=script&lang=js&\"\nexport * from \"./SidebarElement.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SidebarElement.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\ninstallComponents(component, {VAvatar,VIcon,VImg,VListItem,VListItemAvatar,VListItemContent})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"persistent\":_vm.persistent,\"content-class\":_vm.computed_pop_up_class},model:{value:(_vm.show_contract_modal),callback:function ($$v) {_vm.show_contract_modal=$$v},expression:\"show_contract_modal\"}},[_c('v-card',{staticClass:\"rounded-xl\"},[_c('v-form',{ref:\"contractForm\"},[_c('v-card-title',{staticClass:\"d-flex justify-center\"},[_c('v-row',{staticClass:\"justify-center\"},[_c('v-col',{staticClass:\"d-flex justify-center pa-0\",attrs:{\"cols\":\"11\"}},[_c('span',{staticClass:\"title\"},[_vm._v(\"Selecciona el plan que quieres contratar\")])]),_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"1\"}},[_c('span',{on:{\"click\":function($event){return _vm.showPrices()}}},[_c('v-icon',{attrs:{\"size\":\"30\",\"color\":\"primary\"}},[_vm._v(\"mdi-information-outline\")])],1)])],1)],1),_c('v-divider'),_c('v-card-text',{staticClass:\"mt-0\"},[_c('div',{staticClass:\"dialog-intro\"},[_c('p',{staticClass:\"ma-0\"},[_vm._v(_vm._s(_vm.contract_modal_msg)+\" Para poder seguir utilizando Inmatic debes seleccionar un nuevo plan y adjuntar el justificante de pago.\")])]),_c('v-row',{staticClass:\"dialog-content\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('app-modal-container',[_c('v-row',{staticClass:\"no-gutters\"},_vm._l((_vm.dialog_contract),function(s_type,index){return _c('v-col',{key:s_type,class:{'pl-1': index!=0,'pr-1':index!=_vm.dialog_contract.length-1 },attrs:{\"cols\":_vm.packages_cols}},[(_vm.services[s_type])?_c('contract-select-plan-popup',{key:index,attrs:{\"selected_plan\":_vm.selected_plans_index,\"services\":_vm.services[s_type],\"contract_select_type\":s_type},on:{\"update:selected_plan\":function($event){_vm.selected_plans_index=$event}}}):_vm._e(),(s_type=='facturae_credits')?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('label',[_vm._v(\"Número empresas\")]),_c('v-text-field',{staticClass:\"promotional-code elevation-0 pa-0 ma-0\",attrs:{\"solo\":\"\",\"label\":\"Número empresas\",\"outlined\":\"\",\"dense\":\"\",\"color\":\"#66369b\",\"type\":\"number\",\"readonly\":_vm.contract_modal_facturae_client},model:{value:(_vm.num_credits_custom),callback:function ($$v) {_vm.num_credits_custom=$$v},expression:\"num_credits_custom\"}})],1),(_vm.contract_modal_facturae_client && _vm.userData && _vm.userData.user_role.value != 'customer' && _vm.userData.user_role.value != 'customer_consult')?_c('v-col',{attrs:{\"cols\":\"6\"}},[_vm._v(\"\\n \"+_vm._s(_vm.userData.user_role.value)+\"\\n \"),_c('label',[_vm._v(\"*Solo con datos fiscales\")]),_c('v-select',{attrs:{\"label\":\"Selecciona cliente\",\"items\":_vm.client_users_facturae,\"outlined\":\"\",\"item-value\":\"id\",\"dense\":\"\",\"rules\":[_vm.validationRules.select_required]},scopedSlots:_vm._u([{key:\"selection\",fn:function(data){return [_vm._v(\" \\n \"+_vm._s(data.item.username)+\"\\n \")]}},{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.username)+\"\\n \")]}}],null,true),model:{value:(_vm.selected_user_contract_facturae),callback:function ($$v) {_vm.selected_user_contract_facturae=$$v},expression:\"selected_user_contract_facturae\"}})],1):_vm._e()],1):_vm._e()],1)}),1),(_vm.show_error_select_plan)?_c('div',{staticClass:\"red--text text-center mb-2\"},[_vm._v(\"Debes seleccionar al menos un plan.\")]):_vm._e(),_c('v-row',{staticClass:\"ma-0 pa-0\"},[_c('v-col',{staticClass:\"ma-0 pr-2 pl-0 pt-0 pb-2\",attrs:{\"cols\":\"6\",\"md\":\"6\"}},[_c('div',{staticClass:\"d-flex flex-column\"},[_c('div',{staticClass:\"total-price-title pb-2\"},[_vm._v(\"TOTAL \\n \"),(_vm.check_selected_plan)?_c('span',[_vm._v(_vm._s(_vm.getTaxesFromString()))]):_c('span',[_vm._v(\"IMPUESTOS\")])]),_c('div',{staticClass:\"box-total-price\",class:_vm.check_selected_plan ? 'filled': 'empty'},[(_vm.check_selected_plan)?_c('span',[_vm._v(_vm._s(_vm.getAmountFromString()))]):_vm._e()])])]),(_vm.userData.available_features['feature_promotional_code'])?_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"6\",\"md\":\"6\",\"align\":\"right\"}},[(!_vm.show_codigo_promo)?_c('p',{staticClass:\"text-right font-weight-light grey--text\",on:{\"click\":function($event){_vm.show_codigo_promo=true}}},[_vm._v(\"\\n ¿Tienes un código promocional?\\n \")]):_c('v-text-field',{staticClass:\"promotional-code elevation-0 pa-0 ma-0\",attrs:{\"solo\":\"\",\"label\":\"Código promocional\",\"outlined\":\"\",\"dense\":\"\",\"color\":\"#66369b\",\"rules\":[_vm.is_valid_code || 'Código promocional no válido'],\"error\":_vm.error_promotional_code,\"error-messages\":_vm.error_promotional_code_list},on:{\"input\":_vm.on_promotional_code_changed},model:{value:(_vm.promotional_code),callback:function ($$v) {_vm.promotional_code=$$v},expression:\"promotional_code\"}}),_c('p',{staticClass:\"contract-date my-0 py-0 text-right\"},[_c('span',{staticClass:\"font-weight-light black--text\"},[_vm._v(\"Fin del contrato:\")]),_vm._v(\" \"+_vm._s(_vm.end_date)+\"\\n \")])],1):_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"6\",\"md\":\"6\"}})],1),_c('v-row',{staticClass:\"pb-3\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"ma-0 font-weight-light\",class:{ 'text-center': !_vm.is_single_contract }},[_vm._v(\"Cuenta de Inmatic: \"),(_vm.is_single_contract)?_c('br'):_vm._e(),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(\"BANCO SABADELL IBAN: ES04 0081 0400 1100 0123 0926\")])]),_c('p',{staticClass:\"ma-0 font-weight-light\",class:{ 'text-center': !_vm.is_single_contract }},[_vm._v(\"En el beneficiario indique Coneptum S.L. En el concepto indique su usuario y el plan seleccionado. \")])])],1),_c('div',{staticClass:\"d-flex flex-column\"},[_c('v-file-input',{staticClass:\"file-input--outlined rounded-lg pb-2\",attrs:{\"rules\":[_vm.validationRules.file_required],\"outlined\":\"\",\"prepend-icon\":\"\",\"prepend-inner-icon\":\"mdi-paperclip\",\"name\":\"uploader\",\"label\":\"Adjuntar justificante de pago\",\"hide-details\":\"\",\"dense\":\"\"},model:{value:(_vm.payment_file),callback:function ($$v) {_vm.payment_file=$$v},expression:\"payment_file\"}}),(_vm.userData.distributor_code && _vm.contract_modal_distributor)?_c('v-select',{staticClass:\"mt-2\",attrs:{\"label\":\"Selecciona un usuario\",\"items\":_vm.distributor_users,\"outlined\":\"\",\"return-object\":\"\",\"item-text\":\"username\",\"item-value\":\"id\",\"dense\":\"\",\"rules\":[_vm.validationRules.select_required]},model:{value:(_vm.selected_user_contract),callback:function ($$v) {_vm.selected_user_contract=$$v},expression:\"selected_user_contract\"}}):_vm._e(),_c('v-checkbox',{staticClass:\"my-0 py-0\",attrs:{\"rules\":[_vm.validationRules.required],\"hide-details\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_c('span',{staticClass:\"small-font\"},[_vm._v(\"\\n He leído y acepto la\\n \"),_c('PolicyDialogLink',{attrs:{\"name\":\"Adhesión a la prestación de servicios\"}},[_c('LegalContract',{attrs:{\"params\":{\n postal_address: _vm.userData.postal_address,\n province: _vm.userData.province,\n bussnies_id: _vm.userData.bussnies_id,\n business_name: _vm.userData.business_name,\n name: _vm.userData.name,\n docs_num: _vm.num_documents,\n price: _vm.price,\n date: _vm.contract_date\n },\"kind\":\"contract\"},on:{\"contract-data\":_vm.getServiceContractData}})],1)],1)]},proxy:true}]),model:{value:(_vm.contract_accepted),callback:function ($$v) {_vm.contract_accepted=$$v},expression:\"contract_accepted\"}})],1)],1)],1)],1)],1),_c('v-card-actions',{staticClass:\"mt-0 pt-0\"},[_c('app-modal-container',[_c('v-row',{staticClass:\"ma-0\",attrs:{\"justify\":\"center\",\"align\":\"center\"}},[_c('v-col',{staticClass:\"my-0 pa-0\",attrs:{\"cols\":\"12\",\"md\":\"8\",\"align\":\"left\"}}),_c('v-col',{staticClass:\"my-0 pa-0\",attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c('v-row',{staticClass:\"ma-0 pa-0\"},[_c('v-col',{staticClass:\"my-0 pt-0 pr-2 pl-0 d-md-none d-lg-none d-xl-none\",attrs:{\"cols\":\"6\"}},[_c('v-btn',{staticClass:\"primary-border\",attrs:{\"density\":\"compact\",\"name\":\"Contratar\",\"size\":\"x-small\",\"elevation\":\"0\",\"color\":\"primary\",\"bg-color\":\"white\",\"outlined\":\"\",\"dense\":\"\",\"block\":\"\"},on:{\"click\":function($event){return _vm.closeContractModal()}}},[_c('span',[_vm._v(\"Cancelar\")])])],1),_c('v-col',{staticClass:\"my-0 pt-0 pl-2 pr-0\",attrs:{\"cols\":\"6\",\"md\":\"12\"}},[_c('v-btn',{staticClass:\"btn-purple\",attrs:{\"density\":\"compact\",\"name\":\"Contratar\",\"size\":\"x-small\",\"color\":\"#66369b\",\"elevation\":\"0\",\"dense\":\"\",\"block\":\"\",\"loading\":_vm.contratando},on:{\"click\":function($event){return _vm.confirm()}}},[_c('span',[_vm._v(\"Contratar\")])])],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',[_c('div',{staticClass:\"contract-type primary--text py-2\"},[_vm._v(_vm._s(_vm.contractSelectTypeTitle))]),_c('v-item-group',{staticClass:\"my-0 pb-0\",model:{value:(_vm.indexSelectedPlan),callback:function ($$v) {_vm.indexSelectedPlan=$$v},expression:\"indexSelectedPlan\"}},_vm._l((_vm.services),function(service,index){return _c('v-row',{key:service.id,staticClass:\"plans mb-2 mx-0 mt-0 pa-3 rounded-lg d-flex justify-center align-center\",class:{ selected: _vm.indexSelectedPlan!==false && _vm.indexSelectedPlan!==undefined && service.id == _vm.services[_vm.indexSelectedPlan].service_id },attrs:{\"color\":\"#ffffff\",\"rounded\":\"\",\"justify\":\"center\"}},[_c('v-item',{scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar active = ref.active;\nvar toggle = ref.toggle;\nreturn [_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\"},on:{\"click\":toggle}},[_c('v-row',{staticClass:\"ma-0 pa-0 align-center\"},[_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"2\"}},[(active)?_c('v-icon',[_vm._v(\"mdi-radiobox-marked\")]):_c('v-icon',[_vm._v(\"mdi-radiobox-blank\")])],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"7\"}},[_c('v-row',{staticClass:\"ma-0 pa-0\"},[_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"my-0 py-0\"},[_c('span',{staticClass:\"mark-price\"},[_vm._v(_vm._s(service.name))])])]),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\"}},[(_vm.contract_select_type=='invoices')?_c('p',{staticClass:\"my-0 py-0\"},[_c('span',[_vm._v(\"Hasta \"+_vm._s(_vm.formatNumberES(service.yearly_documents))+\" docs/año\")])]):_vm._e(),(_vm.contract_select_type=='banks')?_c('p',{staticClass:\"my-0 py-0\"},[_c('span',[_vm._v(\"Hasta \"+_vm._s(_vm.formatNumberES(service.yearly_transactions))+\" movs/año\")])]):_vm._e(),(_vm.contract_select_type=='credits')?_c('p',{staticClass:\"my-0 py-0\"},[_c('span',[_vm._v(\"Hasta \"+_vm._s(_vm.formatNumberES(service.yearly_credits))+\" creds/año\")])]):_vm._e(),(_vm.contract_select_type=='facturae_credits')?_c('p',{staticClass:\"my-0 py-0\"},[_c('span',[_vm._v(\"Selecciona número empresas\")])]):_vm._e()])],1)],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"3\"}},[_c('v-row',{staticClass:\"ma-0 pa-0\"},[_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\"}},[(true || service.duration.split(' ')[0] == '365')?_c('span',{staticClass:\"mark-time\"},[_c('span',{staticClass:\"mark-price\"},[_vm._v(_vm._s(_vm.formatNumberES(service.price,2))+\" €\")]),(_vm.contract_select_type=='facturae_credits')?_c('span',[_vm._v(\"/empresa-año\")]):_c('span',[_vm._v(\"/año\")])]):_vm._e()]),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"my-0 py-0\"},[_c('span',[_vm._v(\"(IVA no incluido)\")])])])],1)],1)],1)],1)]}}],null,true)})],1)}),1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractSelectPlanPopup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractSelectPlanPopup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContractSelectPlanPopup.vue?vue&type=template&id=6e4cd8ec&scoped=true&\"\nimport script from \"./ContractSelectPlanPopup.vue?vue&type=script&lang=js&\"\nexport * from \"./ContractSelectPlanPopup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ContractSelectPlanPopup.vue?vue&type=style&index=0&id=6e4cd8ec&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 \"6e4cd8ec\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VItem } from 'vuetify/lib/components/VItemGroup';\nimport { VItemGroup } from 'vuetify/lib/components/VItemGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VIcon,VItem,VItemGroup,VRow})\n","import { CommandDispatcher } from \"../../shared/domain/CommandDispatcher\";\nimport { v4 as uuidv4 } from 'uuid';\n\nexport class DeliverAndCreateChargeForServiceCard {\n constructor(\n private readonly dispatcher: CommandDispatcher,\n ) {}\n\n async run(service_ids, org_id): Promise<{ [key: string]: string; }> {\n const uuid = uuidv4()\n let args = {\n service_ids:service_ids, \n organization_id:org_id, \n charge_id:uuid, \n }\n return await this.dispatcher.dispatch('revenue.service_charge.deliver_and_create.card', args)['output']\n }\n}","import { CommandDispatcher } from \"../../shared/domain/CommandDispatcher\";\nimport { FileRepository } from \"../../shared/domain/FileRepository\";\nimport { v4 as uuidv4 } from 'uuid';\n\nexport class DeliverAndCreateChargeForServiceTransfer {\n constructor(\n private readonly dispatcher: CommandDispatcher,\n private readonly file_repo: FileRepository,\n ) {}\n\n async run(service_ids, org_id, payment_file,promotional_code, num_credits_custom, user_contract, user_contract_facturae): Promise<{ [key: string]: string; }> { \n let payment_file_path = await this.file_repo.uploadFile(payment_file)\n const uuid = uuidv4()\n let args = {\n service_ids:service_ids, \n organization_id:org_id, \n charge_id:uuid, \n payment_file_path:payment_file_path,\n }\n if (user_contract) {\n args['user_id_to_deliver'] = user_contract;\n }\n if (user_contract_facturae) {\n args['user_id_to_charge'] = user_contract_facturae\n }\n if(promotional_code){\n args['promotional_code'] = promotional_code\n }\n if (num_credits_custom){\n args['num_credits_custom'] = num_credits_custom\n }\n return await this.dispatcher.dispatch('revenue.service_charge.deliver_and_create.transfer', args)\n }\n}","import { CommandDispatcher } from \"../../shared/domain/CommandDispatcher\";\nimport { FileRepository } from \"../../shared/domain/FileRepository\";\nimport { DeliverAndCreateChargeForServiceCard } from \"./DeliverAndCreateChargeForServiceCard\";\nimport { DeliverAndCreateChargeForServiceTransfer } from \"./DeliverAndCreateChargeForServiceTransfer\";\n\nexport class DeliverAndCreateChargeForService {\n constructor(\n private readonly dispatcher: CommandDispatcher,\n private readonly file_repo: FileRepository,\n private readonly frontend\n ) {}\n\n async run(payment_method, services, org_id, payment_file, promotional_code, num_credits_custom?, user_contract?, user_contract_facturae?): Promise<{ [key: string]: string; }> {\n let res\n if(payment_method=='card'){\n res = await new DeliverAndCreateChargeForServiceCard(this.dispatcher)\n .run(services, org_id)\n if(payment_method=='transfer'){\n this.frontend.charge_id = 'charge_uuid';\n }\n }\n if(payment_method=='transfer'){\n res = await new DeliverAndCreateChargeForServiceTransfer(this.dispatcher,this.file_repo)\n .run(services, org_id, payment_file, promotional_code, num_credits_custom, user_contract, user_contract_facturae)\n }\n this.frontend.closeContractModal()\n await this.frontend.forceRefreshUserData()\n await this.frontend.move_to_profile()\n\n return res\n }\n}","import { QueryDispatcherAbort } from \"../../shared/domain/QueryDispatcher\";\n\nexport class ServicesPricesFiscalPositionQuery {\n ctr;\n constructor(\n private readonly dispatcher: QueryDispatcherAbort,\n private readonly frontend\n ) {\n this.ctr = undefined;\n }\n\n async run(promotional_code?: String, kind?): Promise<{ [key: string]: string; }> {\n if(this.ctr){\n this.ctr.abort('relaunched')\n }\n let args = {}\n if(promotional_code){\n args = {promotional_code:promotional_code}\n }\n if(kind){\n switch (kind) {\n case 'invoices':\n args['kind'] = 'documents';\n break;\n default:\n args['kind'] = kind;\n break;\n } \n }\n const res = await this.dispatcher.dispatch('services_prices.fiscal_position', args)\n this.ctr = res.controller\n if(kind){ \n this.frontend.services[kind] = res.promise\n }\n \n if (promotional_code != '' && promotional_code != undefined && res.promise[0]['is_valid_code'] == false) {\n this.frontend.is_valid_promotional_code(false, kind)\n } else {\n this.frontend.is_valid_promotional_code(true, kind)\n }\n \n return res.promise\n }\n}","import { QueryDispatcher } from \"@/modules/shared/domain/QueryDispatcher\";\n\nexport class DistributorUsersQuery {\n constructor(\n private readonly dispatcher: QueryDispatcher,\n private readonly frontend,\n ) { }\n\n async run(): Promise {\n let args = { \n } \n let res = await this.dispatcher.dispatch('get.distributor.users', args) \n if (res.promise['status'] === '200') {\n this.frontend.distributor_users = res.promise['data']\n } else {\n return res.promise['data']\n } \n }\n}","import { QueryDispatcher } from \"@/modules/shared/domain/QueryDispatcher\";\n\nexport class ClientUsersQuery {\n constructor(\n private readonly dispatcher: QueryDispatcher,\n private readonly frontend,\n ) { }\n\n async run(): Promise {\n let args = {\n } \n let res = await this.dispatcher.dispatch('get.client.users', args) \n if (res.promise['status'] === '200') {\n //this.frontend.client_users_facturae = res.promise['data']\n //Nos quedamos solamente con los que tienen los datos fiscales\n this.frontend.client_users_facturae = res.promise['data'].filter((client) => client['fiscal_data'] == true);\n } else {\n return res.promise['data']\n } \n }\n}","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractPopup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractPopup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContractPopup.vue?vue&type=template&id=c304fbec&scoped=true&\"\nimport script from \"./ContractPopup.vue?vue&type=script&lang=js&\"\nexport * from \"./ContractPopup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ContractPopup.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./ContractPopup.vue?vue&type=style&index=1&id=c304fbec&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 \"c304fbec\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCheckbox,VCol,VDialog,VDivider,VFileInput,VForm,VIcon,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('v-card-title',{staticClass:\"headline\",staticStyle:{\"border-bottom-style\":\"outset\",\"border-bottom-width\":\"1px\"}},[_vm._v(\" Notificaciones \")]),(_vm.notifications.length > 0)?_vm._l((_vm.notifications),function(noti){return _c('app-modal-row',{staticStyle:{\"border-bottom-style\":\"outset\",\"border-bottom-width\":\"1px\"}},[_c('app-modal-col',{attrs:{\"cols\":\"11\"}},[_c('v-card-text',[_c('b',{staticStyle:{\"font-size\":\"large\"}},[_vm._v(\" \"+_vm._s(noti.subject)+\" \")]),_c('br'),_c('br'),_c('div',{domProps:{\"innerHTML\":_vm._s(noti.date)}}),_c('div',{domProps:{\"innerHTML\":_vm._s(noti.message)}})])],1),_c('app-modal-col',{attrs:{\"cols\":\"1\"}},[_c('v-btn',{staticStyle:{\"bottom\":\"-10px\"},attrs:{\"icon\":\"\",\"large\":\"\",\"color\":\"primary\",\"loading\":_vm.loading.includes(noti.id)},on:{\"click\":function($event){return _vm.delete_noti(noti.id)}}},[_vm._v(\"\\n Leído\\n \")])],1)],1)}):[_c('v-card-text',[_vm._v(\"\\n No hay notificaciones.\\n \")])]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Notifications.vue?vue&type=template&id=a8239d84&scoped=true&\"\nimport script from \"./Notifications.vue?vue&type=script&lang=js&\"\nexport * from \"./Notifications.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Notifications.vue?vue&type=style&index=0&id=a8239d84&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 \"a8239d84\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle})\n","import { CommandDispatcher } from \"@/modules/shared/domain/CommandDispatcher\";\n\nexport class MultipleForceDownloadLoadPathFilesCommand {\n constructor(\n private readonly dispatcher: CommandDispatcher,\n ) { }\n\n async run(company_id:Number): Promise {\n let args = { \n company_ids: [company_id]\n }\n await this.dispatcher.dispatch('multiple_download_load_path_files', args)\n }\n}","\n\n\n\n","import mod from \"-!../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=js&\"; export default mod; export * from \"-!../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=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=54ed516e&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\nimport { VAppBar } from 'vuetify/lib/components/VAppBar';\nimport { VAppBarNavIcon } from 'vuetify/lib/components/VAppBar';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListGroup } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemGroup } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMain } from 'vuetify/lib/components/VMain';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VNavigationDrawer } from 'vuetify/lib/components/VNavigationDrawer';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VApp,VAppBar,VAppBarNavIcon,VBtn,VDialog,VIcon,VImg,VList,VListGroup,VListItem,VListItemGroup,VListItemTitle,VMain,VMenu,VNavigationDrawer,VProgressCircular,VSnackbar,VSpacer,VSwitch,VTooltip})\n","module.exports = __webpack_public_path__ + \"img/unsign_invoice.14741bb1.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":_vm.cols,\"xs\":_vm.xs,\"sm\":_vm.sm,\"md\":_vm.md,\"lg\":_vm.lg,\"xl\":_vm.xl,\"order\":_vm.order}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModalCol.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModalCol.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppModalCol.vue?vue&type=template&id=f9833636&\"\nimport script from \"./AppModalCol.vue?vue&type=script&lang=js&\"\nexport * from \"./AppModalCol.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol})\n","module.exports = __webpack_public_path__ + \"img/hide_invoice.1f7c5843.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./RightDrawerClientModeV2.vue?vue&type=style&index=0&id=2c7ae8c9&scoped=true&lang=css&\"","export function isValidAccountNumber(acc){\n if (typeof acc !== \"string\") {\n return false;\n }\n \n for (let i = 0; i < acc.length; i++) {\n if (isNaN(parseInt(acc[i]))) {\n return false;\n }\n }\n\n return true\n}\nexport function isValidAccountNumberExactDigits(acc,num_digits){\n if (!isValidAccountNumber(acc)) {\n return false;\n }\n return acc.length === num_digits;\n}\n\nexport function isValidAccountNumberMaxDigits(acc,num_digits){\n if (!isValidAccountNumber(acc)) {\n return false;\n }\n \n return acc.length <= num_digits;\n}\n\nexport function isValidAccountNumberMinDigits(acc,num_digits){\n if (!isValidAccountNumber(acc)) {\n return false;\n }\n \n return acc.length >= num_digits;\n}\n\nexport function isValidAccountNumberDigits(acc,num_digits, num_digit_kind){\n if(num_digit_kind=='max'){\n if(!isValidAccountNumberMaxDigits(acc, num_digits)){\n return false\n }\n }else if(num_digit_kind=='min'){\n if(!isValidAccountNumberMinDigits(acc, num_digits)){\n return false\n }\n }else{\n if(!isValidAccountNumberExactDigits(acc, num_digits)){\n return false\n }\n }\n return true\n}","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-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.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/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./ContractPopup.vue?vue&type=style&index=1&id=c304fbec&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-text-field',{staticClass:\"rounded-lg\",class:_vm.outlined ? 'app-text-field-outlined' : 'app-text-field-no-border',attrs:{\"filled\":!_vm.outlined,\"outlined\":_vm.outlined,\"value\":_vm.value,\"label\":_vm.label,\"name\":_vm.name,\"type\":_vm.type,\"counter\":_vm.counter,\"hint\":_vm.hint,\"persistent-hint\":_vm.persistentHint,\"rules\":_vm.rules,\"disabled\":_vm.disabled,\"readonly\":_vm.readonly,\"hide-details\":_vm.hideDetails,\"error\":_vm.error,\"error-messages\":_vm.errorMessages,\"color\":\"primary\"},on:{\"input\":function (e) { return _vm.$emit('input', e); },\"click\":function (e) { return _vm.$emit('click', e); },\"click:append\":function (e) { return _vm.$emit('click:append', e); },\"keyup\":function (e) { return _vm.$emit('keyup', e); },\"keydown\":function (e) { return _vm.$emit('keydown', e); }},scopedSlots:_vm._u([(_vm.prependInnerIcon)?{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{attrs:{\"color\":\"primary\",\"left\":\"\"}},[_vm._v(\"\\n \"+_vm._s(_vm.prependInnerIcon)+\"\\n \")])]},proxy:true}:null,(_vm.appendIcon)?{key:\"append\",fn:function(){return [(_vm.appendIconTooltipText)?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-icon',_vm._g(_vm._b({attrs:{\"color\":\"primary\",\"right\":\"\"},on:{\"click\":function($event){return _vm.$emit('click:append', _vm.e)}}},'v-icon',attrs,false),on),[_vm._v(_vm._s(_vm.appendIcon))])]}}],null,false,3283086871)},[_c('span',[_vm._v(_vm._s(_vm.appendIconTooltipText))])]):_c('v-icon',{attrs:{\"color\":\"primary\",\"right\":\"\"},on:{\"click\":function($event){return _vm.$emit('click:append', _vm.e)}}},[_vm._v(\"\\n \"+_vm._s(_vm.appendIcon)+\"\\n \")])]},proxy:true}:null],null,true)})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppTextField.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppTextField.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppTextField.vue?vue&type=template&id=6a484ab9&\"\nimport script from \"./AppTextField.vue?vue&type=script&lang=js&\"\nexport * from \"./AppTextField.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppTextField.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VIcon,VTextField,VTooltip})\n","module.exports = __webpack_public_path__ + \"img/bank-show-mismatch.b80f6d9f.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModalContainer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModalContainer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppModalContainer.vue?vue&type=template&id=2582e784&\"\nimport script from \"./AppModalContainer.vue?vue&type=script&lang=js&\"\nexport * from \"./AppModalContainer.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VContainer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VContainer})\n","module.exports = __webpack_public_path__ + \"img/bank-effect-switch-disabled.5ae28d74.svg\";","module.exports = __webpack_public_path__ + \"img/bank-generate-rules-disabled.5452e939.svg\";","import {FileRepository} from \"../../shared/domain/FileRepository\"\nimport { v4 as uuidv4 } from 'uuid';\nimport awsconfig from '../../../aws-exports';\nimport { Auth} from \"aws-amplify\";\n\nexport class S3Repository implements FileRepository{\n s3:any;\n type:string\n\n constructor(AWS, type?:string){\n this.s3 = new AWS.S3({\n apiVersion: \"2006-03-01\",\n params: { Bucket: awsconfig['aws_user_files_s3_bucket'] }\n });\n if(type){\n this.type = type\n }else {\n this.type = 'payment'\n }\n }\n\n async uploadFile(file) {\n const uuid = uuidv4()\n const cc = await Auth.currentCredentials()\n let spl = file.name.split('.')\n let ext = spl[spl.length-1]\n await this.s3.upload({ \n Bucket: awsconfig['aws_user_files_s3_bucket'], \n Key: 'private/'+cc.identityId+'/'+this.type+'/'+uuid+'.'+ext,\n Body: file,\n ACL: 'private',\n contentType: 'application/pdf',\n CacheControl: 'max-age=0, public'\n }).promise()\n return cc.identityId+'/'+this.type+'/'+uuid+'.'+ext\n }\n}\n\nexport class MemoryS3Repository implements FileRepository{\n files:any=[]\n\n async uploadFile(file) {\n this.files.push(file)\n let name = file.name\n return 'path/' + name\n }\n}","module.exports = __webpack_public_path__ + \"img/icon-zoom-out.9351b0c5.svg\";","module.exports = __webpack_public_path__ + \"img/einvoice-download-black.e869f77f.svg\";","import { taxes } from \"../modules/invoices/domain/Invoice\"\n\nlet taxes_aux = []\nObject.keys(taxes).forEach(k => {\n let e = taxes[k]\n e['name'] = k\n taxes_aux.push(e)\n});\n\nlet bases_aux = JSON.parse(JSON.stringify(taxes_aux))\n\nbases_aux.forEach(e => {\n e['name'] = 'base_'+e['name']\n e['text'] = 'BASE '+e['text']\n});\n\nlet account_aux = JSON.parse(JSON.stringify(taxes_aux))\n\naccount_aux.forEach(e => {\n e['name'] = 'account_'+e['name']\n e['text'] = 'Account '+e['text']\n});\n\nlet detail_aux = JSON.parse(JSON.stringify(taxes_aux))\n\ndetail_aux.forEach(e => {\n e['name'] = 'detail_'+e['name']\n e['text'] = 'Detail '+e['text']\n});\n\nlet taxes_aux_cp = JSON.parse(JSON.stringify(taxes_aux))\nlet not_ret_aux = []\ntaxes_aux_cp.forEach(e => {\n if(!e['name'].includes('_re_')){\n e['name'] = 'not_ret_'+e['name']\n e['text'] = 'Not Ret '+e['text']\n not_ret_aux.push(e)\n }\n \n});\n\ntaxes_aux_cp = JSON.parse(JSON.stringify(taxes_aux))\nlet not_apl_ret_aux = []\ntaxes_aux_cp.forEach(e => {\n if(!e['name'].includes('_re_')){\n e['name'] = 'not_apl_ret_'+e['name']\n e['text'] = 'Not Apl Ret '+e['text']\n not_apl_ret_aux.push(e)\n }\n \n});\n\ntaxes_aux_cp = JSON.parse(JSON.stringify(taxes_aux))\nlet ret_base_aux = []\ntaxes_aux_cp.forEach(e => {\n if(!e['name'].includes('_re_')){\n e['name'] = 'ret_base_'+e['name']\n e['text'] = 'Ret Base '+e['text']\n ret_base_aux.push(e)\n }\n \n});\n\nconst INFO_LABELS_1 = [\n { name: \"inv_number\", color: \"red\", text: \"Num. fra\" },\n { name: \"supplier\", color: \"orange\", text: \"Proveedor\" },\n { name: \"vat_supplier\", color: \"orange\", text: \"CIF Proveedor\" },\n { name: \"customer\", color: \"orange\", text: \"Cliente\" },\n { name: \"vat_customer\", color: \"orange\", text: \"CIF Cliente\" },\n //{name: \"tax_type\", color: \"yellow\", text:\"Tax type\"},\n //{name: \"tax_amount\", color: \"green\", text:\"Tax amount\"},\n]\n\nconst INFO_LABELS_2 = [\n //{name: \"base_amount\", color: \"purple\", text:\"Base amount\"},\n { name: \"total_amount\", color: \"pink\", text: \"Importe total\" },\n { name: \"invoice_date\", color: \"indigo\", text: \"Fecha fra\" },\n { name: \"due_date\", color: \"lime\", text: \"Vencimiento\" },\n { name: \"payment_method\", color: \"teal\", text: \"Met. pago\" },\n { name: \"retention_type\", color: \"cyan\", text: \"Tipo retención\" },\n { name: \"retention_amount\", color: \"light-green\", text: \"Retención\" },\n { name: \"third_concept\", color: \"crimson\", text: \"Concepto\" },\n { name: \"other_amounts\", color: \"light-blue\", text: \"Suplidos\" },\n { name: \"subsidized_amount\", color: \"light-blue\", text: \"Importe subvencionado\" },\n { name: \"amount_exempt\", color: \"deep-purple\", text: \"Amount exempt(not in ba)\" },//620\n { name: \"amount_to_pay\", color: \"amber\", text: \"Amount to pay\" },\n { name: \"delivery_note_number\", color: \"#B0B0B0\", text: \"Número Albarán\" },\n //{name: \"phones\", color: \"#04D5DB\", text:\"Phones\"},\n //{name: \"phone_amounts\", color: \"#B91AD3\", text:\"Phones amounts\"},\n { name: \"background\", color: \"#CCCCCC\", text: \"Background\" },]\n\n\nexport const INFO_LABELS = INFO_LABELS_1.concat(INFO_LABELS_2)\n\nexport const BASES_LABELS = bases_aux.concat([\n { name: \"base_vat_4_5\", color: \"blue\", text: \"Base IVA+RE 4%+0.5%\" },\n { name: \"base_vat_5_625\", color: \"blue\", text: \"Base IVA+RE 5%+0.62%\" },\n { name: \"base_vat_11_4\", color: \"blue\", text: \"Base IVA+RE 10%+1.4%\" },\n { name: \"base_vat_26_2\", color: \"blue\", text: \"Base IVA+RE 21%+5.2%\" },\n { name: \"base_vat_75_1\", color: \"blue\", text: \"Base IVA+RE 7.5%+1%\" },\n { name: \"base_vat_2_026\", color: \"blue\", text: \"Base IVA+RE 2%+0.26%\" },\n { name: \"base_multi\", color: \"blue\", text: \"Multi Base\" }\n])\n\nexport const ACCOUNT_LABELS = account_aux.concat([\n { name: \"account_vat_4_5\", color: \"blue\", text: \"Account IVA+RE 4%+0.5%\" },\n { name: \"account_vat_5_625\", color: \"blue\", text: \"Account IVA+RE 5%+0.62%\" },\n { name: \"account_vat_11_4\", color: \"blue\", text: \"Account IVA+RE 10%+1.4%\" },\n { name: \"account_vat_26_2\", color: \"blue\", text: \"Account IVA+RE 21%+5.2\" },\n { name: \"account_vat_75_1\", color: \"blue\", text: \"Account IVA+RE 7.5%+1%\" },\n { name: \"account_vat_2_026\", color: \"blue\", text: \"Account IVA+RE 2%+0.26%\" },\n { name: \"account_multi\", color: \"blue\", text: \"Multi Account\" },\n])\n\nexport const DETAIL_FIELDS = detail_aux.concat([\n { name: \"detail_vat_4_5\"},\n { name: \"detail_vat_5_625\"},\n { name: \"detail_vat_11_4\"},\n { name: \"detail_vat_26_2\"},\n { name: \"detail_vat_75_1\"},\n { name: \"detail_vat_2_026\"},\n { name: \"detail_multi\"},\n])\n\nexport const TAXES_LABELS = taxes_aux.concat([\n { name: \"vat_4_5\", color: \"blue\", text: \"IVA+RE 4%+0.5%\" },\n { name: \"vat_5_625\", color: \"blue\", text: \"IVA+RE 5%+0.62%\" },\n { name: \"vat_11_4\", color: \"blue\", text: \"IVA+RE 10%+1.4%\" },\n { name: \"vat_26_2\", color: \"blue\", text: \"IVA+RE 21%+5.2%\" },\n { name: \"vat_75_1\", color: \"blue\", text: \"IVA+RE 7.5%+1%\" },\n { name: \"vat_2_026\", color: \"blue\", text: \"IVA+RE 2%+0.26%\" },\n { name: \"inversion_sujeto_pasivo\", color: \"blue\", text: \"Inversión sujeto pasivo\" },\n { name: \"exemcion_igic_minorista\", color: \"blue\", text: \"Exención IGIC minorista\" },\n { name: \"line_code\", color: \"purple\", text: \"Código Línea\" },\n { name: \"line_amount\", color: \"yellow\", text: \"Precio unidad\" },\n { name: \"line_amount_base\", color: \"pink\", text: \"Precio base unidad\" },\n { name: \"line_quantity\", color: \"green\", text: \"Cantidad línea\" },\n { name: \"line_amount_total\", color: \"red\", text: \"Total línea\" },\n { name: \"line_description\", color: \"blue\", text: \"Descripción línea\" },\n { name: \"line_rate\", color: \"light-blue\", text: \"Prc impuesto\" },\n { name: \"line_tax\", color: \"deep-purple\", text: \"Cuota línea\" },\n { name: \"line_total_base\", color: \"cyan\", text: \"Base Total línea\" },\n { name: \"line_uom\", color: \"crimson\", text: \"Unidad de medida\" },\n\n])\n\nexport const INTRACOMUNITARIO_PERCENT_OPTIONS = [\n {text: 'IVA 21%', value: 'vat_21'},\n {text: 'IVA 12%', value: 'vat_12'},\n {text: 'IVA 10.5%', value: 'vat_10_5'},\n {text: 'IVA 10%', value: 'vat_10'},\n {text: 'IVA 7.5%', value: 'vat_75'},\n {text: 'IVA 4%', value: 'vat_4'},\n {text: 'IVA 2%', value: 'vat_2'},\n {text: 'IVA 0%', value: 'vat_0'},\n {text: 'IGIC 20%', value: 'igic_20'},\n {text: 'IGIC 15%', value: 'igic_15'},\n {text: 'IGIC 9.5%', value: 'igic_95'},\n {text: 'IGIC 7%', value: 'igic_7'},\n {text: 'IGIC 5%', value: 'igic_5'},\n {text: 'IGIC 3%', value: 'igic_3'},\n {text: 'IGIC 0%', value: 'igic_0'}\n]\n\nexport const INTRACOMUNITARIO_TYPE_OPTIONS = [\n {text: 'Bienes', value: 'bienes'},\n {text: 'Servicios', value: 'servicios'},\n]\n\nexport const INVERSION_SUJETO_PASIVO_IVA_PERCENT_OPTIONS = [\n {text: 'IVA 21%', value: 'vat_21'},\n {text: 'IVA 12%', value: 'vat_12'},\n {text: 'IVA 10.5%', value: 'vat_10_5'},\n {text: 'IVA 10%', value: 'vat_10'},\n {text: 'IVA 7.5%', value: 'vat_75'},\n {text: 'IVA 4%', value: 'vat_4'},\n {text: 'IVA 2%', value: 'vat_2'},\n]\n\nexport const INVERSION_SUJETO_PASIVO_IGIC_PERCENT_OPTIONS = [\n {text: 'IGIC 3%', value: 'igic_3'},\n {text: 'IGIC 5%', value: 'igic_5'},\n {text: 'IGIC 7%', value: 'igic_7'},\n {text: 'IGIC 9.5%', value: 'igic_95'},\n {text: 'IGIC 15%', value: 'igic_15'},\n {text: 'IGIC 20%', value: 'igic_20'}\n]\n\n// extracomunitario\nexport const IMPORTACIONES_PERCENT_OPTIONS = [\n {text: 'IVA 21%', value: 'vat_21'},\n {text: 'IVA 12%', value: 'vat_12'},\n {text: 'IVA 10.5%', value: 'vat_10_5'},\n {text: 'IVA 10%', value: 'vat_10'},\n {text: 'IVA 7.5%', value: 'vat_75'},\n {text: 'IVA 4%', value: 'vat_4'},\n {text: 'IVA 2%', value: 'vat_2'},\n {text: 'IVA 0%', value: 'vat_0'},\n {text: 'IGIC 20%', value: 'igic_20'},\n {text: 'IGIC 15%', value: 'igic_15'},\n {text: 'IGIC 9.5%', value: 'igic_95'},\n {text: 'IGIC 7%', value: 'igic_7'},\n {text: 'IGIC 5%', value: 'igic_5'},\n {text: 'IGIC 3%', value: 'igic_3'},\n {text: 'IGIC 0%', value: 'igic_0'}\n]\n\nexport const PROVIDER_SOMETHING_OPTIONS = {\n intracomunitario: INTRACOMUNITARIO_PERCENT_OPTIONS,\n inversion_sujeto_pasivo_iva: INVERSION_SUJETO_PASIVO_IVA_PERCENT_OPTIONS,\n inversion_sujeto_pasivo_igic: INVERSION_SUJETO_PASIVO_IGIC_PERCENT_OPTIONS,\n extracomunitario: IMPORTACIONES_PERCENT_OPTIONS,\n is_comerciante_minorista: INVERSION_SUJETO_PASIVO_IGIC_PERCENT_OPTIONS // Son las mismas opciones\n}\n\nexport const PROVIDER_SOMETHING_OPTIONS2 = {\n intracomunitario: INTRACOMUNITARIO_TYPE_OPTIONS,\n extracomunitario: INTRACOMUNITARIO_TYPE_OPTIONS,\n}\n\nexport const NOT_RET_CHECK = not_ret_aux\n\nexport const NOT_APL_RET = not_apl_ret_aux\n\nexport const BASE_RET = ret_base_aux\n\nexport const STANDARD_LABELS = INFO_LABELS_1.concat(BASES_LABELS).concat(TAXES_LABELS).concat(INFO_LABELS_2);\n\nexport const STANDARD_LABELS_CLIENT = STANDARD_LABELS.concat(ACCOUNT_LABELS).concat(DETAIL_FIELDS).concat(NOT_RET_CHECK).concat(NOT_APL_RET).concat(BASE_RET)\n\nexport const DEFAULT_ANNOTATION_LAYER = \"human\";\n\n\nexport const ACCOUNTING_DATE_OPTIONS = [{id:'invoice_date',text:'Fecha de Factura'},{id:'today',text:'Hoy'},{id:'configurated',text:'Fecha Configurable'}]\n\nexport const REGISTRO_DATE_OPTIONS = [{id:'today',text:'Hoy'},{id:'invoice_date',text:'Fecha de Factura'},{id:'configurated',text:'Fecha Configurable'}]\n\nexport const OTHER_DOCUMENT_TYPES = [\n {\n id: 'payroll',\n text: 'Nómina'\n }, {\n id: 'contract',\n text:'Contrato'\n }, {\n id: 'model_tax',\n text:'Modelos/Impuestos'\n }, {\n id: 'certificate',\n text:'Certificado'\n }, {\n id: 'bill',\n text:'Facturas'\n }, {\n id: 'other',\n text:'Otros'\n }\n]\n\nexport const DOCUMENT_PERIOD_OPTIONS = [{id:'monthly',text:'Mensual'}, {id:'quarterly',text:'Trimestral'},{id:'annual',text:'Anual'}]\nexport const DOCUMENT_PERIOD_OPTIONS_MONTHLY = [\n {id:1,text:'Enero'},\n {id:2,text:'Febrero'},\n {id:3,text:'Marzo'},\n {id:4,text:'Abril'},\n {id:5,text:'Mayo'},\n {id:6,text:'Junio'},\n {id:7,text:'Julio'},\n {id:8,text:'Agosto'},\n {id:9,text:'Septiembre'},\n {id:10,text:'Octubre'},\n {id:11,text:'Nomviembre'},\n {id:12,text:'Diciembre'},\n]\nexport const DOCUMENT_PERIOD_OPTIONS_QUARTERLY = [\n {id:'quarterly_1',text:'Primero'},\n {id:'quarterly_2',text:'Segundo'},\n {id:'quarterly_3',text:'Tercero'}\n]","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"fullscreen\":\"\",\"hide-overlay\":\"\",\"transition\":\"dialog-bottom-transition\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.stopPropagation();_vm.dialog = true}}},[_vm._v(\"\\n \"+_vm._s(_vm.name)+\"\\n \")])]}}]),model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-toolbar',{staticClass:\"toolbar\",attrs:{\"dark\":\"\",\"color\":\"primary\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){_vm.dialog = false}}},[_vm._m(0)],1),_c('v-toolbar-title',[_vm._v(_vm._s(_vm.name))])],1),_c('v-card',{staticStyle:{\"max-height\":\"100%\",\"height\":\"100%\"}},[_c('div',{staticStyle:{\"position\":\"relative\",\"max-height\":\"7.5%\",\"height\":\"7.5%\"}}),_c('div',{staticClass:\"pa-12\",staticStyle:{\"max-height\":\"92.5%\",\"height\":\"92.5%\",\"overflow-y\":\"scroll\"}},[_vm._t(\"default\",function(){return [_c('a',{attrs:{\"href\":\"https://wordtohtml.net/\"}},[_vm._v(\"https://wordtohtml.net/\")]),_vm._v(\"\\n Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ipsum,\\n ratione laboriosam accusantium quaerat earum asperiores ut, nemo\\n facere molestiae est maxime. Eius voluptate iste cumque a nihil\\n laboriosam nobis deserunt?\\n \")]})],2)])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-close\")])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PolicyDialogLink.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PolicyDialogLink.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PolicyDialogLink.vue?vue&type=template&id=9a5d0a08&scoped=true&\"\nimport script from \"./PolicyDialogLink.vue?vue&type=script&lang=js&\"\nexport * from \"./PolicyDialogLink.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PolicyDialogLink.vue?vue&type=style&index=0&id=9a5d0a08&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 \"9a5d0a08\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCard,VDialog,VIcon,VToolbar,VToolbarTitle})\n","import Vue from 'vue'\nimport Vuetify from 'vuetify/lib'\n\nVue.use(Vuetify)\n\nexport default new Vuetify({\n\ticons: {\n\t\ticonfont: 'mdi'\n\t},\n\ttheme: {\n\t\tdark: false,\n\t\tthemes:{\n\t\t\tlight:{\n\t\t\t\tprimary: '#663399',\n\t\t\t\tsecondary: '#33CCFF',\n\t\t\t\terror: '#ff3333',\n\t\t\t\tsuccess: '#33cc66',\n\t\t\t\tprimary_blue: '#060647',\n\t\t\t}\n\t\t}\n\t}\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home\"},[_c('HelloWorld',{attrs:{\"msg\":\"Welcome to Your Vue.js App\"}})],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('v-container',[_c('v-layout',{attrs:{\"text-center\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-img',{staticClass:\"my-3\",attrs:{\"src\":require('../assets/logo.svg'),\"contain\":\"\",\"height\":\"200\"}})],1),_c('v-flex',{attrs:{\"mb-4\":\"\"}},[_c('h1',{staticClass:\"display-2 font-weight-bold mb-3\"},[_vm._v(\"\\n\\t\\t\\t\\tWelcome to Vuetify\\n\\t\\t\\t\")]),_c('p',{staticClass:\"subheading font-weight-regular\"},[_vm._v(\"\\n\\t\\t\\t\\tFor help and collaboration with other Vuetify developers,\\n\\t\\t\\t\\t\"),_c('br'),_vm._v(\"please join our online\\n\\t\\t\\t\\t\"),_c('a',{attrs:{\"href\":\"https://community.vuetifyjs.com\",\"target\":\"_blank\"}},[_vm._v(\"Discord Community\")])])]),_c('v-flex',{attrs:{\"mb-5\":\"\",\"xs12\":\"\"}},[_c('h2',{staticClass:\"headline font-weight-bold mb-3\"},[_vm._v(\"What's next?\")]),_c('v-layout',{attrs:{\"justify-center\":\"\"}},_vm._l((_vm.whatsNext),function(next,i){return _c('a',{key:i,staticClass:\"subheading mx-3\",attrs:{\"href\":next.href,\"target\":\"_blank\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(next.text)+\"\\n\\t\\t\\t\\t\")])}),0)],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"mb-5\":\"\"}},[_c('h2',{staticClass:\"headline font-weight-bold mb-3\"},[_vm._v(\"Important Links\")]),_c('v-layout',{attrs:{\"justify-center\":\"\"}},_vm._l((_vm.importantLinks),function(link,i){return _c('a',{key:i,staticClass:\"subheading mx-3\",attrs:{\"href\":link.href,\"target\":\"_blank\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(link.text)+\"\\n\\t\\t\\t\\t\")])}),0)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HelloWorld.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HelloWorld.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./HelloWorld.vue?vue&type=template&id=180a6a5c&\"\nimport script from \"./HelloWorld.vue?vue&type=script&lang=js&\"\nexport * from \"./HelloWorld.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VContainer,VFlex,VImg,VLayout})\n","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=1275c96a&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.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","import Vuex from 'vuex'\nimport { getField, updateField } from 'vuex-map-fields';\n//import router from '@/router'\nimport {client, setHeaders, query_dispatcher} from \"@/api/client\";\nimport axios from 'axios';\nimport vuetify from '../plugins/vuetify';\nimport {Auth} from 'aws-amplify'\nimport { resolve } from 'mathjs';\n\nexport function buildStore(modules, state, debug, extraGetters, extraActions){\n return new Vuex.Store({\n strict: debug,\n modules: modules,\n state: state,\n getters: {\n ...extraGetters,\n colors(state, getters, rootState, rootGetters) {\n var result = {};\n state.labels[rootGetters[\"documents/annotationLayer\"]].forEach(label => {\n result[label.name] = label.color;\n });\n return result;\n },\n availableTags(state, _, __, rootGetters) {\n var result = []\n state.labels[rootGetters[\"documents/annotationLayer\"]].forEach(v => result.push({ value: v.name, text: v.text }))\n return result\n },\n \n get_companies(state) {\n // bus.$emit('refresh');\n return state.companies\n },\n get_companydbs(state) {\n // if (state.companydbs.length == 0) { \n // bus.$emit('refresh');\n // }\n return state.companydbs;\n },\n get_suppliers(state) {\n return state.suppliers\n },\n get_customers(state) {\n return state.customers\n },\n get_tags(state) {\n return state.tags\n },\n getLabels(state, _, __, rootGetters) {\n return state.labels[rootGetters[\"documents/annotationLayer\"]]\n },\n getSessionInformation(state){\n return state.session_information;\n },\n getCurrentCompany(state) {\n return state.currentCompany;\n },\n got_feature:(state)=>(code)=>{\n if (state.currentCompany && state.currentCompany.available_features){\n return !!state.currentCompany.available_features[code]\n }\n else{\n return false\n }\n },\n getField,\n get_retention_types(state) {\n return state.retentionTypes;\n },\n get_retention_types_docs(state) {\n return state.docRetentionTypes;\n },\n get_automatic_payment_account_types(state){\n return state.automaticPaymentAccountTypes;\n },\n fetching_companydbs (state){\n return state.fetching_companydbs\n },\n get_dashboard_data (state) {\n return state.dashboard_data;\n },\n supplierRowsPerPage: state => state.supplierRowsPerPage,\n customerRowsPerPage: state => state.customerRowsPerPage,\n docStates: state => state.docStates,\n is_mobile () {\n return ['xs', 'sm'].includes(vuetify.framework.breakpoint.name);\n },\n screen_size () {\n return vuetify.framework.breakpoint.name;\n },\n fixMotxo (state){\n //return false;\n //return state.session_information.hasOwnProperty('username') && (['test.toni','support.gemma','support.mauro','coneptum'].includes(state.session_information.username))\n return state.session_information.hasOwnProperty('username') && (['coneptum'].includes(state.session_information.username))\n },\n labels(state) {\n return state.labels;\n },\n getIntActivities(state){\n const activities = JSON.parse(JSON.stringify(state.activities));\n activities.map(activity => {\n activity.code = parseInt(activity.code)\n })\n return activities\n },\n getExpensType(state) {\n return state.expens_type;\n },\n getIncomeType(state) {\n return state.income_type;\n },\n },\n \n mutations: {\n // SET_CURRENT_DOC(state, doc) {\n // state.currentDoc = doc\n // },\n \n // SET_SELECTED_TEXT(state, i) {\n // state.selectedText = i\n // if (i !== null && state.selectedLabel !== null) {\n // state.currentDoc['text_tagging'][i].label[state.annotationLayer] = state.selectedLabel\n // if (!['error_validating_data', 'error_checking_taxes'].includes(state.currentDoc.state)) {\n // state.currentDoc.state = 'pending_review'\n // }\n // }\n // },\n \n // SET_DOC_ID(state, docId) {\n // state.docId = docId\n // },\n // SET_WRITING(state, val) {\n // state.writing = val\n // },\n // SET_CREATING_MOVES(state, val) {\n // state.creating_moves = val\n // },\n SET_CURRENT_PAGE(state, num) {\n state.currentPage = num;\n },\n SET_IS_LOGGED(state, isLogged){\n state.isLogged = isLogged;\n },\n SET_IS_LOGGED_PROMISE(state, promise){\n state.isLoggedPromise = promise;\n },\n ADD_LABEL(state, label) {\n state.nextLabel = label;\n },\n ADD_LABEL_DONE(state, label) {\n state.nextLabel = label;\n },\n SET_SEARCH(state, search) {\n state.search_state = search\n },\n // SET_SELECTED_LABEL(state, label) {\n // state.selectedLabel = label\n // },\n // SET_DOC_FETCHED(state, val) {\n // state.docFetched = val\n // },\n \n // INC_LABEL(state, delta) {\n // if (state.selectedLabel === null) {\n // state.selectedLabel = state.labels[state.annotationLayer][0].name\n // } else {\n // const newIndex = (state.labels.findIndex(x => x.name === state.selectedLabel) + delta + state.labels[state.annotationLayer].length) % state.labels[state.annotationLayer].length\n // state.selectedLabel = state.labels[state.annotationLayer][newIndex].name\n // }\n // },\n \n // SET_CURRENT_DOC_STATE(state, value) {\n // if (state.currentDoc) {\n // state.currentDoc.state = value\n // }\n // },\n SET_COMPANIES(state, value) {\n state.companies = value\n },\n SET_COMPANY_DBS(state, value) {\n console.log('SET_COMPANY_DBS!!!!',value.length)\n state.companydbs = value\n },\n SET_PROJECTS(state, value) {\n state.projects = value\n },\n SET_CHANNELS(state, value) {\n state.channels = value;\n },\n SET_ACTIVITIES(state, value) {\n state.activities = value\n },\n SET_EXPENS_TYPE(state, value) {\n state.expens_type = value;\n },\n SET_INCOME_TYPE(state, value) {\n state.income_type = value;\n },\n SET_SUPPLIERS(state, value) {\n state.suppliers = value\n },\n SET_CUSTOMERS(state, value) {\n state.customers = value\n },\n SET_CURRENT_COMPANY(state, value) {\n state.currentCompany = value\n },\n SET_SESSION_INFORMATION(state, value){\n state.session_information = value\n },\n SET_TAGS(state, value) {\n state.tags = value\n },\n updateField,\n SET_RETENTION_TYPES(state, value) {\n state.retentionTypes = value\n },\n SET_DOC_RETENTION_TYPES(state, value) {\n //state.docRetentionTypes = value\n },\n SET_AUTOMATIC_PAYMENT_ACCOUNT_TYPES(state, value) {\n //state.automaticPaymentAccountTypes = value\n },\n FETCHING_COMPANY_DBS(state, value){\n state.fetching_companydbs = value\n },\n SET_DASHBOARD_DATA(state, value) {\n state.dashboard_data = value;\n },\n SET_SUPPLIER_ROWS_PER_PAGE(state, value) {\n state.supplierRowsPerPage = value;\n },\n SET_CUSTOMER_ROWS_PER_PAGE(state, value) {\n state.customerRowsPerPage = value;\n },\n SET_OBJECT_LIST_ITEMS(state, value) {\n state.objectListItems = value;\n },\n SET_OBJECT_LIST_ITEMS_LENGTH(state, value) {\n state.objectListItemsLength = value;\n },\n SET_OBJECT_LIST_LOADING(state, value) {\n state.objectListLoading = value;\n },\n UNSELECT_OBJECT_LIST_SELECTED(state) {\n state.objectListSelected = [];\n },\n SET_OBJECT_LIST_FILTERS(state, value) {\n state.objectListFilters = value;\n },\n SET_BROWSER_FILTS(state, value) {\n state.browserFilts = value;\n },\n SET_BROWSER_FILTERS_VALUE(state, {i, value}) {\n state.browserFiltersValues[i] = value;\n },\n SET_ZONES(state, { current_company_id, userData, permission, got_feature, hasEnvoiceContract, showTrialEnvoice}) {\n\n let zones = [\n {\n heading: \"Documentos\",\n items: [\n // {\n // icon: \"mdi-file-edit-outline\",\n // text: \"Crear facturas\",\n // link: current_company_id ? `/${current_company_id}/invoice-editor` : '/invoice-editor',\n // shouldShow: true,\n // },\n {\n icon: \"mdi-file-document-outline\",\n img: \"/navigation/invoices.svg\",\n text: \"Facturas\",\n link: current_company_id ? `/${current_company_id}/documents` : '/documents',\n shouldShow: userData.can_view_invoices && !got_feature('feature_hide_invoices'),\n }\n ]\n },\n {\n heading: \"Empresas\",\n items: [ \n {\n icon: \"mdi-card-account-details-outline\",\n img: \"/navigation/suppliers.svg\",\n text: \"Proveedores\",\n link: current_company_id ? `/${current_company_id}/suppliers` : '/suppliers',\n shouldShow: !permission.is_readonly && !got_feature('feature_hide_invoices'),\n },\n {\n icon: \"mdi-folder-account-outline\",\n img: \"/navigation/clients.svg\",\n text: \"Clientes\",\n link: current_company_id ? `/${current_company_id}/customers` : '/customers',\n shouldShow: !permission.is_readonly && !got_feature('feature_hide_out_invoice') && !got_feature('feature_hide_invoices'),\n },\n {\n icon: \"mdi-bank\",\n img: \"/navigation/banks.svg\",\n text: \"Bancos\",\n new_label: true,\n link: current_company_id ? `/${current_company_id}/bank-accounts` : '/banks',\n shouldShow: (got_feature('feature_can_user_bank_account') || got_feature('feature_bank_csv')) && userData.can_view_banks && !got_feature('feature_hide_banks'),\n },\n /*{\n icon: \"mdi-alpha-e-circle-outline\", \n text: \"Efectos\",\n new_label: false,\n link: current_company_id ? `/${current_company_id}/effects` : '/banks',\n shouldShow: got_feature('feature_can_use_payable_or_receivable_effects'),\n },*/\n {\n icon: \"mdi-invoice-list\",\n img: \"/navigation/factura_e.svg\",\n text: \"Factura electrónica\",\n new_label: true,\n link: current_company_id ? `/${current_company_id}/invoice-trial` : '/invoice-trial',\n shouldShow: showTrialEnvoice && (userData.available_features && userData.can_view_e_invoice) && !got_feature('feature_hide_e_invoices'),\n },\n {\n icon: \"mdi-invoice-list\",\n img: \"/navigation/factura_e.svg\",\n text: \"Factura electrónica\",\n new_label: false,\n link: current_company_id ? `/${current_company_id}/invoice-list` : '/invoice-list',\n shouldShow: hasEnvoiceContract && (userData.available_features && userData.can_view_e_invoice) && !got_feature('feature_hide_e_invoices'),\n },\n // {\n // icon: \"mdi-file-upload-outline\",\n // text: \"Subir documentos\",\n // link: current_company_id ? `/${current_company_id}/generic-document-loader` : '/generic-document-loader',\n // shouldShow: permission.can_write && (userData.available_features && userData.available_features.feature_other_documents),\n // },\n {\n icon: \"mdi-file-document-outline\",\n img: \"/navigation/documents.svg\",\n text: \"Documentos\",\n new_label: true,\n link: current_company_id ? `/${current_company_id}/generic-documents/` : '/generic-documents/',\n shouldShow: !permission.is_readonly && userData.available_features && userData.available_features.feature_other_documents,\n },\n {\n icon: \"mdi-warehouse\",\n //img: \"/navigation/documents.svg\",\n text: \"Mis Registros\",\n new_label: true,\n link: current_company_id ? `/${current_company_id}/entities-list/` : '/entities-list/',\n shouldShow: !permission.is_readonly && userData.available_features && userData.available_features.feature_other_documents,\n },\n ]\n },\n {\n heading: \"Ajustes\",\n items: [\n {\n icon: \"mdi-cog-outline\",\n img: \"/navigation/settings.svg\",\n text: \"Ajustes\",\n link: \"/settings\",\n shouldShow: userData.available_features && (userData.available_features.feature_config_settings) && !got_feature('feature_hide_invoices'),\n },\n {\n icon: \"mdi-trash-can-outline\",\n img: \"/navigation/delete.svg\",\n text: \"Papelera\",\n link: current_company_id ? `/${current_company_id}/deleted-documents` : '/deleted-documents',\n shouldShow: userData.available_features && userData.available_features.feature_deleted_documents && !got_feature('feature_hide_invoices'),\n },\n ]\n },\n \n ];\n zones.forEach(zone => {\n zone.items.forEach(item => {\n if (userData && userData.user_role && userData.user_role.value === \"customer_other_docs\") {\n if (item.text === \"Documentos\" && userData.available_features && userData.available_features.feature_other_documents) {\n item.shouldShow = true;\n } else {\n item.shouldShow = false;\n }\n }\n });\n });\n state.zones = zones;\n },\n SET_USER_ITEMS(state, user_items) {\n state.user_items = user_items;\n }, \n SET_SELL_TERMS_DIALOG(state, sellTermsDialog) {\n state.sellTermsDialog = sellTermsDialog;\n },\n SET_MENU(state, menu) {\n state.menu = menu;\n },\n SET_OAUTH_URL(state,oauth_url){\n state.oauth_url = oauth_url;\n },\n SET_OAUTH_MSG(state, oauth_msg) {\n state.oauth_msg = oauth_msg\n },\n SET_DEFAULT_ACTIVITY(state,default_activity){\n state.default_activity = default_activity\n },\n SET_OAUTH_PARAMS_STORAGE(state,oauth_params_storage){\n state.oauth_params_storage = oauth_params_storage\n },\n SET_EXE_LINK(state, link) {\n state.exe_link = link;\n },\n },\n \n actions: {\n ...extraActions,\n async waitForLoggedIn({state}){\n try {\n await state.isLoggedPromise;\n let isLogged = false;\n if (state.isLogged === 'yes') {\n isLogged = true;\n }\n return isLogged;\n } catch {\n return false;\n }\n },\n \n async setExeLink({ commit }) {\n let response = await client.get('python_files/?limit=1&version__startswith=c');\n if (response.data && response.data.results && response.data.results[0]) {\n commit(\"SET_EXE_LINK\", response.data.results[0]['python_exe']);\n }\n },\n \n async setZones({ commit, rootGetters }, current_company_id) {\n const userData = rootGetters['me/userData'];\n const permission = rootGetters[\"permissions/permission\"];\n const got_feature = rootGetters[\"got_feature\"];\n let args = { user_id: userData.id, company_id: current_company_id};\n let res = await query_dispatcher.dispatch('check.user.has.active.envoice.contract', args)\n let hasEnvoiceContract = res['company']\n let showTrialEnvoice = !res['any']\n commit('SET_ZONES', {current_company_id, userData, permission, got_feature, hasEnvoiceContract, showTrialEnvoice});\n },\n \n setCurrentPage(context, num) {\n context.commit('SET_CURRENT_PAGE', num);\n },\n addLabel(context, label) {\n context.commit('ADD_LABEL', label);\n },\n addLabelDone(context) {\n context.commit('ADD_LABEL_DONE');\n },\n setSearch(context, search) {\n context.commit('SET_SEARCH', search)\n },\n fixCompanyCIF(context, {company_id,cif,url}){\n return new Promise((resolve, reject) => {\n client.patch(url + company_id + '/',{cif:cif}).then(() => {\n resolve()\n }).catch(err=>{\n reject(err)\n });\n })\n },\n setProjects(context, companydb_id) {\n if(client){\n client.get('projects/?limit=1000&companydb_id='+companydb_id).then(response => {\n context.commit('SET_PROJECTS', response.data.results)\n });\n }\n },\n setChannels(context, companydb_id) {\n if(client){\n client.get('channels/?limit=1000&companydb_id='+companydb_id).then(response => {\n context.commit('SET_CHANNELS', response.data.results)\n });\n }\n },\n setActivities(context, companydb_id) {\n if(client){\n client.get('activities/?limit=1000&companydb_id='+companydb_id).then(response => {\n context.commit('SET_ACTIVITIES', response.data.results)\n context.dispatch(\"documents/setFiltersDataActividadStrValues\", response.data.results);\n context.dispatch(\"documents/setFiltersDataActividadValues\", response.data.results)\n });\n }\n },\n setExpensIncomeType(context, companydb_id) {\n if(client){\n client.get('expens_income_types/?limit=1000&companydb_id='+companydb_id).then(response => {\n context.commit('SET_EXPENS_TYPE', response.data.results.filter(item => item.type === 'expens'))\n context.commit('SET_INCOME_TYPE', response.data.results.filter(item => item.type === 'income'))\n });\n }\n },\n saveActivities({ commit, dispatch }, { activities }) {\n commit('SET_ACTIVITIES', activities);\n dispatch(\"documents/setFiltersDataActividadStrValues\", activities);\n dispatch(\"documents/setFiltersDataActividadValues\", activities);\n },\n \n setSuppliers(context, companydb_id) {\n if(client){\n client.get('get_all_suppliers/?companydb_id=' + companydb_id).then(response => {\n context.commit('SET_SUPPLIERS', response.data.results)\n });\n }\n },\n setSupps(context, suppliers) {\n context.commit('SET_SUPPLIERS', suppliers)\n },\n setCustomers(context, companydb_id) {\n if(client){\n client.get('get_all_customers/?companydb_id=' + companydb_id).then(response => {\n context.commit('SET_CUSTOMERS', response.data.results)\n });\n }\n },\n setCusts(context, customers) {\n context.commit('SET_CUSTOMERS', customers)\n },\n setTags(context, companydb_id) {\n if(client){\n client.get('tags/?limit=100').then(response => {\n context.commit('SET_TAGS', response.data.results)\n });\n }\n },\n setCurrentCompany(context, company) {\n context.commit('SET_CURRENT_COMPANY', company);\n if(company && company.configuration){\n context.commit('SET_DEFAULT_ACTIVITY', company.configuration.actividad)\n }\n if (company) {\n let keyLastCompany = context.getters['setting_repository/keyLastCompany'];\n context.dispatch('setting_repository/setSettings', {settings: keyLastCompany, value: company.id});\n }\n },\n downloadExcel(context){\n return new Promise((resolve, reject) => {\n client.post('download_excel/', {'company_db_id':context.state.currentCompany.id}).then(resp => {\n let fileURL = window.URL.createObjectURL(new Blob([resp.data]));\n let fileLink = document.createElement(\"a\");\n \n fileLink.href = fileURL;\n fileLink.setAttribute(\"download\", \"facturas.csv\");\n document.body.appendChild(fileLink);\n \n fileLink.click();\n resolve()\n }).catch(err => {\n reject(err);\n })\n })\n },\n mergeDocuments(context, docs) {\n return new Promise((resolve, reject) => {\n let params = { 'ids': [] }\n for (let i in docs) {\n params['ids'].push(docs[i].id)\n }\n client.post('merge_documents/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n })\n })\n },\n splitDocument(context, docs) {\n return new Promise((resolve, reject) => {\n let params = { 'id': docs[0].id }\n client.post('split_document/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n })\n })\n },\n contabilizar({}, params) {\n return new Promise((resolve, reject) => {\n client.post('contabilizar/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n },\n signOut: ({commit, dispatch}) =>\n new Promise((resolve, reject)=> {\n Auth.signOut().then(result=>{\n commit('SET_COMPANY_DBS', [])\n dispatch('setCurrentCompany', null)\n commit('SET_IS_LOGGED','no') \n resolve(result)\n }).catch(reject)\n }),\n signInUser: ({commit, state}, cred) =>\n new Promise((resolve, reject)=> {\n commit('SET_IS_LOGGED_PROMISE', Auth.signIn(cred.username, cred.password))\n state.isLoggedPromise.then(user=>{\n // commit('SET_USER', user)\n resolve(user)\n // dispatch('fetchProfile',user).then(response=>{\n // resolve(user)\n // return response\n // }).catch(reject)\n }).catch(reject)\n }),\n signUpUser: (({dispatch}, cred) => {\n return new Promise((resolve, reject) => {\n axios.post(process.env.VUE_APP_API_ENDPOINT+'/signup/', cred).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n }),\n changePassword: (context, cred) =>\n new Promise((resolve, reject)=> {\n Auth.changePassword(context.state.session_information, cred.oldpassword, cred.password).then(()=>{\n // commit('SET_USER', user)\n resolve()\n // dispatch('fetchProfile',user).then(response=>{\n // resolve(user)\n // return response\n // }).catch(reject)\n }).catch(reject)\n }),\n refreshSession: (context) => \n new Promise((resolve, reject) => {\n Auth.currentSession().then(session => {\n let headers = {'Authorization':'Bearer ' + session.idToken.jwtToken}\n setHeaders(headers)\n Auth.currentUserPoolUser()\n .then(user => {\n context.commit('SET_SESSION_INFORMATION', user)\n resolve(session)\n }).catch(reject)\n }).catch(reject)\n }),\n\n passwordResetUser: (({dispatch}, data) => { \n return new Promise((resolve, reject) => {\n axios.post(process.env.VUE_APP_API_ENDPOINT+'/password_reset/', data).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n }),\n passwordResetkeyUser: (({dispatch}, data) => { \n return new Promise((resolve, reject) => {\n axios.post(process.env.VUE_APP_API_ENDPOINT+'/password_reset_from_key/'+data['uidb36']+ '-' + data['key'] + '/', data).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n }),\n confirmEmailUser: (({dispatch}, data) => { \n return new Promise((resolve, reject) => {\n client.post('sync_command_bus/', {'command':{cmd_name:'confirm.email.user', code:data['code']}}).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n }),\n resendConfirmationEmailUser: (({dispatch}, data) => { \n return new Promise((resolve, reject) => {\n client.post('sync_command_bus/', {'command':{cmd_name:'resend.confirmation.email.user'}}).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n }),\n setJWTToken: (context, info) =>{\n context.commit('SET_SESSION_INFORMATION', info)\n let headers = {'Authorization':'Bearer ' + info.signInUserSession.idToken.jwtToken}\n setHeaders(headers)\n context.commit('SET_IS_LOGGED','yes');\n \n function refreshSession(){\n if(new Date(context.getters.getSessionInformation.signInUserSession.accessToken.payload.exp * 1000) {\n client.get('get_choices_fields/').then(response => {\n context.commit('SET_RETENTION_TYPES', response.data.retention_types);\n resolve();\n }).catch(error => { reject(error) });\n });\n },\n setDocRetentionTypes(context) {\n return new Promise((resolve, reject) => {\n client.get('get_retention_types_choices/').then(response => {\n context.commit('SET_DOC_RETENTION_TYPES', response.data.retention_types);\n resolve();\n }).catch(error => { reject(error) });\n });\n },\n setAutomaticPaymentAccountTypes(context) \n {\n return new Promise((resolve, reject) => {\n client.get('get_payment_account_choices/')\n .then(response => {\n context.commit('SET_AUTOMATIC_PAYMENT_ACCOUNT_TYPES', response.data.automatic_payment_account_types);\n resolve()\n })\n .catch(error => { reject(error)});\n })\n },\n \n getObjectData(context, url) {\n return new Promise((resolve, reject) => {\n client.get(url).then(response => {\n resolve();\n }).catch(error => { reject(error) });\n });\n },\n setDashboardData(context, contract) {\n return new Promise((resolve, reject) => {\n let filter = '';\n if (contract) {\n filter = '?contract=' + contract;\n }\n client.get('get_dashboard/' + filter).then(response => {\n resolve(response);\n }).catch(error => { reject(error) });\n })\n },\n setLoginas(context, userUsername) {\n return new Promise((resolve, reject) => { \n client.post('set_loginas/', {'logged_username': context.state.session_information.username, 'user_username': userUsername}).then(response => {\n resolve();\n }).catch(error => { reject(error) });\n })\n },\n unsetLoginas(context, parameters) {\n return new Promise((resolve, reject) => {\n client.post('unset_loginas/', parameters).then(response => {\n resolve();\n }).catch(error => { reject(error) });\n })\n },\n changeTrainerMode(context) {\n return new Promise((resolve, reject) => {\n client.post('change_trainer_mode/').then(response => {\n resolve();\n }).catch(error => { reject(error) });\n })\n },\n changeDebuggerMode(context) {\n return new Promise((resolve, reject) => {\n client.post('change_debugger_mode/').then(response => {\n resolve();\n }).catch(error => { reject(error) });\n })\n },\n setSupplierRowsPerPage(context, rowsNumber) { \n context.commit('SET_SUPPLIER_ROWS_PER_PAGE', rowsNumber);\n },\n setCustomerRowsPerPage(context, rowsNumber) { \n context.commit('SET_CUSTOMER_ROWS_PER_PAGE', rowsNumber);\n },\n \n refreshData(context, filts) {\n if (context.state.currentCompany || context.state.objectListBaseUrl == 'companydbs/') {\n const { page, itemsPerPage, sortBy, sortDesc } = context.state.objectListOptions;\n let sortField = undefined;\n let sortOrder = undefined;\n if(sortBy){\n sortField = sortBy[0];\n }\n if(sortDesc){\n sortOrder = sortDesc[0];\n }\n if (itemsPerPage) {\n let offset = (page - 1) * itemsPerPage;\n context.commit('UNSELECT_OBJECT_LIST_SELECTED')\n context.commit('SET_OBJECT_LIST_LOADING', true);\n \n let filters = '?limit=' + itemsPerPage + '&offset=' + offset;\n if (context.state.objectListBaseUrl != 'companydbs/') {\n filters += '&company_id=' + context.state.currentCompany.id;\n }\n if (filts) {\n filters += filts;\n }\n if (sortField) {\n if(Object.keys(context.state.strange_order_fields).includes(sortField)){\n sortField = context.state.strange_order_fields[sortField]\n }\n filters += '&ordering=';\n if (sortOrder) {\n filters += '-';\n }\n filters += sortField;\n }\n var url = context.state.objectListBaseUrl + filters; \n client.get(url).then(response => { \n context.commit('SET_OBJECT_LIST_ITEMS', response.data.results);\n context.commit('SET_OBJECT_LIST_ITEMS_LENGTH', response.data.count);\n context.commit('SET_OBJECT_LIST_LOADING', false);\n });\n \n }\n }\n },\n \n \n \n resetFilters({ commit, state, dispatch, rootGetters }) {\n // commit('SET_BROWSER_FILTS', '')\n // for (let fv in state.browserFiltersValues) {\n // if (state.browserFiltersValues[fv].value) {\n // commit('SET_BROWSER_FILTERS_VALUE', {i :fv, value: ''})F\n // if (state.browserFunctions.length) {\n // state.browserFunctions[fv]('');\n // }\n // }\n // }\n \n commit(\"documents/CLEAN_FILTERS\");\n \n commit(\"cru/CLEAN_ALL_FILTERS\")\n \n \n \n \n dispatch(\"documents/setCurrentFilters\", state.browserFilts);\n dispatch(\"documents/refreshData\"); \n commit('SET_OBJECT_LIST_FILTERS', state.browserFilts);\n \n dispatch(\"refreshData\", '');\n },\n \n setOauthUrl({commit},{url}){\n commit('SET_OAUTH_URL',url)\n },\n setOauthMsg({commit}, {msg}) {\n commit('SET_OAUTH_MSG', msg)\n },\n setOauthDataStorage({ commit ,dispatch}, oauth_params){\n return new Promise((resolve, reject) => {\n if(!oauth_params.params.hasOwnProperty(\"error\")) {\n commit('SET_OAUTH_PARAMS_STORAGE', oauth_params);\n } \n // const urlParams = new URLSearchParams(oauth_params.params);\n // let state = urlParams.get('state');\n const {params} = oauth_params;\n const state = params.state.split(\"|\").pop().split(\",\")[0];\n resolve(state);\n });\n },\n changeCrispColor({},color){\n window.$crisp.push([\"config\", \"color:theme\", [color]])\n },\n copySettingsFromCdb({ rootGetters }, {settings_code, cdb_id, copy_cdb_from}){\n return new Promise((resolve, reject) => {\n if (cdb_id) {\n let url = 'settings/copy_setting/' + settings_code + '/' + rootGetters[\"me/userData\"]['user'] + '/' + cdb_id + '/';\n let params = { 'cdb_id_from': copy_cdb_from};\n client.patch(url, params).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n } else {\n reject();\n }\n });\n },\n resumeAccounting({ dispatch }){\n return new Promise((resolve, reject) => {\n let params = { 'stop_accounting_manual': false };\n client.post('stop_accounting/', params).then(resp => {\n dispatch(\"me/forceRefreshUserData\");\n resolve(resp.data);\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n },\n },\n });\n \n }","import { countries as api_countries } from \"@/api\";\n\n// Types\nexport const GET_COUNTRIES_BEGIN = \"GET_COUNTRIES_BEGIN\";\nexport const GET_COUNTRIES_ERROR = \"GET_COUNTRIES_ERROR\";\nexport const GET_COUNTRIES_SUCCESS = \"GET_COUNTRIES_SUCCESS\";\n\n// models\nclass Country {\n constructor(data) {\n this.code = data[\"code\"];\n this.name = data[\"name\"];\n }\n}\n\nconst models = {\n Country\n};\n\n// initial state\n// shape: [{ code, name }]\nconst state = () => ({\n error: false,\n loading: false,\n countriesOrdered: [],\n countriesByCode: {},\n})\n\n// getters\nconst getters = {\n getCountries: state => state.countriesOrdered,\n countriesLoaded: state => !!state.countriesOrdered.length,\n getCountryByCode: (state) => (code) => state.countriesByCode[code],\n}\n\n// actions\nconst getCountries = async ({ commit }, auth) => {\n commit(GET_COUNTRIES_BEGIN);\n try {\n const response = await api_countries.getCountries(auth)\n const { data } = response;\n const countries = data.map((elem) => (new Country(elem)));\n commit(GET_COUNTRIES_SUCCESS, { countries });\n return response;\n } catch (error) {\n // TODO: Properly handle call errors\n commit(GET_COUNTRIES_ERROR);\n throw error;\n }\n};\n\nconst actions = {\n getCountries\n}\n\n// mutations\nconst mutations = {\n [GET_COUNTRIES_BEGIN](state) {\n state.loading = true;\n state.error = false;\n state.countriesOrdered = [];\n state.countriesByCode = {};\n },\n [GET_COUNTRIES_SUCCESS](state, { countries }) {\n state.error = false;\n state.loading = false;\n let _byCode = {};\n let _ordered = [];\n countries.map(country => {\n _byCode = { ..._byCode, [country.code]: country };\n _ordered = [..._ordered, country.code];\n });\n state.countriesOrdered = [..._ordered];\n state.countriesByCode = { ..._byCode };\n },\n [GET_COUNTRIES_ERROR](state) {\n state.error = true;\n state.loading = false;\n state.countriesOrdered = [];\n state.countriesByCode = {};\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n models\n}","import { DEFAULT_ANNOTATION_LAYER } from \"@/store/constants\";\n\n// Types\nexport const SET_CANVAS_DIMS = \"SET_CANVAS_DIMS\";\nexport const SET_FORCE_RIGHT_BAR = \"SET_FORCE_RIGHT_BAR\";\n\n\n// models\nconst models = {};\n\n// initial state\nconst state = () => ({\n defaultUsername: \"User\",\n forceRightBar: false,\n canvasDims: {\n height: 1040,\n width: 735,\n }\n})\n\n// getters\nconst getters = {\n getDefaultUsername: state => state.defaultUsername,\n getCanvasDims: state => ({ canvasDims: { ...state.canvasDims } }),\n getForceRightBar: state => state.forceRightBar,\n}\n\n// actions\nconst setCanvasDims = ({ commit }, { width, height }) => {\n commit(SET_CANVAS_DIMS, { width, height });\n};\n\nconst setForceRightBar = ({ commit }, force) => {\n commit(SET_FORCE_RIGHT_BAR, force);\n}\n\n\n\nconst actions = {\n setCanvasDims,\n setForceRightBar,\n}\n\n// mutations\nconst mutations = {\n [SET_CANVAS_DIMS](state, { width, height }) {\n state.canvasDims.height = height;\n state.canvasDims.width = width;\n },\n [SET_FORCE_RIGHT_BAR](state, force) {\n state.forceRightBar = force;\n },\n \n\n}\n\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n models\n}","import Vue from 'vue'\n\nimport { documents as api_documents } from \"../../api\";\n\nimport { client } from \"../../api/client\";\nimport { getField, updateField } from 'vuex-map-fields';\nimport {BASES_LABELS,TAXES_LABELS,DEFAULT_ANNOTATION_LAYER} from '../constants'\nimport { get_currentCompanyId } from \"../../utils/common\";\nimport { setType0metadata } from \"../../modules/invoices/domain/Invoice\"\n\nimport vuetify from '../../plugins/vuetify';\n\n// Types\nexport const SET_DOC_ID = \"SET_DOC_ID\";\nexport const SET_DOC_STATE = \"SET_DOC_STATE\";\n\nexport const RESET_DOC = \"RESET_DOC\";\nexport const FETCH_DOC_BEGIN = \"FETCH_DOC_BEGIN\";\nexport const FETCH_DOC_ERROR = \"FETCH_DOC_ERROR\";\nexport const FETCH_DOC_SUCCESS = \"FETCH_DOC_SUCCESS\";\nexport const DOCUMENT_TO_PARAM = \"DOCUMENT_TO_PARAM\";\nexport const FETCH_METADATA_SUCCESS = \"FETCH_METADATA_SUCCESS\";\n\nexport const WRITE_DOC_BEGIN = \"WRITE_DOC_BEGIN\";\nexport const WRITE_DOC_ERROR = \"WRITE_DOC_ERROR\";\nexport const WRITE_DOC_SUCCESS = \"WRITE_DOC_SUCCESS\";\n\nexport const SET_TEXT_TAGGING = \"SET_TEXT_TAGGING\";\n\nexport const CONTINUE_FLOW_BEGIN = \"CONTINUE_FLOW_BEGIN\";\nexport const CONTINUE_FLOW_ERROR = \"CONTINUE_FLOW_ERROR\";\nexport const CONTINUE_FLOW_SUCCESS = \"CONTINUE_FLOW_SUCCESS\";\n\nexport const SET_SELECTED_LABEL = \"SET_SELECTED_LABEL\";\nexport const SET_SELECTED_TEXT = \"SET_SELECTED_TEXT\";\nexport const SET_DOC_LABEL = \"SET_DOC_LABEL\";\nexport const SET_CURRENT_DOCUMENTS = \"SET_CURRENT_DOCUMENTS\";\nexport const SET_CURRENT_INDEX = \"SET_CURRENT_INDEX\";\nexport const SET_CURRENT_FILTERS = \"SET_CURRENT_FILTERS\";\n\nexport const SET_CURRENT_OPTIONS = \"SET_CURRENT_OPTIONS\";\nexport const SET_CURRENT_LOADING = \"SET_CURRENT_LOADING\";\nexport const SET_LOADING_INFO = \"SET_LOADING_INFO\";\nexport const SET_DINAMIC_CALL_ID = \"SET_DINAMIC_CALL_ID\";\nexport const SET_ITEMS_LENGTH = \"SET_ITEMS_LENGTH\";\n\nexport const SET_DICT_BOOL_STATES = \"SET_DICT_BOOL_STATES\";\nexport const SET_DICT_BOOL_TAGS = \"SET_DICT_BOOL_TAGS\";\nexport const SET_FILTERS_LOADED = \"SET_FILTERS_LOADED\";\nexport const SET_FILTERS_DATA_STATES_VALUES = \"SET_FILTERS_DATA_STATES_VALUES\";\nexport const SET_FILTERS_DATA_TAGS_VALUES = \"SET_FILTERS_DATA_TAGS_VALUES\";\nexport const SET_MAIN_FILTERS = \"SET_MAIN_FILTERS\";\n\nexport const SET_FILTERS_DATA_EJERCICIO_VALUE = \"SET_FILTERS_DATA_EJERCICIO_VALUE\";\nexport const SET_FILTERS_DATA_PROJECT_VALUE = \"SET_FILTERS_DATA_PROJECT_VALUE\";\nexport const SET_FILTERS_DATA_ID_VALUE = \"SET_FILTERS_DATA_ID_VALUE\";\nexport const SET_FILTERS_DATA_STATE_VALUE = \"SET_FILTERS_DATA_STATE_VALUE\";\nexport const SET_FILTERS_DATA_SEARCH_VALUE = \"SET_FILTERS_DATA_SEARCH_VALUE\";\nexport const SET_FILTERS_DATA_SEARCH_DUPLICATE_VALUE = \"SET_FILTERS_DATA_SEARCH_DUPLICATE_VALUE\";\nexport const SET_FILTERS_DATA_TAGS_VALUE = \"SET_FILTERS_DATA_TAGS_VALUE\";\nexport const SET_FILTERS_DATA_ENTRY_NUMBER_VALUE = \"SET_FILTERS_DATA_ENTRY_NUMBER_VALUE\";\nexport const SET_FILTERS_DATA_ACCOUNT_MOVE_NUMBER_VALUE = \"SET_FILTERS_DATA_ACCOUNT_MOVE_NUMBER_VALUE\";\nexport const SET_FILTERS_DATA_KEY = 'SET_FILTERS_DATA_KEY';\nexport const SET_FILTERS_DATA_ACTIVIDAD_STR_VALUES = 'SET_FILTERS_DATA_ACTIVIDAD_STR_VALUES';\nexport const SET_FILTERS_DATA_ACTIVIDAD_VALUES = 'SET_FILTERS_DATA_ACTIVIDAD_VALUES'\n\nexport const SET_IS_TRAINER_MODE = \"SET_IS_TRAINER_MODE\";\nexport const SET_IS_DEBUGGER_MODE = \"SET_IS_DEBUGGER_MODE\";\nexport const SET_FORCED_MOVE = \"SET_FORCED_MOVE\";\nexport const SET_ACCOUNT_MOVES = \"SET_ACCOUNT_MOVES\";\n\nexport const SET_CHECK_SUM = \"SET_CHECK_SUM;\"\nexport const SET_CURRENT_DOCUMENT_CUSTOMERDB = \"SET_CURRENT_DOCUMENT_CUSTOMERDB\";\nexport const SET_CURRENT_DOCUMENT_SUPPLIERDB = \"SET_CURRENT_DOCUMENT_SUPPLIERDB\";\nexport const SET_ANNOTATION_LAYER = \"SET_ANNOTATION_LAYER\";\n\nexport const SET_ZOOM = \"SET_ZOOM\";\nexport const SET_ROTATION = \"SET_ROTATION\";\nexport const SET_ROTATION_MODE = \"SET_ROTATION_MODE\";\nexport const SET_GLOBAL_ROTATION = \"SET_GLOBAL_ROTATION\";\nexport const SET_DOCUMENT_ROTATION = \"SET_DOCUMENT_ROTATION\";\nexport const CANCEL_ROTATION = \"CANCEL_ROTATION\";\nexport const SET_ROTATION_TASK = \"SET_ROTATION_TASK\";\n\nexport const SET_INTRA_DATA_FROM_SUPPLIER = \"SET_INTRA_DATA_FROM_SUPPLIER\";\nexport const SET_IVA_0_FROM_TO = \"SET_IVA_0_FROM_TO\";\nexport const SET_INTRA_DATA_FROM_CUSTOM = \"SET_INTRA_DATA_FROM_CUSTOM\";\nexport const SET_DIRTY = \"SET_DIRTY\";\nexport const SET_ITEMS_PER_PAGE = \"SET_ITEMS_PER_PAGE\";\nexport const SET_DOCUMENTS_LIST_HEADERS = \"SET_DOCUMENTS_LIST_HEADERS\";\nexport const SET_DOCUMENT_LIST_HIDDEN_HEADERS = \"SET_DOCUMENT_LIST_HIDDEN_HEADERS\";\nexport const SET_DOCUMENTS_LIST_HEADERS_READ_ONLY = \"SET_DOCUMENTS_LIST_HEADERS_READ_ONLY\";\nexport const SET_DOCUMENT_LIST_HIDDEN_HEADERS_READ_ONLY = \"SET_DOCUMENT_LIST_HIDDEN_HEADERS_READ_ONLY\";\nexport const SET_DOCUMENTS_LIST_HEADERS_USER = \"SET_DOCUMENTS_LIST_HEADERS_USER\";\nexport const SET_DOCUMENT_LIST_HIDDEN_HEADERS_USER = \"SET_DOCUMENT_LIST_HIDDEN_HEADERS_USER\";\nexport const SET_SUPPLIERDB_LIST_HEADERS_USER = \"SET_SUPPLIERDB_LIST_HEADERS_USER\";\nexport const SET_SUPPLIERDB_LIST_HIDDEN_HEADERS_USER = \"SET_SUPPLIERDB_LIST_HIDDEN_HEADERS_USER\";\nexport const SET_CUSTOMERDB_LIST_HEADERS_USER = \"SET_CUSTOMERDB_LIST_HEADERS_USER\";\nexport const SET_CUSTOMERDB_LIST_HIDDEN_HEADERS_USER = \"SET_CUSTOMERDB_LIST_HIDDEN_HEADERS_USER\";\nexport const REMOVE_DOCUMENTS_LIST_HEADERS_ELEM_BY_INDEX = \"REMOVE_DOCUMENTS_LIST_HEADERS_ELEM_BY_INDEX\";\nexport const SET_DOCUMENTS_LIST_HEADERS_ELEM = \"SET_DOCUMENTS_LIST_HEADERS_ELEM\";\nexport const CLEAN_FILTERS = \"CLEAN_FILTERS\";\nexport const SET_DOCUMENT_OPTIONS_PAGE = \"SET_DOCUMENT_OPTIONS_PAGE\";\nexport const SET_DOCUMENT_LIST_OPTIONS = \"SET_DOCUMENT_LIST_OPTIONS\";\nexport const SET_DOCUMENT_KIND = \"SET_DOCUMENT_KIND\";\nexport const SET_STATES_FILTER = \"SET_STATES_FILTER\";\nexport const SET_DOCUMENTS_LIST_ID = \"SET_DOCUMENTS_LIST_ID\";\nexport const SET_BROWSER_VALUE = \"SET_BROWSER_VALUE\";\n\nexport const UNSELECT_DOCUMENTS = \"UNSELECT_DOCUMENTS\";\nexport const SET_CURRENT_PAGE = \"SET_CURRENT_PAGE\";\nexport const SET_SELECTED_STATE_CHIP = \"SET_SELECTED_STATE_CHIP\";\nexport const SET_DOCUMENT_ACTIONS_ERROR_PARAMS = \"SET_DOCUMENT_ACTIONS_ERROR_PARAMS\";\nexport const SET_CRITERIO_DE_CAJA = \"SET_CRITERIO_DE_CAJA\";\nexport const SET_IS_COMERCIANTE_MINORISTA = \"SET_IS_COMERCIANTE_MINORISTA\";\nexport const SET_PAYMENT_ACCOUNT = 'SET_PAYMENT_ACCOUNT';\nexport const SET_CHARGE_ACCOUNT = 'SET_CHARGE_ACCOUNT';\nexport const SET_INV_NUMBER_TO_RECTIFY = 'SET_INV_NUMBER_TO_RECTIFY';\nexport const SET_INV_DATE_TO_RECTIFY = 'SET_INV_DATE_TO_RECTIFY';\n\nexport const SET_ACCOUNT_MOVE_LINES = 'SET_ACCOUNT_MOVE_LINES';\nexport const SET_LAST_SHOW_ACCOUNT_MOVE = 'SET_LAST_SHOW_ACCOUNT_MOVE'\n\nexport const SET_INVOICE_LINES = 'SET_INVOICE_LINES';\nexport const SET_LAST_SHOW_INVOICE_LINES = 'SET_LAST_SHOW_INVOICE_LINES'\n\n// Barra de filtros nueva\nexport const SET_FILTER_EJERCICIO = 'SET_FILTER_EJERCICIO';\nexport const SET_FILTERS_DATA_EJERCICIO_USER_VALUES = \"SET_FILTERS_DATA_EJERCICIO_USER_VALUES\";\nexport const SET_FILTER_ID = 'SET_FILTER_ID';\nexport const SET_FILTER_STATE = 'SET_FILTER_STATE';\nexport const SET_FILTER_SEARCH_ICONTAINS = 'SET_FILTER_SEARCH_ICONTAINS';\nexport const SET_FILTER_SEARCH_DUPLICATE = 'SET_FILTER_SEARCH_DUPLICATE';\nexport const SET_FILTER_DOCUMENT_TEXT_ICONTAINS = 'SET_FILTER_DOCUMENT_TEXT_ICONTAINS';\nexport const SET_FILTER_TAGS = 'SET_FILTER_TAGS';\nexport const SET_FILTER_ACTIVIDAD_STR = 'SET_FILTER_ACTIVIDAD_STR';\nexport const SET_FILTER_ACTIVIDAD = 'SET_FILTER_ACTIVIDAD';\nexport const SET_FILTER_USERNAME_ICONTAINS = 'SET_FILTER_USERNAME_ICONTAINS';\nexport const SET_FILTER_KIND = 'SET_FILTER_KIND';\nexport const SET_FILTER_CREATED_GTE = 'SET_FILTER_CREATED_GTE';\nexport const SET_FILTER_CREATED_LTE = 'SET_FILTER_CREATED_LTE';\nexport const SET_FILTER_ACCOUNTING_DATE_GTE = 'SET_FILTER_ACCOUNTING_DATE_GTE';\nexport const SET_FILTER_ACCOUNTING_DATE_LTE = 'SET_FILTER_ACCOUNTING_DATE_LTE';\nexport const SET_FILTER_INVOICE_DATE_GTE = 'SET_FILTER_INVOICE_DATE_GTE';\nexport const SET_FILTER_INVOICE_DATE_LTE = 'SET_FILTER_INVOICE_DATE_LTE';\nexport const SET_FILTER_THIRD_CIF_ICONTAINS = 'SET_FILTER_THIRD_CIF_ICONTAINS';\nexport const SET_FILTER_THIRD_NAME_ICONTAINS = 'SET_FILTER_THIRD_NAME_ICONTAINS';\nexport const SET_FILTER_MIRROR_STATE = 'SET_FILTER_MIRROR_STATE';\nexport const SET_FILTER_PUNTEADO = 'SET_FILTER_PUNTEADO';\nexport const SET_FILTER_RECTIFICATIVA = 'SET_FILTER_RECTIFICATIVA';\nexport const SET_FILTER_PAYMENT_STATE = 'SET_FILTER_PAYMENT_STATE';\nexport const SET_FILTER_PAYMENT_DATE_GTE = 'SET_FILTER_PAYMENT_DATE_GTE';\nexport const SET_FILTER_PAYMENT_DATE_LTE = 'SET_FILTER_PAYMENT_DATE_LTE';\nexport const SET_FILTER_HAS_RETENTION = 'SET_FILTER_HAS_RETENTION';\nexport const SET_FILTER_NOTES_ICONTAINS = 'SET_FILTER_NOTES_ICONTAINS';\n\n\n// models\nclass Document {\n constructor({\n id,\n account_moves,\n binary_file,\n companydb_info,\n companydb_gestion_cartera,\n company_name,\n comment,\n created,\n customerdb,\n customer_name,\n customerdb_info,\n error_json,\n warning_json,\n original_file_name,\n file_name,\n full_file_name,\n kind,\n kind_display,\n metadata,\n metadata_old,\n signed_url,\n state,\n state_display,\n supplierdb,\n supplier_name,\n supplierdb_info,\n tags,\n text_tagging,\n written,\n async_job_state,\n forced_move,\n entry_number,\n accounting_date,\n accounting_date_config,\n default_accounting_date,\n registro_date,\n registro_date_config,\n default_registro_date,\n actividad,\n project,\n channel,\n expens_income_type,\n zoom,\n inRotationMode,\n rotationMode,\n globalRotation,\n rotationPerDocument,\n rotateJobId,\n inversion_sujeto_pasivo_iva,\n inversion_sujeto_pasivo_iva_percent,\n inversion_sujeto_pasivo_igic,\n inversion_sujeto_pasivo_igic_percent,\n intracomunitario,\n intracomunitario_percent,\n intracomunitario_type,\n importaciones_percent,\n extracomunitario,\n iva_igic_no_deducible,\n comerciante_minorista,\n gasto_iva_parcial,\n iva_parcial,\n gasto_iva_percent,\n no_sujeta,\n bien_inversion,\n error,\n payment_account,\n automatic_payment_account,\n charge_account,\n automatic_charge_account,\n has_mirror,\n has_simulated_mirror,\n written_description,\n description,\n punteado,\n paths,\n prorate,\n actividad_str,\n building_code,\n apply_modelo,\n apply_415,\n serie,\n doc_number,\n doc_number_prefix,\n excel_line_index,\n currency,\n retention_type_name,\n criterio_de_caja,\n is_comerciante_minorista,\n inv_number_to_rectify,\n inv_date_to_rectify,\n is_comerciante_minorista_percent,\n written_description_sii,\n description_sii,\n needs_tt_fix,\n notes,\n invoice_lines,\n detected_company_id,\n static_invoice,\n fiscal_location,\n ...rest\n }) {\n this.id = id;\n //this.accountMoves = account_moves?account_moves:[{account_move_lines:[]}];\n this.accountMoves = account_moves\n this.binaryFile = binary_file;\n this.comment = comment;\n this.companydb = companydb_info.id;\n this.companydb_info = companydb_info;\n this.companydb_gestion_cartera = companydb_gestion_cartera;\n this.companyName = company_name;\n this.created = created;\n this.customerdb = customerdb;\n this.customerName = customer_name;\n this.customerdb_info = customerdb_info;\n this.errorJson = error_json;\n this.warningJson = warning_json;\n this.originalFileName = original_file_name;\n this.fileName = file_name;\n this.fullFileName = full_file_name;\n this.kind = kind;\n this.kind_display = kind_display;\n this.invoice_lines = invoice_lines;\n this.metadata = metadata?metadata:{};\n this.metadata_old = metadata_old?JSON.stringify(metadata_old):{};\n this.state = state;\n this.state_display = state_display;\n this.signed_url = signed_url;\n this.supplierdb = supplierdb;\n this.supplierName = supplier_name;\n this.supplierdb_info = supplierdb_info;\n this.tags = tags;\n this.textTagging = text_tagging;\n // this.textTagging.forEach(tag=>{\n // if(!tag.label){\n // tag.label={'human':'background','human_payroll':'background'}\n // }\n // })\n this.written = written;\n this.async_job_state = async_job_state;\n this.forced_move = forced_move;\n this.entry_number = entry_number;\n this.accounting_date = accounting_date;\n this.accounting_date_config = accounting_date_config;\n if(!this.accounting_date_config){\n this.accounting_date_config = 'invoice_date'\n }\n this.default_accounting_date = default_accounting_date;\n this.registro_date = registro_date;\n this.registro_date_config = registro_date_config;\n if(!this.registro_date_config){\n this.registro_date_config = 'today'\n }\n this.default_registro_date = default_registro_date;\n this.actividad = actividad;\n this.project = project;\n this.channel = channel;\n this.expens_income_type = expens_income_type;\n this.zoom = zoom;\n this.inRotationMode = inRotationMode;\n this.rotationMode = rotationMode;\n this.globalRotation = globalRotation;\n this.rotationPerDocument = rotationPerDocument;\n this.rotateJobId = rotateJobId;\n\n this.inversion_sujeto_pasivo_iva = inversion_sujeto_pasivo_iva\n this.inversion_sujeto_pasivo_iva_percent = inversion_sujeto_pasivo_iva_percent\n this.inversion_sujeto_pasivo_igic = inversion_sujeto_pasivo_igic\n this.inversion_sujeto_pasivo_igic_percent = inversion_sujeto_pasivo_igic_percent\n this.intracomunitario = intracomunitario\n this.intracomunitario_percent = intracomunitario_percent\n this.intracomunitario_type = intracomunitario_type\n this.extracomunitario = extracomunitario\n this.importaciones_percent = importaciones_percent\n this.iva_igic_no_deducible = iva_igic_no_deducible\n this.gasto_iva_parcial = gasto_iva_parcial\n this.iva_parcial = iva_parcial\n this.no_sujeta = no_sujeta\n this.bien_inversion = bien_inversion\n this.comerciante_minorista = comerciante_minorista\n this.gasto_iva_percent = gasto_iva_percent\n this.error = error\n this.automatic_payment_account = automatic_payment_account\n this.payment_account = payment_account\n this.automatic_charge_account = automatic_charge_account\n this.charge_account = charge_account\n this.has_mirror = has_mirror\n this.has_simulated_mirror = has_simulated_mirror\n this.written_description = written_description\n this.description = description\n this.punteado = punteado\n this.paths = paths\n this.prorate = prorate\n this.actividad_str = actividad_str\n this.building_code = building_code\n this.apply_modelo = apply_modelo\n this.apply_415 = apply_415;\n this.serie = serie\n this.doc_number = doc_number \n this.doc_number_prefix = doc_number_prefix\n this.excel_line_index = excel_line_index\n this.currency = currency\n this.retention_type_name = retention_type_name;\n this.criterio_de_caja = criterio_de_caja;\n this.is_comerciante_minorista = is_comerciante_minorista;\n this.inv_number_to_rectify = inv_number_to_rectify;\n this.inv_date_to_rectify = inv_date_to_rectify;\n this.is_comerciante_minorista_percent = is_comerciante_minorista_percent;\n this.written_description_sii = written_description_sii;\n this.description_sii = description_sii;\n this.needs_tt_fix = needs_tt_fix;\n this.notes = notes;\n if(!this.notes){\n this.notes = ''\n }\n this.detected_company_id = detected_company_id;\n this.static_invoice = static_invoice;\n this.fiscal_location = fiscal_location;\n }\n}\n\nconst models = {\n Document\n};\n\n// initial state\nconst state = () => ({\n id: undefined,\n document: undefined,\n annotationLayer: DEFAULT_ANNOTATION_LAYER,\n documents: {results:[],next:null,previous:null},\n docLoading: false,\n docError: false,\n docWriteLoading: false,\n docWriteError: false,\n flowLoading: false,\n flowError: false,\n index:0,\n selectedLabel: undefined,\n selectedText: undefined,\n docState: undefined,\n loading: false,\n loading_info: '',\n dinamic_call_id:'',\n checkSumOK: true,\n documentMainFilters:[],\n selectedStateChip: 'all',\n dirty: false,\n selectedIvaCheck: undefined,\n currentPage:1,\n documentListHeaders:[\n ],\n documentListHiddenHeaders: [],\n documentListHeadersReadOnly: [],\n documentListHiddenHeadersReadOnly: [],\n documentListHeadersUser: [],\n documentListHiddenHeadersUser: [],\n supplierdbListHeadersUser: [],\n supplierdbListHiddenHeadersUser: [],\n customerdbListHeadersUser: [],\n customerdbListHiddenHeadersUser: [],\n documentListActionGroups: {\n 'download': 'Descargas',\n 'massive': 'Acciones Masivas',\n 'state': 'Cambios de estado',\n 'punteado': 'Punteo',\n 'other': 'Otros'\n },\n documentListAction: [\n // , 'show_params': 'addMarkAsErrorAccountConnectorAction'\n {'id': 'multi_continue_flow', 'name': 'Reintentar', 'group': 'action', /**'icon': 'mdi-file-restore'*/},\n {'id': 'contabilizar', 'name': 'Contabilizar', 'group': 'btn', /**'icon': 'mdi-file-move',*/ 'not_param': 'contabilize_on_csv'},\n {'id': 'transferir', 'name': 'Transferir', 'group': 'btn', /**'icon': 'mdi-file-move',*/ 'not_param': 'contabilize_on_csv'},\n {'id': 'download_cdb_csv', 'name': 'Descargar', 'group': 'btn', /**'icon': 'mdi-file-move',*/ 'not_param': 'contabilize_on_csv'},\n {'id': 'download_csv_one_line', 'name': 'Descargar CSV', 'group': 'icon_btn', 'icon': 'mdi-file-excel', 'show_params': 'contabilizar_con_csv'},\n // {'id': 'download_csv','name': 'Descargar CSV multilínea', 'group': 'btn'},\n {'id': 'to_done', 'name': 'Contabilizar las facturas del CSV', 'group': 'action', 'show_params': 'contabilizar_con_csv'},\n {'id': 'delete_doc', 'name': 'Borrar Documentos', 'group': 'action', 'icon': 'mdi-delete'},\n {'id': 'merge_docs', 'name': 'Unir Documentos', 'group': 'action'},\n {'id': 'split_docs', 'name': 'Separar Páginas', 'group': 'action'},\n {'id': 'download_doc', 'name': 'Documentos', 'group': 'download'},\n {'id': 'download_merged_docs', 'name': 'Libro en formato PDF', 'group': 'download'},\n {'id': 'download_excel', 'name': 'Excel', 'group': 'download'},\n {'id': 'change_company_doc', 'name': 'Cambiar Empresa', 'group': 'massive'},\n {'id': 'copy_doc_to_other_company', 'name': 'Copiar en otra Empresa', 'group': 'massive', 'feature': 'feature_copy_to_other_company'},\n {'id': 'massive_third_change', 'name': 'Asignar Tercero', 'group': 'massive', 'feature': 'feature_massive_changes_action'},\n {'id': 'massive_change', 'name': 'Cambios Masivos', 'group': 'massive', 'feature': 'feature_massive_changes_action'},\n {'id': 'massive_rotation', 'name': 'Rotar documentos', 'group': 'massive', 'feature': 'feature_can_do_massive_rotation'},\n {'id': 'massive_calculate_base_cuota', 'name': 'Calcular Base y Cuota de forma masiva', 'group': 'massive', 'feature': 'feature_recalculate_base_cuota'},\n {'id': 'accounting_payment_move', 'name': 'Contabilizar asientos de pago', 'group': 'massive', 'feature': 'feature_accounting_payment_move', 'company_automatic_accounts': true},\n {'id': 'massive_fix_round', 'name': 'Redondeo masivo a 2 decimales', 'group': 'massive', 'feature': 'feature_massive_fix_round_action'},\n {'id': 'massive_fix_mismatch_ex0', 'name': 'Descuadre a Ex 0% Masivo', 'group': 'massive', 'feature': 'feature_massive_fix_mismatch_ex0'},\n {'id': 'massive_force_send_documents', 'name': 'Forzar envio documentos', 'group': 'massive', 'feature': 'feature_diezsoftware_massive_force_send_documents'},\n {'id': 'simulate_doc', 'name': 'Simular Documentos', 'group': 'action', 'can_see_training_documents': true},\n {'id': 'add_tags_doc', 'name': 'Añadir Tags', 'group': 'action', 'is_staff': true},\n {'id': 'create_training_doc', 'name': 'Crear Documentos Training', 'group': 'action', 'is_staff': true, 'loginas': true},\n {'id': 'back_pending_upload_to_pending_review', 'name': 'Pdte. Carga --> Pdte. de revisión', 'group': 'state', 'show_params': 'contabilizar_con_csv'},\n {'id': 'change_state_pending_review_to_done', 'name':'Pdte. Revisión --> Contabilizado', 'group': 'state', 'feature': 'feature_pending_review_to_done', 'is_staff': true, 'loginas': true,},\n {'id': 'mark_as_pending_review', 'name': 'Pdte. de sinc. --> Pdte. de revisión', 'group': 'state', 'feature': 'feature_can_mark_doc_as_pending_review', 'is_staff': true, 'loginas': true,},\n {'id': 'mark_as_error_account_connector', 'name': 'Pdte. de sinc. --> Error de contabilización', 'group': 'state', 'show_params': 'addMarkAsErrorAccountConnectorAction', 'is_staff': true, 'loginas': true,},\n {'id': 'change_state_pending_sync_to_done', 'name': 'Pdte. de sinc. --> Contabilizado', 'group': 'state', 'feature': 'feature_pending_sync_to_done', 'is_staff': true, 'loginas': true,},\n {'id': 'change_state_pending_connect_to_pending_review', 'name': 'Contabilizando --> Pdte. de revisión', 'group': 'state', 'is_staff': true, 'loginas': true},\n {'id': 'docs_accounting_to_pending_review', 'name': 'Contabilizando... --> Pdte. de revisión', 'group': 'state', 'is_staff': true, 'feature': 'feature_accounting_to_pending_review'},\n {'id': 'change_state_accounting_to_pending_connect', 'name':'Contabilizando... --> Contabilizando', 'group': 'state', 'is_staff': true, 'loginas': true},\n {'id': 'change_state_accounting_to_pending_sync', 'name':'Contabilizando... --> Pdte. de sincro.', 'group': 'state', 'feature': 'feature_forced_pending_sync', 'is_staff': true, 'loginas': true},\n {'id': 'change_state_accounting_to_done', 'name': 'Contabilizando... --> Contabilizado', 'group': 'state', 'is_staff': true, 'loginas': true},\n {'id': 'bck_doc_pending_review_state', 'name': 'Contabilizado --> Pdte. de revisión', 'group': 'state', 'is_staff': true, 'loginas': true, 'feature': 'feature_can_back_docs_to_pending_review'},\n {'id': 'change_state_to_done_manually', 'name':'Contabilizado Manualmente', 'group': 'state', 'is_staff': true, 'loginas': true, 'feature': 'feature_state_done_manually'},\n {'id': 'force_docs_state_to_done', 'name': 'Error de contabilización --> Contabilizado', 'group': 'state', 'feature': 'feature_can_force_docs_to_done', 'is_staff': true, 'loginas': true,},\n {'id': 'change_state_error_already_destination_to_done', 'name': 'Error: Ya existente en destino --> Contabilizado', 'group': 'state', 'feature': 'feature_error_already_destination_to_done', 'is_staff': true, 'loginas': true,},\n {'id': 'change_state_error_already_destination_to_pending_review', 'name': 'Error: Ya existente en destino --> Pdte. Revisión', 'group': 'state', 'feature': 'feature_error_already_destination_to_pending_review','is_staff': true, 'loginas': true,},\n {'id': 'mark_as_punteado', 'name': 'Marcar', 'group': 'punteado', 'feature': 'feature_can_mark_doc_as_punteado'},\n {'id': 'mark_as_despunteado', 'name': 'Desmarcar', 'group': 'punteado', 'feature': 'feature_can_mark_doc_as_punteado'},\n {'id': 'fix_contasol_documents', 'name': 'Subir PDFs a Contasol', 'group': 'other', 'is_staff': true, 'loginas': true, 'show_params': 'fix_contasol_documents', 'feature': 'feature_fix_contasol_documents'},\n {'id': 'multi_retry_all','name': 'Reintentar detección', 'group': 'other'},\n {'id': 'replicate_doc_to_other_company', 'name': 'Replicar facturas en otra empresa', 'group': 'massive', 'feature': 'feature_replicate_to_other_company'},\n\n ],\n\n documentActionsErrorParams: {},\n\n action: '',\n documentAction: [\n {'id': 'copy_id', 'name': 'Copiar ID'},\n {'id': 'rotate_doc', 'name': 'Rotar Documento'},\n {'id': 'split_doc','name': 'Separar Páginas'},\n {'id': 'change_company_doc','name': 'Cambiar Empresa'},\n {'id': 'simulate_doc', 'name': 'Simular Documento'},\n {'id': 'mark_as_pending_review', 'name': 'Pasar de estado Pdte. de sinc. a Pdte. de revisión'},\n {'id': 'force_docs_state_to_done', 'name': 'Pasar de estado Error de contabilización a Contabilizado'},\n {'id': 'add_tags_doc', 'name': 'Añadir Tags'},\n {'id': 'create_training_doc', 'name': 'Crear Documento Training'},\n {'id': 'check_document_history', 'name': 'Consultar Historial'},\n ],\n\n // documentListFiltersData: [\n // {\n // 'name': 'id', \n // 'label': 'Id',\n // 'value': '',\n // }, \n // {\n // 'name': 'state', \n // 'label': 'Estado', \n // 'values':[],\n // 'multiple': false,\n // 'value': '',\n // },\n // {\n // 'name': 'search__icontains',\n // 'label': 'Todos los campos',\n // 'value': '',\n // },\n // {\n // 'name': 'tags',\n // 'label': 'Etiquetas',\n // 'values': [],\n // 'multiple': true,\n // 'value': '',\n // },\n // // {\n // // 'name': 'entry_number__icontains',\n // // 'label': 'Apunte',\n // // 'value': '',\n // // },\n // // {\n // // 'name': 'account_move_number__icontains',\n // // 'label': 'Asiento',\n // // 'value': '',\n // // }\n // {\n // 'name': 'username__icontains',\n // 'label': 'Usuario',\n // 'value': ''\n // },\n // {\n // 'name': 'kind',\n // 'label': 'Tipo',\n // 'values': [\n // {name: 'Proveedor', value: 'in_invoice'},\n // {name: 'Cliente', value: 'out_invoice'},\n // // {name: 'Nómina', value: 'payroll'},\n // ],\n // 'multiple': false,\n // 'value': '',\n // }\n // ],\n\n\n\n documentListFiltersData2: {\n ejercicio: {\n 'name': 'ejercicio',\n 'label': 'Ejercicio',\n 'value': '',\n 'type': 'select', \n 'icon': 'mdi-calendar-month-outline',\n },\n project: {\n 'name': 'project',\n 'label': 'Proyecto',\n 'value': '',\n 'type': 'select', \n 'icon': 'mdi-file-document',\n },\n id: {\n 'name': 'id',\n 'label': 'Id',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-numeric',\n },\n state: {\n 'name': 'state',\n 'label': 'Estado',\n 'values':[],\n 'user_values': [\n { value: 'done', text: 'Contabilizado'},\n { value: 'uploading_bucket', text: 'Cargando'},\n { value: 'pending', text: 'En proceso'},\n { value: 'pending_review', text: 'Pendiente de revisión'},\n { value: 'required_review', text: 'Revisión requerida'},\n { value: 'error_supplier_not_found', text: 'Proveedor no encontrado'},\n { value: 'error_customer_not_found', text: 'Cliente no encontrado'},\n { value: 'error_document_duplicated', text: 'Factura duplicada'},\n { value: 'error_checking_taxes', text: 'Error de validación de importes'},\n { value: 'error_creating_moves', text: 'Error de creación de asiento'},\n { value: 'error_account_connector', text: 'Error de contabilización'},\n { value: 'error_validating_moves', text: 'Error de validación de asiento'},\n { value: 'error_validating_data', text: 'Error de validación de datos'},\n { value: 'error_text_detection', text: 'Error de detección de texto'},\n { value: 'error_format', text: 'Error de Formato'},\n { value: 'split', text: 'Separando'},\n { value: 'not_supported', text: 'Formato no soportado'},\n { value: 'merging', text: 'Uniendo documentos'},\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-chart',\n },\n search__icontains: {\n 'name': 'search__icontains',\n 'label': 'Todos los campos',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-magnify',\n },\n search__duplicate: {\n 'name': 'search__duplicate',\n 'label': 'Número de factura',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-file-document',\n },\n document_text__icontains: {\n 'name': 'document_text__icontains',\n 'label': 'Texto del Documento',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-text-box',\n },\n tags: {\n 'name': 'tags',\n 'label': 'Etiquetas',\n 'values': [],\n 'multiple': true,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-tag',\n },\n actividad_str: {\n 'name': 'actividad_str',\n 'label': 'Actividad',\n 'values': [],\n 'multiple': false,\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-account-group',\n },\n actividad: {\n 'name': 'actividad',\n 'label': 'Actividad',\n 'values': [],\n 'multiple': false,\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-account-group',\n },\n // {\n // 'name': 'entry_number__icontains',\n // 'label': 'Apunte',\n // 'value': '',\n // },\n // {\n // 'name': 'account_move_number__icontains',\n // 'label': 'Asiento',\n // 'value': '',\n // }\n username__icontains: {\n 'name': 'username__icontains',\n 'label': 'Usuario',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-account',\n },\n kind: {\n 'name': 'kind',\n 'label': 'Tipo',\n 'values': [\n {name: 'Proveedor', value: 'in_invoice', text: 'Proveedor'},\n {name: 'Cliente', value: 'out_invoice', text: 'Cliente'},\n // {name: 'Nómina', value: 'payroll'},\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-document',\n },\n\n created__gte: {\n 'name': 'created__gte',\n 'label': 'F. de subida mín.',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n created__lte: {\n 'name': 'created__lte',\n 'label': 'F. de subida máx.',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n\n accounting_date__gte: {\n 'name': 'accounting_date__gte',\n 'label': 'F. Contabilización mín.',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n accounting_date__lte: {\n 'name': 'accounting_date__lte',\n 'label': 'F. Contabilización máx.',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n\n invoice_date__gte: {\n 'name': 'invoice_date__gte',\n 'label': 'F. Factura mín.',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n invoice_date__lte: {\n 'name': 'invoice_date__lte',\n 'label': 'F. Factura máx.',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n // metadata__invoice_date__gte: {\n // 'name': 'metadata__invoice_date__gte',\n // 'label': 'Fecha factura mínima',\n // 'value': ''\n // },\n // metadata__invoice_date__lte: {\n // 'name': 'metadata__invoice_date__lte',\n // 'label': 'Fecha factura máxima',\n // 'value': null\n // },\n // metadata__due_date__gte: {\n // 'name': 'metadata__due_date__gte',\n // 'label': 'Fecha vencimiento mínima',\n // 'value': ''\n // },\n // metadata__due_date__lte: {\n // 'name': 'metadata__due_date__lte',\n // 'label': 'Fecha vencimiento máxima',\n // 'value': null\n // },\n\n third_cif__icontains: {\n 'name': 'third_cif__icontains',\n 'label': 'Cif de terceros',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-card-account-details',\n },\n third_name__icontains: {\n 'name': 'third_name__icontains',\n 'label': 'Nombre de terceros',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-card-account-details',\n },\n\n mirror_state: {\n 'name': 'mirror_state',\n 'label': 'Estado del doc. espejo',\n 'values':[],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-chart',\n },\n punteado: {\n 'name': 'punteado',\n 'label': 'Punteado',\n 'values': [\n { name: 'Si', value: 'yes', text: 'Si' },\n { name: 'No', value: 'no', text: 'No' },\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-check',\n },\n is_rectificativa: {\n 'name': 'is_rectificativa',\n 'label': 'Rectificativa',\n 'values': [\n { name: 'Si', value: 'yes', text: 'Si' },\n { name: 'No', value: 'no', text: 'No' },\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-document',\n },\n payment_state: {\n 'name': 'payment_state',\n 'label': 'Estado de Pago',\n 'values': [\n { value: 'pending', name: 'Pendiente', text: 'Pendiente'},\n { value: 'paid', name: 'Pago', text: 'Pago'},\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-cash',\n },\n payment_date__gte: {\n 'name': 'payment_date__gte',\n 'label': 'F. Pago mín. (DD/MM/YYYY)',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n payment_date__lte: {\n 'name': 'payment_date__lte',\n 'label': 'F. Pago máx. (DD/MM/YYYY)',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n has_retention: {\n 'name': 'has_retention',\n 'label': 'Tiene retención',\n 'values': [\n { name: 'Si', value: 'yes', text: 'Si' },\n { name: 'No', value: 'no', text: 'No' },\n ], \n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-cash',\n },\n notes__icontains: {\n 'name': 'notes__icontains',\n 'label': 'Notas de factura',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-note-text',\n }\n },\n\n\n documentIsTrainerMode: false,\n documentIsDebuggerMode: false,\n zoom: 0.8,\n inRotationMode: false,\n rotationMode: 'all',\n rotateJobId: undefined,\n globalRotation: 0,\n rotationPerDocument: [],\n\n statesFilter:undefined,\n documentListLoading: false,\n documentsListFilters: \"\",\n documentsListState: 'all',\n documentsListId: null,\n documentsListItemsLength: 0,\n documentsListDictBool: {\n 'states': false,\n 'tags': false\n },\n documentsListFiltersLoaded: false,\n itemsPerPage: 10,\n\n documentListOptions: {},\n dpcumentListKind: '',\n selectedParam: undefined,\n selectedParamOption: undefined,\n selectedParamOption2: undefined,\n isBienInversionChanged: false,\n areIvaChecksChanged: false,\n\n metadataFiltersStates: ['done','done_manually','done_with_warning', 'pending_connect', 'accounting_aplifisa_fiscal','accounting_invoice', 'pending_sync', 'pending_review'],\n selected: [],\n linesAccountMove: {\n min_footer: false,\n footer_height: 370,\n last_option: {\n show: false\n }\n },\n invoiceLines: {\n show_invoice_lines: false,\n invoice_lines_height: 370,\n last_option: {\n show: false\n }\n }\n})\n\n\n\n// getters\nconst selectedTextPayload = (state, getters) => {\n return (getters.taggedText && getters.selectedText) ? getters.taggedText[getters.currentPage-1][getters.selectedText] : { 'word': '' }\n};\n\nconst currentDocumentData = (state, getters, rootState, rootGetters) => {\n let result = {};\n let annotationLayer = rootGetters[\"documents/annotationLayer\"];\n getters.taggedText.forEach(page => {\n page.forEach(tagged => {\n let label = tagged.label[annotationLayer];\n if (label != \"background\") {\n if (label in result) {\n result[label] = `${result[label]} ${tagged.word}`;\n } else {\n result[label] = tagged.word\n }\n }\n })\n })\n return result;\n};\n\nconst currentHeaders = (state, getters, rootGetters) => {\n if (vuetify.framework.breakpoint.name == 'xs') {\n let headers = [];\n state.documentListHeaders.forEach(function(elem) {\n if (['Tipo', 'Id', 'Num. fra'].includes(elem.text)) {\n headers.push(elem);\n }\n });\n return headers;\n } else {\n state.documentListHeaders.forEach(function(elem) {\n if (!elem.width) {\n elem.width = elem.text.length * 15;\n }\n });\n return state.documentListHeaders;\n }\n \n};\n\nconst zeroIfNull= (x)=>{\n if(x) return x\n else return 0\n}\nconst sumBasesIva=(state, getters) => {\n const bases = BASES_LABELS.filter((x)=>x.name.includes('vat'))\n return bases.map((x)=>getters.metadata[x.name]).reduce((x,y)=>zeroIfNull(x)+zeroIfNull(y))\n}\n\nconst sumBasesIgic=(state, getters) => {\n const bases = BASES_LABELS.filter((x)=>x.name.includes('igic'))\n return bases.map((x)=>getters.metadata[x.name]).reduce((x,y)=>zeroIfNull(x)+zeroIfNull(y))\n}\n\nconst sumBasesIgi=(state, getters) => {\n const bases = BASES_LABELS.filter((x)=>x.name.includes('igi_'))\n return bases.map((x)=>getters.metadata[x.name]).reduce((x,y)=>zeroIfNull(x)+zeroIfNull(y))\n}\n\nconst has_meta_iva=(state, getters) => {\n const bases = BASES_LABELS.concat(TAXES_LABELS).filter((x)=>x.name.includes('vat'))\n return bases.map((x)=>getters.metadata[x.name]).reduce((x,y)=>x || y || x===0 || y===0)\n}\n\nconst has_meta_igic=(state, getters) => {\n const bases = BASES_LABELS.concat(TAXES_LABELS).filter((x)=>x.name.includes('igic_'))\n return bases.map((x)=>getters.metadata[x.name]).reduce((x,y)=>x || y || x===0 || y===0)\n}\n\nconst has_meta_igic2019=(state, getters) => {\n const bases = BASES_LABELS.concat(TAXES_LABELS).filter((x)=>x.name.includes('igic2019'))\n return bases.map((x)=>getters.metadata[x.name]).reduce((x,y)=>x || y || x===0 || y===0)\n}\n\nconst has_meta_igi=(state, getters) => {\n const bases = BASES_LABELS.concat(TAXES_LABELS).filter((x)=>x.name.includes('igi_'))\n return bases.map((x)=>getters.metadata[x.name]).reduce((x,y)=>x || y || x===0 || y===0)\n}\n\nconst sumBases=(state, getters) => {\n const vats = BASES_LABELS.concat(TAXES_LABELS).filter((x)=>x.name.includes('vat'))\n const igics = BASES_LABELS.concat(TAXES_LABELS).filter((x)=>x.name.includes('igic'))\n return vats.concat(igics).map((x)=>getters.metadata[x.name]).reduce((x,y)=>zeroIfNull(x)+zeroIfNull(y))\n}\n\nconst isWaitingFlow = (state, getters,rootGetters) => {\n return rootGetters.permissions.permission.is_readonly || state.flowLoading || !state.document || ['move_validated','move_created','data_formatted','data_validated','nif_validated'].includes(state.document.state) || ['pending','running'].includes(state.document.async_job_state)\n}\n\nconst getters = {\n documentFetched: state => !!state.id && !state.docLoading && !state.docError && !!state.document,\n currentDocument: state => state.document,\n currentDocuments: state => state.documents.results,\n currentPage: state => state.currentPage,\n currentPagination: state => state.documents,\n currentIndex: state => state.index,\n currentDocumentState: (_, getters) => getters.currentDocument[\"state\"],\n currentDocumentData,\n documentUrl: state => state.document ? state.document.signed_url : null,\n taggedText: (_, getters) => getters.currentDocument ? getters.currentDocument[\"textTagging\"] : [],\n supplierdb: (_, getters) => getters.currentDocument ? getters.currentDocument[\"supplierdb\"] : [],\n customerdb: (_, getters) => getters.currentDocument ? getters.currentDocument[\"customerdb\"] : [],\n kind: (_, getters) => getters.currentDocument ? getters.currentDocument[\"kind\"] : [],\n selectedText: state => state.selectedText,\n metadata: (_, getters) => getters.currentDocument ? getters.currentDocument[\"metadata\"] : {},\n flowLoading: state => state.flowLoading,\n documentWriting: state => state.docWriteLoading,\n selectedLabel: state => state.selectedLabel,\n selectedTextPayload,\n docState: state => state.docState,\n dirty: state => state.dirty,\n actividad: (_, getters) => getters.currentDocument ? getters.currentDocument[\"actividad\"] : [],\n actividad_str: (_, getters) => getters.currentDocument ? getters.currentDocument[\"actividad_str\"] : [],\n project: (_, getters) => getters.currentDocument ? getters.currentDocument[\"project\"]: [],\n channel: (_, getters) => getters.currentDocument ? getters.currentDocument[\"channel\"]: [],\n expens_income_type: (_, getters) => getters.currentDocument ? getters.currentDocument[\"expens_income_type\"]: [],\n\n documentsListFilters: state => state.documentsListFilters,\n // isFiltersLoaded: state => state.filters_loaded,\n currentFiltersData: state => state.documentListFiltersData2,\n currentMainFilters: state => state.documentMainFilters,\n currentHeaders,\n\n currentActions: state => state.documentListAction,\n\n // documentsListOptions: state => state.documentsListOptions,\n currentLoading: state => state.documentListLoading,\n documentsListState: state => state.documentsListState,\n currentDocumentsItemsLength: state => state.documentsListItemsLength,\n currentDictBool: state => state.documentsListDictBool,\n currentFiltersLoaded: state => state.documentsListFiltersLoaded,\n documentsListId: state => state.documentsListId,\n documentIsTrainerMode: state => state.documentIsTrainerMode,\n loading: state => state.loading,\n loading_info: state => state.loading_info,\n dinamicCallId: state => state.dinamic_call_id,\n checkSumOK: state => state.checkSumOK,\n getMetadataField: state => getField(state.document.metadata),\n getAccountMoveField: state => getField(state.document.accountMoves?state.document.accountMoves[0]:undefined),\n getField,\n sumBases,\n sumBasesIva,\n sumBasesIgic,\n sumBasesIgi,\n has_meta_iva,\n has_meta_igic,\n has_meta_igic2019,\n has_meta_igi,\n isWaitingFlow,\n annotationLayer: state => state.annotationLayer,\n zoom: state => state.zoom,\n rotateJobId: state => state.rotateJobId,\n inRotationMode: state => state.inRotationMode,\n rotationMode: state => state.rotationMode,\n globalRotation: state => state.globalRotation,\n rotationPerDocument: state => state.rotationPerDocument,\n itemsPerPage: state => state.itemsPerPage,\n documentListHeaders: state => state.documentListHeaders,\n supplierdbListHeadersUser: state => state.supplierdbListHeadersUser,\n customerdbListHeadersUser: state => state.customerdbListHeadersUser,\n\n automatic_payment_account: (state, getters, rootState) => {\n if (\n state.document &&\n state.document.supplierdb_info\n ) {\n if (state.document.supplierdb_info.automatic_payment_account === 'na') {\n return rootState.currentCompany.automatic_payment_account\n } else {\n return state.document.supplierdb_info.automatic_payment_account\n }\n } else {\n return ''\n }\n },\n\n automatic_charge_account: (state, getters, rootState) => {\n if (\n state.document &&\n state.document.customerdb_info\n ) {\n if (state.document.customerdb_info.automatic_charge_account === 'na') {\n return rootState.currentCompany.automatic_charge_account\n } else {\n return state.document.customerdb_info.automatic_charge_account\n }\n } else {\n return ''\n }\n\n },\n\n existsCurrentIndex: (_, getters) => {\n var check = false;\n for(var i = 0; !check && i < getters.currentDocuments.length; i++) {\n check = getters.currentDocuments[i].id == getters.currentDocument.id;\n }\n return check;\n },\n min_footer: state => state.linesAccountMove.min_footer,\n footer_height: state => state.linesAccountMove.footer_height,\n show_invoice_lines: state => state.invoiceLines.show_invoice_lines,\n invoice_lines_height: state => state.invoiceLines.invoice_lines_height,\n}\n\nconst check_sum = (doc)=>{\n let check=true;\n doc.accountMoves.forEach((account_move) => {\n let credit=0;\n let debit=0;\n account_move.account_move_lines.forEach((line) => {\n credit = credit + parseFloat(line.credit)\n debit = debit + parseFloat(line.debit)\n })\n check = credit!=0 && credit >= debit-0.01 && credit <= debit+0.01\n })\n return check\n}\n\nconst get_queryset_filters = (state, rootGetters, params) => {\n let currentCompanyId;\n if (rootGetters.getCurrentCompany) {\n currentCompanyId = rootGetters.getCurrentCompany.id;\n } else if (rootGetters[\"me/userData\"].companydb) {\n currentCompanyId = rootGetters[\"me/userData\"].companydb;\n }\n params['filters'] = state.documentsListFilters;\n params['cdb'] = currentCompanyId;\n \n if (state.statesFilter) {\n let states = ''\n for (let i in state.statesFilter) {\n states += state.statesFilter[i] + ','\n }\n params['filters'] = params['filters'] + '&state__in=' + states.slice(0, -1);\n }\n return params;\n}\n\n// actions\n\nconst getTextTagging = async ({state,commit}) => {\n let text_tagging = await api_documents.get_text_tagging(state.document.id,0,5000)\n commit(SET_TEXT_TAGGING,{text_tagging:text_tagging,id:state.document.id})\n}\nconst setCurrentPage = (context, num) => {\n context.commit(SET_CURRENT_PAGE, num);\n}\n\nconst downloadFile = async (context, {signed_url,filename}) => {\n try {\n const response = await fetch(signed_url)\n const blob = await response.blob();\n const url = await URL.createObjectURL(blob)\n const a = document.createElement(\"a\");\n a.href = url;\n a.download = filename;\n document.body.appendChild(a);\n a.click();\n document.body.removeChild(a);\n } catch(err) {\n console.debug(err)\n }\n}\nconst downloadFiles = ({ state, rootGetters }, { send_filters, docs_ids }) => {\n var qs = require('qs');\n return new Promise((resolve, reject) => {\n let values = {};\n if (send_filters) {\n // let currentCompanyId;\n // if (rootGetters.getCurrentCompany) {\n // currentCompanyId = rootGetters.getCurrentCompany.id;\n // } else if (rootGetters[\"me/userData\"].companydb) {\n // currentCompanyId = rootGetters[\"me/userData\"].companydb;\n // }\n // values['filters'] = state.documentsListFilters;\n // values['cdb'] = currentCompanyId;\n // if (state.statesFilter) {\n // let states = ''\n // for (let i in state.statesFilter) {\n // states += state.statesFilter[i] + ','\n // }\n // values['filters'] = values['filters'] + '&state__in=' + states.slice(0, -1);\n // }\n get_queryset_filters(state, rootGetters, values);\n } else {\n values['documents'] = docs_ids;\n }\n\n\n client.get('download_pdfs/', { params: values, paramsSerializer: params => { return qs.stringify(params) }}).then(resp => {\n resolve(resp)\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst downloadFormationDocuments = () => {\n let url = \"download_formation_documents/\";\n let promise = new Promise((resolve, reject) => {\n client.get(url).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n });\n return promise;\n}\n\n\nconst downloadExcel = ({ state, rootGetters }, { send_filters, docs, headers, options }) => {\n return new Promise((resolve, reject) => {\n let aux = [];\n let igics = [\n {text: \"Base IGIC 7%\", value: \"metadata.base_igic_7\"},\n {text: \"IGIC 7%\", value: \"metadata.igic_7\"},\n {text: \"Base IGIC 5%\", value: \"metadata.base_igic_5\"},\n {text: \"IGIC 5%\", value: \"metadata.igic_5\"},\n {text: \"Base IGIC 3%\", value: \"metadata.base_igic_3\"},\n {text: \"IGIC 3%\", value: \"metadata.igic_3\"},\n {text: \"Base IGIC 0%\", value: \"metadata.base_igic_0\"},\n {text: \"IGIC 0%\", value: \"metadata.igic_0\"},\n {text: \"Base IGIC 9,5%\", value: \"metadata.base_igic_95\"},\n {text: \"IGIC 9,5%\", value: \"metadata.igic_95\"},\n {text: \"Base IGIC 15%\", value: \"metadata.base_igic_15\"},\n {text: \"IGIC 15%\", value: \"metadata.igic_15\"},\n {text: \"Base IGIC 20%\", value: \"metadata.base_igic_20\"},\n {text: \"IGIC 20%\", value: \"metadata.igic_20\"},\n ];\n aux = aux.concat(headers);\n aux.splice.apply(aux, [15, 0].concat(igics));\n aux.splice.apply(aux, [8, 0].concat([{text: \"Cuenta Tercero\", value: \"third_account\"},]))\n let params = { 'headers': aux };\n\n if (send_filters) {\n \n // let currentCompanyId;\n // if (rootGetters.getCurrentCompany) {\n // currentCompanyId = rootGetters.getCurrentCompany.id;\n // } else if (rootGetters[\"me/userData\"].companydb) {\n // currentCompanyId = rootGetters[\"me/userData\"].companydb;\n // }\n // params['filters'] = state.documentsListFilters;\n // params['cdb'] = currentCompanyId;\n \n // if (state.statesFilter) {\n // let states = ''\n // for (let i in state.statesFilter) {\n // states += state.statesFilter[i] + ','\n // }\n // params['filters'] = params['filters'] + '&state__in=' + states.slice(0, -1);\n // }\n get_queryset_filters(state, rootGetters, params);\n \n } else {\n params['ids'] = [];\n for (let i in docs) {\n params['ids'].push(docs[i].id);\n }\n }\n \n\n const { sortBy, sortDesc } = options;\n let sortField = false;\n let sortOrder = false;\n if(sortBy){\n sortField = sortBy[0];\n }\n if(sortDesc){\n sortOrder = sortDesc[0];\n }\n params['sortField']=sortField\n params['sortOrder']=sortOrder\n\n \n client.post('download_docs_excel/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n })\n })\n}\n\n\nconst checkSum = ({ commit , state}) => {\n let check = check_sum(state.document)\n commit(SET_CHECK_SUM, {check});\n\n}\n\nconst fetchDocument = async ({ commit, dispatch,getters, rootGetters, rootState }, { id }) => {\n commit(SET_DOC_ID, { id });\n commit(FETCH_DOC_BEGIN);\n commit(SET_SELECTED_TEXT, { text: null });\n\n try {\n let response = await api_documents.getDocument({ id })\n if (rootGetters['me/userData']['can_see_training_documents'] || (!rootGetters['me/userData']['available_features']['feature_hide_ocr_boxes']) || rootGetters['me/userData']['available_features']['feature_force_show_ocr_boxes']) {\n let text_tagging = await api_documents.get_text_tagging(id,0,5000)\n response.data.text_tagging = text_tagging\n }\n const { data } = response;\n const document = new Document(data);\n // if(document.accountMoves.length==0)\n // commit(SET_IS_DISABLED_ACCOUNT_MOVE, { isDisabledAccountMove:true });\n if(document.kind==='payroll'){\n commit(SET_ANNOTATION_LAYER, 'human_payroll')\n }else{\n commit(SET_ANNOTATION_LAYER, 'human');\n }\n commit(FETCH_DOC_SUCCESS, { document });\n //dispatch('pdf_data/setDocumentUrl',getters.documentUrl,{root:true})\n commit(DOCUMENT_TO_PARAM);\n // TODO: Move to a module\n // commit('SET_CURRENT_COMPANY', { id: document.companydb, name: document.companyName, configuration:document.companydb_conf }, { root: true });\n data.companydb_info.name = document.companyName\n // if(!rootState.currentCompany || rootState.currentCompany.id != document.companydb){\n // //console.log(rootState.currentCompany.id, document.companydb)\n // if(!rootGetters['me/userData']['can_see_training_documents']){\n // let new_company=(await dispatch('connector/fetchConnector', {id:document.companydb}, {root:true})).data; //este fetch compite con el fetch de setAfterLogged y gana el más lento. Habría que revisar setAfterlogged\n // commit('SET_CURRENT_COMPANY', new_company, { root: true }); \n // }\n // }\n \n let check = check_sum(document)\n commit(SET_CHECK_SUM, {check});\n return response;\n } catch (error) {\n // TODO: Properly handle call errors\n commit(FETCH_DOC_ERROR);\n commit(RESET_DOC);\n throw error;\n }\n};\n\nconst documentToParam = ({ state, commit }) => {\n commit(DOCUMENT_TO_PARAM);\n};\n\nconst fetchDocumentMetadata = async ({ state, commit, rootGetters }, { id }) => {\n commit(SET_DOC_ID, { id });\n //commit(FETCH_DOC_BEGIN);\n commit(SET_SELECTED_TEXT, { text: null });\n\n try {\n const response = await api_documents.getDocument({ id })\n if ((!rootGetters['me/userData']['available_features']['feature_hide_ocr_boxes']) || rootGetters['me/userData']['available_features']['feature_force_show_ocr_boxes']) {\n let text_tagging = await api_documents.get_text_tagging(id,0,5000)\n response.data.text_tagging = text_tagging\n }\n const { data } = response;\n const document = new Document(data);\n commit(FETCH_METADATA_SUCCESS, {document});\n return response;\n } catch (error) {\n // TODO: Properly handle call errors\n commit(FETCH_DOC_ERROR);\n throw error;\n }\n};\n\nconst call_continueFlow = async ({ state, getters, commit, dispatch, rootGetters }, cancel_edit, continue_flow_doc) => {\n commit(CONTINUE_FLOW_BEGIN);\n const params = {\n id: state.id,\n id_document:state.document.id,\n metadata: getters.metadata,\n currency: getters.currentDocument.currency,\n supplierdb: getters.supplierdb,\n customerdb: getters.customerdb,\n accountMoves: getters.currentDocument.accountMoves,\n manually_fixed: getters.currentDocument.forced_move,\n kind: getters.kind,\n dirty: getters.dirty,\n punteado: getters.currentDocument.punteado,\n cancel_edit: cancel_edit,\n actividad: getters.actividad,\n project: getters.project,\n channel: getters.channel,\n expens_income_type: getters.expens_income_type,\n inversion_sujeto_pasivo_igic: state.document.inversion_sujeto_pasivo_igic,\n inversion_sujeto_pasivo_iva: state.document.inversion_sujeto_pasivo_iva,\n inversion_sujeto_pasivo_igic_percent: state.document.inversion_sujeto_pasivo_igic_percent,\n inversion_sujeto_pasivo_iva_percent: state.document.inversion_sujeto_pasivo_iva_percent,\n intracomunitario: state.document.intracomunitario,\n intracomunitario_percent: state.document.intracomunitario_percent,\n intracomunitario_type: state.document.intracomunitario_type,\n extracomunitario: state.document.extracomunitario,\n no_sujeta: state.document.no_sujeta,\n bien_inversion: state.document.bien_inversion,\n written_description: state.document.written_description,\n description: state.document.description,\n importaciones_percent: state.document.importaciones_percent,\n comerciante_minorista: state.document.comerciante_minorista,\n gasto_iva_percent: state.document.gasto_iva_percent,\n accounting_date_config: state.document.accounting_date_config,\n default_accounting_date: state.document.default_accounting_date,\n registro_date_config: state.document.registro_date_config,\n default_registro_date: state.document.default_registro_date,\n prorate: state.document.prorate,\n actividad_str: state.document.actividad_str,\n building_code: state.document.building_code,\n apply_modelo: state.document.apply_modelo,\n apply_415: state.document.apply_415,\n serie: state.document.serie,\n doc_number: state.document.doc_number,\n doc_number_prefix: state.document.doc_number_prefix,\n excel_line_index: state.document.excel_line_index,\n retention_type_name: state.document.retention_type_name,\n criterio_de_caja: state.document.criterio_de_caja,\n is_comerciante_minorista: state.document.is_comerciante_minorista,\n inv_number_to_rectify: state.document.inv_number_to_rectify,\n inv_date_to_rectify: state.document.inv_date_to_rectify,\n is_comerciante_minorista_percent: state.document.is_comerciante_minorista_percent,\n written_description_sii: state.document.written_description_sii,\n description_sii: state.document.description_sii,\n continue_flow_doc: continue_flow_doc,\n payment_account: state.document.payment_account,\n charge_account: state.document.charge_account,\n notes: state.document.notes,\n fiscal_location: state.document.fiscal_location,\n }\n if (rootGetters['me/userData'] && rootGetters['me/userData'].can_see_training_documents){\n params['text_tagging']= getters.taggedText;\n }\n\n if (getters.currentDocument.supplierdb_info) {\n params['supplierdb'] = getters.currentDocument.supplierdb_info['id'];\n //Set Iva check radiobuttons\n params['iva_igic_no_deducible'] = state.selectedIvaCheck == 'iva_igic_no_deducible';\n params['prorate'] = state.selectedIvaCheck == 'prorate';\n params['gasto_iva_parcial'] = state.selectedIvaCheck == 'gasto_iva_parcial';\n if (!params['gasto_iva_percent']) {\n params['gasto_iva_percent'] = 50;\n }\n params['iva_parcial'] = state.selectedIvaCheck == 'iva_parcial';\n if (!params['gasto_iva_percent']) {\n params['gasto_iva_percent'] = 50;\n }\n }\n if (getters.currentDocument.customerdb_info) {\n params['customerdb'] = getters.currentDocument.customerdb_info['id'];\n // Si es de tipo cliente, no hay que tener en cuenta estos campos: ni IVA/IGIC no deducible ni parcialmente deducible.\n params['iva_igic_no_deducible'] = false;\n params['gasto_iva_parcial'] = false;\n }\n try {\n await api_documents.continueFlow({ ...params });\n await dispatch(\"documents/fetchDocument\", { id: state.id }, { root: true });\n commit(CONTINUE_FLOW_SUCCESS);\n let check = check_sum(state.document)\n commit(SET_CHECK_SUM, {check});\n } catch (error) {\n // TODO: Properly handle call errors\n commit(CONTINUE_FLOW_ERROR);\n throw error;\n }\n}\n\n\nconst cancelEditFlow = async ({ commit, dispatch, state, getters, rootGetters }) => {\n await call_continueFlow({ commit, dispatch, state, getters, rootGetters }, true, true)\n}\n\n\nconst continueFlow = async ({ commit, dispatch, state, getters, rootGetters }) => {\n await call_continueFlow({ commit, dispatch, state, getters, rootGetters }, false, true)\n};\n\nconst saveDocWithoutContinueFlow = async ({ commit, dispatch, state, getters, rootGetters }) => {\n await call_continueFlow({ commit, dispatch, state, getters, rootGetters }, false, false)\n};\n\nconst updateAutomaticMoveAccounts = ({ state, rootState, rootGetters, commit }) => {\n if (rootGetters.got_feature('feature_automatic_moves_in_document')) {\n let account = ''\n\n if (state.document.kind === 'in_invoice') {\n switch (state.document.supplierdb_info.automatic_payment_account) {\n case 'y':\n account = state.document.supplierdb_info.payment_account\n break\n case 'na':\n account = rootState.currentCompany.payment_account\n break\n case 'n':\n case 'm':\n default:\n break\n }\n\n commit(SET_PAYMENT_ACCOUNT, account)\n }\n else if (state.document.kind === 'out_invoice') {\n switch (state.document.customerdb_info.automatic_charge_account) {\n case 'y':\n account = state.document.customerdb_info.charge_account\n break\n case 'na':\n account = rootState.currentCompany.charge_account\n break\n case 'n':\n case 'm':\n default:\n break\n }\n commit(SET_CHARGE_ACCOUNT, account)\n }\n }\n}\n\nconst deleteLabel = ({ rootGetters, getters, state }, { label }) => {\n // TODO: Is this router check needed?\n if (rootGetters.router.currentRoute.name == 'document-detail') {\n getters.taggedText.forEach(page => {\n page.forEach(x => {\n if (x.label[rootGetters[\"documents/annotationLayer\"]] === label) {\n // FIXME: Do not modify state here\n // Launch a message ex. commit(...) CHANGE_LABEL or DELETE_LABEL\n x.label[rootGetters[\"documents/annotationLayer\"]] = 'background'\n }\n })\n })\n }\n};\n\nconst setDirty = ({ commit }) => {\n commit(SET_DIRTY);\n\n}\nconst saveLabels = async ({ state, getters, commit, rootGetters, rootState }, { and_go_back_to = false } = {}) => {\n // TODO: Is this router check needed?\n if (rootGetters.router.currentRoute.name == 'document-detail') {\n commit(WRITE_DOC_BEGIN);\n const params = {\n id: state.id,\n state: getters.currentDocument.state,\n company: rootState.currentCompany.id,\n punteado: getters.currentDocument.punteado,\n supplierdb: getters.currentDocument.supplierdb,\n customerdb: getters.currentDocument.customerdb,\n comment: getters.currentDocument.comment,\n tags: getters.currentDocument.tags,\n kind: getters.currentDocument.kind,\n metadata: getters.currentDocument.metadata,\n forced_move: getters.currentDocument.forced_move,\n actividad: getters.currentDocument.actividad,\n project: getters.currentDocument.project,\n channel: getters.currentDocument.channel,\n expens_income_type: getters.currentDocument.expens_income_type,\n inversion_sujeto_pasivo_igic: getters.currentDocument.inversion_sujeto_pasivo_igic,\n inversion_sujeto_pasivo_iva: getters.currentDocument.inversion_sujeto_pasivo_iva,\n inversion_sujeto_pasivo_igic_percent: getters.currentDocument.inversion_sujeto_pasivo_igic_percent,\n inversion_sujeto_pasivo_iva_percent: getters.currentDocument.inversion_sujeto_pasivo_iva_percent,\n intracomunitario: getters.currentDocument.intracomunitario,\n intracomunitario_percent: getters.currentDocument.intracomunitario_percent,\n intracomunitario_type: getters.currentDocument.intracomunitario_type,\n extracomunitario: getters.currentDocument.extracomunitario,\n no_sujeta: getters.currentDocument.no_sujeta,\n bien_inversion: getters.currentDocument.bien_inversion,\n written_description: getters.currentDocument.written_description,\n description: getters.currentDocument.description,\n importaciones_percent: getters.currentDocument.importaciones_percent,\n comerciante_minorista: getters.currentDocument.comerciante_minorista,\n gasto_iva_percent: getters.currentDocument.gasto_iva_percent,\n accounting_date_config: getters.currentDocument.accounting_date_config,\n default_accounting_date: getters.currentDocument.default_accounting_date,\n prorate: getters.currentDocument.prorate,\n actividad_str: getters.currentDocument.actividad_str,\n building_code: getters.currentDocument.building_code,\n apply_modelo: getters.currentDocument.apply_modelo,\n apply_415: getters.currentDocument.apply_415,\n serie: getters.currentDocument.serie,\n doc_number: getters.currentDocument.doc_number,\n doc_number_prefix: getters.currentDocument.doc_number_prefix,\n excel_line_index: getters.currentDocument.excel_line_index,\n currency: getters.currentDocument.currency,\n retention_type_name: getters.currentDocument.retention_type_name,\n is_comerciante_minorista: getters.currentDocument.is_comerciante_minorista,\n is_comerciante_minorista_percent: getters.currentDocument.is_comerciante_minorista_percent,\n fiscal_location: getters.currentDocument.fiscal_location,\n }\n let keys = Object.keys(params['metadata'])\n for(let i in keys){\n let k = keys[i]\n if(k.includes('vat_') && params['metadata'][k]==''){\n delete params['metadata'][k];\n }\n }\n if (rootGetters['me/userData'].can_see_training_documents){\n params['text_tagging']= getters.taggedText;\n }\n if (getters.currentDocument.supplierdb_info) {\n params['supplierdb'] = getters.currentDocument.supplierdb_info['id'];\n //Set Iva check radiobuttons\n params['iva_igic_no_deducible'] = state.selectedIvaCheck == 'iva_igic_no_deducible';\n params['gasto_iva_parcial'] = state.selectedIvaCheck == 'gasto_iva_parcial';\n if (!params['gasto_iva_percent']) {\n params['gasto_iva_percent'] = 50;\n }\n params['iva_parcial'] = state.selectedIvaCheck == 'iva_parcial';\n if (!params['gasto_iva_percent']) {\n params['gasto_iva_percent'] = 50;\n }\n }\n if (getters.currentDocument.customerdb_info) {\n params['customerdb'] = getters.currentDocument.customerdb_info['id'];\n }\n try {\n const response = await api_documents.patchDocument({ ...params });\n const { data } = response;\n const document = new Document(data);\n commit(WRITE_DOC_SUCCESS, { document });\n // TODO: Move to a module\n data.companydb_info.name = document.companyName\n commit('SET_CURRENT_COMPANY', data.companydb_info, { root: true });\n if (and_go_back_to) {\n rootGetters.router.push(and_go_back_to);\n }\n return response;\n } catch (error) {\n commit(WRITE_DOC_ERROR);\n throw error;\n }\n }\n};\n\nconst saveAccountMoves = async ({ commit, getters }) => {\n let accountMoves = getters.currentDocument.accountMoves;\n commit(WRITE_DOC_BEGIN);\n const response = await api_documents.updateAccountMoves({ accountMoves });\n const { data } = response;\n commit(SET_ACCOUNT_MOVES, data);\n\n};\n\nconst selectLabel = ({ commit, getters }, { label }) => {\n commit(SET_SELECTED_LABEL, { label });\n};\n\nconst setSelectedText = ({ commit, getters, rootGetters }, { index }) => {\n commit(SET_SELECTED_TEXT, { index });\n if (getters.currentDocument) {\n if (index!==null && getters.selectedLabel) {\n const annotationLayer = rootGetters[\"documents/annotationLayer\"];\n commit(SET_DOC_LABEL, {\n label: getters.selectedLabel,\n index,\n annotationLayer\n });\n }\n }\n};\n\n\nconst nextLabel = ({ dispatch, rootGetters }) => {\n // TODO: Is this router check needed?\n if (rootGetters.router.currentRoute.name == 'document-detail') {\n dispatch(\"incLabel\", { delta: 1 });\n }\n};\n\nconst previousLabel = ({ dispatch, rootGetters }) => {\n // TODO: Is this router check needed?\n if (rootGetters.router.currentRoute.name == 'document-detail') {\n dispatch(\"incLabel\", { delta: -1 })\n }\n};\n\nconst incLabel = ({ dispatch, getters, rootGetters, rootState }, { delta }) => {\n let label = undefined;\n if (getters.selectedLabel) {\n const newIndex = (\n rootGetters[\"getLabels\"].findIndex(x => x.name === getters.selectedLabel) + delta + rootGetters[\"getLabels\"].length\n ) % rootGetters[\"getLabels\"].length\n\n label = rootGetters[\"getLabels\"][newIndex].name\n } else {\n label = rootGetters[\"getLabels\"][0].name\n }\n dispatch(\"selectLabel\", { label });\n}\n\nconst end = ({ commit }) => {\n commit(SET_DOC_STATE, { state: 'human_annotated' });\n};\n\nconst setCurrentDocs = ({ commit }, docs) => {\n commit(SET_CURRENT_DOCUMENTS, { docs });\n};\n\nconst updateCurrentIndex = ({ dispatch, getters, rootGetters, rootState, commit }) => {\n var index = 0;\n for(var i = 0; i < getters.currentDocuments.length; i++) {\n if (getters.currentDocuments[i].id == getters.currentDocument.id) {\n index = i;\n break;\n }\n }\n commit(SET_CURRENT_INDEX, {index});\n};\n\nconst setCurrentIndex = ({ commit }, index) => {\n commit(SET_CURRENT_INDEX, { index });\n};\n\nconst resetDocument = ({ commit }) => {\n commit(RESET_DOC);\n};\n\nconst setCurrentFilters = ({ commit }, documentsListFilters) => {\n commit(SET_CURRENT_FILTERS, { documentsListFilters });\n};\n\nconst setCurrentLoading = ({ commit }, loading) => {\n commit(SET_CURRENT_LOADING, { loading });\n};\n\nconst setCurrentOptions = ({ commit }, options) => {\n commit(SET_CURRENT_OPTIONS, { options });\n};\n\nconst setItemsLength = ({ commit }, itemsLength) => {\n commit(SET_ITEMS_LENGTH, { itemsLength });\n};\n\nconst setDictBoolStates = ({ commit }, dictBoolStates) => {\n commit(SET_DICT_BOOL_STATES, { dictBoolStates });\n};\n\nconst setDictBoolTags = ({ commit }, dictBoolTags) => {\n commit(SET_DICT_BOOL_TAGS, { dictBoolTags });\n};\n\nconst setFiltersLoaded = ({ commit }, filtersLoaded) => {\n commit(SET_FILTERS_LOADED, { filtersLoaded });\n};\n\nconst setFiltersDataStatesValues = ({ commit }, filtersDataStatesValues) => {\n commit(SET_FILTERS_DATA_STATES_VALUES, { filtersDataStatesValues });\n};\n\nconst setFiltersDataTagsValues = ({ commit }, filtersDataTagsValues) => {\n commit(SET_FILTERS_DATA_TAGS_VALUES, { filtersDataTagsValues });\n};\n\nconst setFiltersDataActividadStrValues = ({ commit }, filtersDataActividadStrValues) => {\n commit(SET_FILTERS_DATA_ACTIVIDAD_STR_VALUES, { filtersDataActividadStrValues });\n};\n\nconst setFiltersDataActividadValues = ({ commit }, filtersDataActividadValues) => {\n commit(SET_FILTERS_DATA_ACTIVIDAD_VALUES, { filtersDataActividadValues });\n};\n\nconst setFilterDataEjercicioValue = ({ commit }, filtersDataEjercicioValue) => {\n commit(SET_FILTERS_DATA_EJERCICIO_VALUE, { filtersDataEjercicioValue });\n};\n\nconst setFilterDataProjectValue = ({ commit }, filtersDataProjectValue) => {\n commit(SET_FILTERS_DATA_PROJECT_VALUE, { filtersDataProjectValue });\n};\n\nconst setFilterDataEjercicioUserValues = ({ commit }, filtersDataEjercicioUserValues) => {\n commit(SET_FILTERS_DATA_EJERCICIO_USER_VALUES, { filtersDataEjercicioUserValues });\n};\n\nconst setFiltersDataIdValue = ({ commit }, filtersDataIdValue) => {\n commit(SET_FILTERS_DATA_ID_VALUE, { filtersDataIdValue });\n};\n\nconst setFiltersDataStateValue = ({ commit }, filtersDataStateValue) => {\n commit(SET_FILTERS_DATA_STATE_VALUE, { filtersDataStateValue });\n};\n\nconst setFiltersDataSearchValue = ({ commit }, filtersDataSearchValue) => {\n commit(SET_FILTERS_DATA_SEARCH_VALUE, { filtersDataSearchValue });\n};\nconst setFiltersDataSearchDuplicateValue = ({ commit }, filtersDataSearchDuplicateValue) => {\n commit(SET_FILTERS_DATA_SEARCH_DUPLICATE_VALUE, { filtersDataSearchDuplicateValue });\n};\n\nconst setDocumentKind = ({ commit }, kind) => {\n commit(SET_DOCUMENT_KIND, kind);\n}\n\nconst setFiltersDataTagsValue = ({ commit }, filtersDataTagsValue) => {\n commit(SET_FILTERS_DATA_TAGS_VALUE, { filtersDataTagsValue });\n};\n\nconst setFiltersDataEntryNumberValue = ({ commit }, filtersDataEntryNumberValue) => {\n commit(SET_FILTERS_DATA_ENTRY_NUMBER_VALUE, { filtersDataEntryNumberValue });\n};\n\nconst setFiltersDataAccountMoveNumberValue = ({ commit }, filtersDataAccountMoveNumberValue) => {\n commit(SET_FILTERS_DATA_ACCOUNT_MOVE_NUMBER_VALUE, { filtersDataAccountMoveNumberValue });\n};\n\nconst downloadMergedDocuments = ({ state, rootGetters }, { send_filters, docs, options }) => {\n const { sortBy, sortDesc } = options;\n let sortField = false;\n let sortOrder = false;\n if(sortBy){\n sortField = sortBy[0];\n }\n if(sortDesc){\n sortOrder = sortDesc[0];\n }\n let params = {}\n if (send_filters) {\n\n // let currentCompanyId;\n // if (rootGetters.getCurrentCompany) {\n // currentCompanyId = rootGetters.getCurrentCompany.id;\n // } else if (rootGetters[\"me/userData\"].companydb) {\n // currentCompanyId = rootGetters[\"me/userData\"].companydb;\n // }\n // params['filters'] = state.documentsListFilters;\n // params['cdb'] = currentCompanyId;\n\n // if (state.statesFilter) {\n // let states = ''\n // for (let i in state.statesFilter) {\n // states += state.statesFilter[i] + ','\n // }\n // params['filters'] = params['filters'] + '&state__in=' + states.slice(0, -1);\n // }\n\n get_queryset_filters(state, rootGetters, params);\n\n } else {\n params['ids'] = [];\n for (let i in docs) {\n params['ids'].push(docs[i].id);\n }\n }\n params['sortField']=sortField;\n params['sortOrder']=sortOrder;\n return client.post('download_merged_documents/', params);\n}\n\nconst getRetryDetectionStates = async() => {\n let response = await api_documents.getRetryDetectionStates()\n return response.data.result;\n // return [\n // \"required_review\",\n // \"error_third_accounts\",\n // \"third_accounts_validated\",\n // \"accounts_assigned\",\n // \"assigned_contract\",\n // \"error_validating_moves\",\n // \"human_annotated\",\n // \"move_validated\",\n // \"error_supplier_not_found\",\n // \"data_detected\",\n // \"error_creating_moves\",\n // \"in_rotation\",\n // \"not_supported\",\n // \"nif_validated\",\n // \"data_formatted\",\n // \"error_format\",\n // \"error_text_detection\",\n // \"error_assigning_accounts\",\n // \"move_created\",\n // \"nif_detected\",\n // \"pending\",\n // \"preprocessed\",\n // \"uploading_bucket\",\n // \"merging\",\n // \"preprocessing\",\n // \"error\",\n // \"check_duplicated_ok\",\n // \"split\",\n // \"data_validated\",\n // \"error_customer_not_found\",\n // \"error_validating_data\",\n // \"move_loaded\",\n // \"error_account_connector\",\n // \"text_detected\",\n // \"oriented\",\n // \"pending_upload\",\n // \"accounting_invoice\",\n // \"accounting_payment_move\",\n // \"error_checking_taxes\",\n // \"error_already_destination\",\n // \"backtracking\",\n // \"error_critical\"\n // ]\n}\n\nconst dinamic_get_list_documents = async ({ commit, state, getters, rootGetters, dispatch}, {qs,currentCompanyId,currentCallId}) => {\n let canSeeTrainingDocuments = rootGetters[\"me/userData\"].can_see_training_documents;\n let cut=50;\n \n let res;\n if (qs && qs.currentCompanyId) {\n let companyKey = qs.currentCompanyId.toString();\n dispatch('setting_repository/setSettings', {settings: companyKey, value: qs}, { root: true });\n }\n if(qs.itemsPerPage {\n let currentCompanyId = get_currentCompanyId({rootGetters});\n let currentCallId = Date.now().toString()\n commit(SET_DINAMIC_CALL_ID, {id:currentCallId})\n if(currentCompanyId) {\n commit(SET_CURRENT_LOADING, true);\n commit(UNSELECT_DOCUMENTS);\n\n const { page, itemsPerPage, sortBy, sortDesc } = state.documentListOptions;\n const filters = getters.documentsListFilters;\n const statesFilter = state.statesFilter;\n const documentsListId = getters.documentsListId;\n let sortField = undefined;\n let sortOrder = undefined;\n if(sortBy){\n sortField = sortBy[0];\n }\n if(sortDesc){\n sortOrder = sortDesc[0];\n }\n commit(SET_CURRENT_LOADING, { loading: true });\n await dispatch(\"me/refreshUserData\",'',{root:true})\n let canSeeTrainingDocuments = rootGetters[\"me/userData\"].can_see_training_documents;\n currentCompanyId = canSeeTrainingDocuments?undefined:currentCompanyId;\n let kind = state.dpcumentListKind\n let qs = {page, itemsPerPage, filters, currentCompanyId, statesFilter, documentsListId, kind, sortField, sortOrder}\n let response = await dispatch('dinamic_get_list_documents',{qs,currentCompanyId, currentCallId})\n let currentCompanyId2 = get_currentCompanyId({rootGetters});\n currentCompanyId2 = canSeeTrainingDocuments?undefined:currentCompanyId2;\n if (getters.currentDocument) {\n dispatch('updateCurrentIndex', { commit, state, getters, rootGetters, dispatch });\n }\n if(currentCompanyId==currentCompanyId2 && currentCallId==getters.dinamicCallId){\n commit(SET_CURRENT_LOADING, { loading: false });\n for (let i in getters.currentFiltersData) {\n if (i == 'state') {\n if(currentCompanyId || canSeeTrainingDocuments){\n let filts = '';\n if (filters) {\n filts = filters;\n }\n api_documents.getDocumentStates({ currentCompanyId, filts }).then(response => {\n if(currentCompanyId==currentCompanyId2 && currentCallId==getters.dinamicCallId){\n let filtersDataStatesValues = response.data['all_states'];\n commit(SET_FILTERS_DATA_STATES_VALUES, { filtersDataStatesValues });\n let mainfilters = response.data['main_states'];\n commit(SET_MAIN_FILTERS, { mainfilters });\n let dictBoolStates = true;\n commit(SET_DICT_BOOL_STATES, { dictBoolStates });\n if (getters.currentDictBool['states'] && getters.currentDictBool['tags']) {\n let filtersLoaded = true;\n commit(SET_FILTERS_LOADED, { filtersLoaded });\n }\n }\n }, error => {\n dispatch('setting_repository/removeSettings', {settings: currentCompanyId}, { root: true });\n });\n }\n }\n if (i == 'tags') {\n if(currentCompanyId || canSeeTrainingDocuments){\n client.get(\"tags/?limit=100\").then(response => {\n let filtersDataTagsValues = response.data.results;\n commit(SET_FILTERS_DATA_TAGS_VALUES, { filtersDataTagsValues });\n let dictBoolTags = true\n commit(SET_DICT_BOOL_TAGS, { dictBoolTags });\n if (getters.currentDictBool['states'] && getters.currentDictBool['tags']) {\n let filtersLoaded = true;\n commit(SET_FILTERS_LOADED, { filtersLoaded });\n }\n });\n }\n }\n }\n return response\n }\n }\n return false;\n};\n\nconst setIsTrainerMode = ({ commit }, isTrainerMode) => {\n commit(SET_IS_TRAINER_MODE, { isTrainerMode });\n};\n\nconst setIsDebuggerMode = ({ commit }, isDebuggerMode) => {\n commit(SET_IS_DEBUGGER_MODE, { isDebuggerMode });\n};\n\nconst setForcedMove = ({ commit }, forced_move) => {\n commit(SET_FORCED_MOVE, forced_move);\n};\n\nconst multiContinueFlow= async ({ state, rootGetters }, { send_filters, docs }) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n let ids=[];\n docs.forEach((e)=>{\n ids.push(e.id);\n })\n params['doc_ids'] = ids;\n }\n return await api_documents.multiContinueFlow(params);\n};\n\nconst multiRetryAll= async ({}, docs) => {\n let ids=[]\n docs.forEach((e)=>{\n ids.push(e.id)\n })\n return await api_documents.multiRetryAll(ids)\n};\n\nconst markDocAsErrorAccountConnector = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('mark_doc_as_error_account_connector/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n }); \n};\n\nconst markAsPunteado = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.patch('mark_doc_as_punteado/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n }); \n};\n\nconst markAsDespunteado = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n \n client.patch('mark_doc_as_despunteado/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n }); \n};\n\nconst setNeedsTtFixState = ({ state }, {value, docs }) => {\n return new Promise((resolve, reject) => {\n client.patch('set_needs_tt_fix/', {value, docs }).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n }); \n};\nconst setAnnotationLayer = ({ commit }, str) => {\n commit(SET_ANNOTATION_LAYER, str);\n}\n\nconst setZoom = ({ commit }, zoom) => {\n commit(SET_ZOOM, zoom);\n}\n\nconst setRotation = ({ commit }, bool) => {\n commit(SET_ROTATION, bool);\n}\n\nconst setRotationMode = ({ commit }, mode) => {\n commit(SET_ROTATION_MODE, mode);\n}\n\nconst doRotate = ({ state, commit }, {page, rotation}) => {\n if (state.rotationMode === 'all') {\n commit(SET_GLOBAL_ROTATION, rotation);\n } else {\n commit(SET_DOCUMENT_ROTATION, {page, rotation});\n }\n}\n\nconst cancelRotationMode = ({ commit }) => {\n commit(CANCEL_ROTATION)\n}\n\nconst saveRotation = async ({ commit, state }) => {\n const rotationPerDocumentZfill = []\n for (let i = 0; i < state.rotationPerDocument.length - 1; i++) {\n rotationPerDocumentZfill[i] = state.rotationPerDocument[i+1] || 0\n }\n try {\n const response = await api_documents.saveRotation({\n id: state.id,\n globalRotation: state.globalRotation,\n rotationPerDocument: rotationPerDocumentZfill\n })\n commit(SET_ROTATION_TASK, response.data.job_id)\n } catch (error) {\n console.log('saveRotationError:')\n console.error(error)\n }\n}\n\nconst massiveRotation = ({}, {ids, rotation}) => {\n let params = {\n 'ids': ids,\n 'rotation': rotation,\n };\n return new Promise((resolve, reject) => {\n client.post('massive_rotation/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst massiveCalculateBaseCuota = ({ state, rootGetters }, {send_filters, ids, percent}) => {\n let params = {\n // 'ids': ids,\n 'percent': percent\n }\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['ids'] = ids;\n }\n return new Promise((resolve, reject) => {\n client.post('recalculate_base_cuota/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst massiveFixRound = ({ state, rootGetters }, {send_filters, docs}) => {\n let params = { 'currentCompany': rootGetters.getCurrentCompany.id };\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['ids'] = docs;\n }\n return new Promise((resolve, reject) => {\n client.post('massive_fix_round_action/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst massiveFixMismatchEx0 = ({ state, rootGetters }, {send_filters, docs}) => {\n let params = { 'currentCompany': rootGetters.getCurrentCompany.id };\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['ids'] = docs;\n }\n return new Promise((resolve, reject) => {\n client.post('massive_fix_mismatch_ex0_action/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst massiveForceSendDocuments = ({ state, rootGetters }, {send_filters, docs}) => {\n let params = { 'currentCompany': rootGetters.getCurrentCompany.id };\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['ids'] = docs;\n }\n return new Promise((resolve, reject) => {\n client.post('massive_force_send_documents_action/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst setIntraDataFromThirdParty = ({ commit, rootGetters }, thirddb_info) => {\n if (thirddb_info) {\n let currentCompany = rootGetters.getCurrentCompany;\n let set_flag_bien_inversion = currentCompany && currentCompany.companydb_type && ((currentCompany.companydb_type.type == 'account_move') || (currentCompany.companydb_type.type == 'invoice' && 'desglose_de_cuentas' in currentCompany.companydb_type.params && currentCompany.companydb_type.params['desglose_de_cuentas']));\n let set_account_metadata = false;\n if(rootGetters['me/userData']['available_features']['feature_expens_account_metadata'] && currentCompany && currentCompany.companydb_type.params && currentCompany.companydb_type.params['show'] && currentCompany.companydb_type.params['show'].includes('expens_account_metadata')){\n set_account_metadata = true;\n }\n let actividad_kind = '';\n if (currentCompany && currentCompany.companydb_type.params && currentCompany.companydb_type.params['show'] && currentCompany.companydb_type.params['show'].includes('actividad')) {\n actividad_kind = 'actividad';\n }\n else if(currentCompany && currentCompany.companydb_type.params && currentCompany.companydb_type.params['show'] && currentCompany.companydb_type.params['show'].includes('actividad_str')) {\n actividad_kind = 'actividad_str';\n }\n let feature_default_project_channel_in_third = rootGetters['me/userData']['available_features']['feature_default_project_channel_in_third']\n let feature_extra_supplier = rootGetters.got_feature('feature_extra_supplier')\n commit(SET_INTRA_DATA_FROM_SUPPLIER, {thirddb_info, set_flag_bien_inversion, set_account_metadata, feature_default_project_channel_in_third, actividad_kind, feature_extra_supplier});\n }\n}\n\nconst setCriteriodeCaja = ({commit}, supplierdb_info) => {\n if (supplierdb_info) {\n commit(SET_CRITERIO_DE_CAJA, supplierdb_info.criterio_de_caja);\n }\n}\n\nconst setIsComercianteMinorista = ({ commit }, supplierdb_info) => {\n if (supplierdb_info) {\n commit(SET_IS_COMERCIANTE_MINORISTA, supplierdb_info.is_comerciante_minorista)\n }\n}\n\nconst setInvNumberToRectify = ({ commit }, inv_number_to_rectify) => {\n commit(SET_INV_NUMBER_TO_RECTIFY, inv_number_to_rectify);\n}\n\nconst setInvDateToRectify = ({ commit }, inv_date_to_rectify) => {\n commit(SET_INV_DATE_TO_RECTIFY, inv_date_to_rectify);\n}\n\nconst setIntraDataFromCustom = ({ commit }, {param, value, value2}) => {\n commit(SET_INTRA_DATA_FROM_CUSTOM, {param, value, value2});\n}\n\nconst setType0 = ({commit,rootGetters,state}, third_info) => {\n if (third_info && rootGetters.got_feature('feature_exenta_no_sujeta')){\n let tax_type = rootGetters.getCurrentCompany.tax_type\n setType0metadata(tax_type, third_info, state.document.metadata, commit, SET_IVA_0_FROM_TO);\n \n }\n \n}\n\nconst setItemsPerPage = ({ commit }, itemsPerPage) => {\n commit(SET_ITEMS_PER_PAGE, itemsPerPage);\n}\n\nconst setCurrentDocumentSupplierDB = ({ commit }, { currentDocumentSupplierdb, currentDocumentSupplierdbInfo, isBienInversionChanged, areIvaChecksChanged }) => {\n commit(SET_CURRENT_DOCUMENT_SUPPLIERDB, { currentDocumentSupplierdb, currentDocumentSupplierdbInfo, isBienInversionChanged, areIvaChecksChanged });\n}\n\nconst setCurrentDocumentCustomerDB = ({ commit }, { currentDocumentCustomerdb, currentDocumentCustomerdbInfo }) => {\n commit(SET_CURRENT_DOCUMENT_CUSTOMERDB, { currentDocumentCustomerdb, currentDocumentCustomerdbInfo });\n}\nconst setCurrentHeaders = ({ commit, state, getters, rootGetters, dispatch }) => {\n let index1 = state.documentListHeaders.findIndex(function(item, i){\n return item.value === 'entry_number';\n });\n if (index1 > 0) {\n commit(REMOVE_DOCUMENTS_LIST_HEADERS_ELEM_BY_INDEX, index1);\n }\n let index2 = state.documentListHeaders.findIndex(function(item, i){\n return item.value === 'account_move_number';\n });\n if (index2 > 0) {\n commit(REMOVE_DOCUMENTS_LIST_HEADERS_ELEM_BY_INDEX, index2);\n }\n\n\n let index3 = state.documentListHeaders.findIndex(function(item, i){\n return item.value === 'username';\n });\n if (index3 > 0) {\n commit(REMOVE_DOCUMENTS_LIST_HEADERS_ELEM_BY_INDEX, index3);\n }\n\n let index4 = state.documentListHeaders.findIndex(function(item, i) {\n return item.value === 'created';\n });\n if (index4 > 0) {\n commit(REMOVE_DOCUMENTS_LIST_HEADERS_ELEM_BY_INDEX, index4);\n }\n\n let index5 = state.documentListHeaders.findIndex(function(item, i) {\n return item.value === 'punteado';\n });\n if (index5 > 0) {\n commit(REMOVE_DOCUMENTS_LIST_HEADERS_ELEM_BY_INDEX, index5);\n }\n\n let elem = {};\n\n if (rootGetters['me/userData']['companydb']) {\n if (rootGetters['me/userData']['companydb']['companydb_type'] && rootGetters['me/userData']['companydb']['companydb_type']['type'] == 'invoice') { \n elem = {text: \"Apunte\", value: \"entry_number\", width: 100};\n commit(SET_DOCUMENTS_LIST_HEADERS_ELEM, elem);\n } else {\n elem = {text: \"Asiento\", value: \"account_move_number\", width: 100};\n commit(SET_DOCUMENTS_LIST_HEADERS_ELEM, elem);\n }\n } else {\n if (rootGetters.getCurrentCompany && rootGetters.getCurrentCompany.companydb_type && rootGetters.getCurrentCompany.companydb_type.type == 'invoice') {\n elem = {text: \"Apunte\", value: \"entry_number\", width: 100};\n commit(SET_DOCUMENTS_LIST_HEADERS_ELEM, elem);\n } else {\n elem = {text: \"Asiento\", value: \"account_move_number\", width: 100};\n commit(SET_DOCUMENTS_LIST_HEADERS_ELEM, elem);\n }\n }\n dispatch('me/refreshUserData', {}, {root:true}).then(() => {\n if (rootGetters['me/userData']['available_features']['feature_can_see_doc_created_date']) {\n elem = {text: \"Fecha de subida\", value: \"created\", width: 150};\n commit(SET_DOCUMENTS_LIST_HEADERS_ELEM, elem);\n }\n\n if (rootGetters['me/userData']['can_see_training_documents']) {\n elem = {text: \"Usuario\", value: \"username\"};\n commit(SET_DOCUMENTS_LIST_HEADERS_ELEM, elem);\n }\n\n if (rootGetters['me/userData']['available_features']['feature_can_mark_doc_as_punteado']) {\n elem = {text: \"Punteado\", value: \"punteado\"};\n commit(SET_DOCUMENTS_LIST_HEADERS_ELEM, elem);\n }\n });\n};\n\n\nconst getFilters = ({ commit, state, dispatch }, filts) => {\n commit(SET_DOCUMENT_OPTIONS_PAGE, 1)\n commit(SET_CURRENT_FILTERS, { documentsListFilters: filts });\n dispatch(\"refreshData\")\n};\n\nconst generateFilters = ({ state, dispatch }) => {\n let filts = \"\";\n for (let filter in state.documentListFiltersData2) {\n if (state.documentListFiltersData2[filter].value) {\n if (state.metadataFiltersStates.includes(state.selectedStateChip)) {\n filts += \"&\" + filter + \"=\" + encodeURIComponent(state.documentListFiltersData2[filter].value);\n } else {\n if (!['invoice_date__lte', 'invoice_date__gte'].includes(filter)) {\n filts += \"&\" + filter + \"=\" + encodeURIComponent(state.documentListFiltersData2[filter].value);\n }\n }\n } \n }\n dispatch(\"getFilters\", filts)\n // this.getFilters(filts);\n};\nconst cleanFilters = ({ commit, dispatch }) => {\n commit(CLEAN_FILTERS);\n commit(SET_DOCUMENT_KIND, '');\n dispatch(\"getFilters\", \"\");\n};\n\nconst massiveUpdateObject = ({ state, rootGetters }, { url, ids, send_filters, params, currentCompany }) => {\n return new Promise((resolve, reject)=> {\n let values = { \n 'params': params, \n 'currentCompany':currentCompany \n };\n if (send_filters) {\n values = get_queryset_filters(state, rootGetters, values);\n } else {\n values['ids'] = ids;\n }\n client.patch(url, values).then(response => {\n resolve(response);\n }).catch(err=>{\n reject(err);\n });\n });\n};\n \nconst getMirrorDocument = ({}, { doc_id, session_username }) => {\n let params = {\n 'doc_id': doc_id,\n 'session_username': session_username,\n };\n return new Promise((resolve, reject) => {\n client.post('get_mirror_document/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n};\n\nconst getSimulatedMirrorDocument = ({}, { doc_id, session_username }) => {\n let params = {\n 'doc_id': doc_id,\n 'session_username': session_username,\n };\n return new Promise((resolve, reject) => {\n client.post('get_simulated_mirror_document/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n};\n\nconst getSimulationsFromTrainingDocument = ({}, { doc_id }) => {\n return new Promise((resolve, reject) => {\n client.get('get_simulation_documents/?doc_id=' + doc_id).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n};\n\nconst markDocsAsPendingReview = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('mark_doc_as_pending_review/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n })\n })\n};\n\nconst forceDocsStateToDone = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('force_docs_done_state/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n};\n\nconst forceDocsSendInvoice = ({ state, rootGetters }, { send_filters, docs}) => {\n return new Promise((resolve, reject) => {\n let params = {};\n \n params['doc_ids'] = docs;\n client.post('documents/' + docs[0] +'/sync_document/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n};\n\nconst bckPendingReviewAction = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('back_doc_to_pending_review_state/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n }); \n};\n\nconst accountingToPendingReviewAction = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('accounting_to_pending_review_state/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n};\n\nconst backPendingUploadToPendingReview = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['docs_ids'] = docs;\n }\n client.post('back_pending_upload_to_pending_review/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n });\n};\n\nconst changeStatePendingSyncToDone = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('change_doc_pending_sync_to_done/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n });\n};\n\nconst changeStateErrorAlreadyDestinationToDone = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('docs_error_already_destination_to_done/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n });\n};\n\nconst changeStateErrorAlreadyDestinationToPendingReview = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('docs_error_already_destination_to_pending_review/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n });\n};\n\nconst changeStatePendingReviewToDone = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('docs_pending_review_to_done/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n });\n};\n\nconst changeStateAccountingToPendingConnect = ({ state, rootGetters }, { send_filters, docs, session_username }) => {\n return new Promise((resolve, reject) => {\n let params = { 'session_username': session_username };\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n if (rootGetters.getCurrentCompany) {\n params['cdb'] = rootGetters.getCurrentCompany.id;\n } else if (rootGetters[\"me/userData\"].companydb) {\n params['cdb'] = rootGetters[\"me/userData\"].companydb;\n }\n }\n client.post('docs_accounting_to_pending_connect/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n });\n};\n\nconst changeStatePendingConnectToPendingReview = ({ state, rootGetters }, { send_filters, docs, session_username }) => {\n return new Promise((resolve, reject) => {\n let params = { 'session_username': session_username };\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n if (rootGetters.getCurrentCompany) {\n params['cdb'] = rootGetters.getCurrentCompany.id;\n } else if (rootGetters[\"me/userData\"].companydb) {\n params['cdb'] = rootGetters[\"me/userData\"].companydb;\n }\n }\n client.post('docs_pending_connect_to_pending_review/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n })\n}\n\nconst changeStateAccountingToDone = ({ state, rootGetters }, { send_filters, docs, session_username }) => {\n return new Promise((resolve, reject) => {\n let params = { 'session_username': session_username };\n\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n if (rootGetters.getCurrentCompany) {\n params['cdb'] = rootGetters.getCurrentCompany.id;\n } else if (rootGetters[\"me/userData\"].companydb) {\n params['cdb'] = rootGetters[\"me/userData\"].companydb;\n }\n }\n\n console.log(params)\n client.post('docs_accounting_to_done/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n })\n })\n}\n\nconst generatePaymentMoves = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n }\n client.post('generate_payment_moves/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n });\n}\n\nconst createManualPaymentMoves = ({dispatch, state}, params) => {\n return new Promise((resolve, reject) => {\n client.post('create_manual_payment_moves/', params).then(r => { \n dispatch(\"documents/fetchDocument\", { id: state.id }, { root: true }).then(()=>{\n resolve(r) \n }).catch(err => {\n reject(err);\n });\n }).catch(err => {\n reject(err);\n });\n });\n};\n\nconst downloadCSV = ({ rootState }, docs) => {\n return new Promise((resolve, reject) => {\n let ids = [];\n for (let doc in docs) {\n ids.push(docs[doc].id);\n }\n client.post('download_csv/', {'cdb': rootState.currentCompany.id, 'ids': ids}).then(resp => {\n resolve(resp);\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst downloadCSVOneLine = ({ state, rootGetters, rootState }, { send_filters, docs, options, state_filter }) => {\n return new Promise((resolve, reject) => {\n let params = { 'cdb': rootState.currentCompany.id };\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n let ids = [];\n for (let doc in docs) {\n ids.push(docs[doc].id);\n }\n params['ids'] = ids;\n }\n if (state_filter) {\n params['state_filter'] = state_filter;\n }\n\n const { sortBy, sortDesc } = options;\n let sortField = false;\n let sortOrder = false;\n if(sortBy){\n sortField = sortBy[0];\n }\n if(sortDesc){\n sortOrder = sortDesc[0];\n }\n params['sortField']=sortField;\n params['sortOrder']=sortOrder;\n\n client.post('download_csv_one_line/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst toDone = ({ state, rootGetters, rootState }, { send_filters, docs, last_entry_number_csv }) => {\n return new Promise((resolve, reject) => {\n let params = { 'cdb': rootState.currentCompany.id, 'last_entry_number_csv': last_entry_number_csv };\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n let ids = [];\n for (let doc in docs) {\n ids.push(docs[doc].id);\n }\n params['ids'] = ids;\n }\n\n client.post('docs_to_done/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst getHeaderUser = ({ commit, rootState, rootGetters }) => {\n return new Promise((resolve, reject) => {\n client.get('settings/get_document_list_headers/').then(resp => {\n commit(SET_DOCUMENTS_LIST_HEADERS_USER, resp.data['show']);\n commit(SET_DOCUMENT_LIST_HIDDEN_HEADERS_USER, resp.data['hide']);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst getHeader = ({ commit, rootState, rootGetters }) => {\n return new Promise((resolve, reject) => {\n let cdb_id = '';\n if (rootGetters['me/userData']['companydb']){\n cdb_id = rootGetters['me/userData']['companydb']['id'];\n } else if (rootState && rootState.currentCompany) {\n cdb_id = rootState.currentCompany.id;\n }\n if (cdb_id) {\n client.get('settings/get_document_list_headers/?cdb_id=' + cdb_id).then(resp => {\n commit(SET_DOCUMENTS_LIST_HEADERS, resp.data['show']);\n commit(SET_DOCUMENT_LIST_HIDDEN_HEADERS, resp.data['hide']);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n client.get('settings/get_document_list_headers_read_only/?cdb_id=' + cdb_id).then(resp => {\n commit(SET_DOCUMENTS_LIST_HEADERS_READ_ONLY, resp.data['show']);\n commit(SET_DOCUMENT_LIST_HIDDEN_HEADERS_READ_ONLY, resp.data['hide']);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n } else {\n reject();\n }\n });\n}\nconst setHeaderUser = ({ state, rootState, rootGetters}) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/set_setting/document_list_headers/' + rootGetters[\"me/userData\"]['user'] + '/';\n let params = { 'payload': { 'show': state.documentListHeadersUser, 'hide': state.documentListHiddenHeadersUser }};\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\nconst setHeader = ({ state, rootState, rootGetters}) => {\n return new Promise((resolve, reject) => {\n let cdb_id = '';\n if (rootGetters['me/userData']['companydb']){\n cdb_id = rootGetters['me/userData']['companydb']['id'];\n } else {\n cdb_id = rootState.currentCompany.id;\n }\n let url = 'settings/set_setting/document_list_headers/' + rootGetters[\"me/userData\"]['user'] + '/' + cdb_id + '/';\n let params = { 'payload': { 'show': state.documentListHeaders, 'hide': state.documentListHiddenHeaders }};\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\nconst setHeaderReadOnly = ({ state, rootState, rootGetters }) => {\n return new Promise((resolve, reject) => {\n let cdb_id = '';\n if (rootGetters['me/userData']['companydb']){\n cdb_id = rootGetters['me/userData']['companydb']['id'];\n } else {\n cdb_id = rootState.currentCompany.id;\n }\n let url = 'settings/set_setting/document_list_headers_read_only/' + rootGetters[\"me/userData\"]['user'] + '/' + cdb_id + '/';\n let params = { 'payload': { 'show': state.documentListHeadersReadOnly, 'hide': state.documentListHiddenHeadersReadOnly }};\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\nconst getHeaderSupplierDBUser = ({ commit, rootState, rootGetters }) => {\n return new Promise((resolve, reject) => {\n let cdb_id = false;\n if (rootGetters['me/userData']['companydb']){\n cdb_id = rootGetters['me/userData']['companydb']['id'];\n } else if(rootState && rootState.currentCompany) {\n cdb_id = rootState.currentCompany.id;\n }\n let url = 'settings/get_supplierdb_list_headers/';\n if (cdb_id) {\n url += '?cdb_id='+cdb_id\n }\n client.get(url).then(resp => {\n commit(SET_SUPPLIERDB_LIST_HEADERS_USER, resp.data['show']);\n commit(SET_SUPPLIERDB_LIST_HIDDEN_HEADERS_USER, resp.data['hide']);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\nconst setHeaderSupplierDBUser = ({ state, rootState, rootGetters}) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/set_setting/supplierdb_list_headers/' + rootGetters[\"me/userData\"]['user'] + '/';\n let params = { 'payload': { 'show': state.supplierdbListHeadersUser, 'hide': state.supplierdbListHiddenHeadersUser }};\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst getHeaderCustomerDBUser = ({ commit, rootState, rootGetters }) => {\n return new Promise((resolve, reject) => {\n let cdb_id = false;\n if (rootGetters['me/userData']['companydb']){\n cdb_id = rootGetters['me/userData']['companydb']['id'];\n } else if(rootState && rootState.currentCompany) {\n cdb_id = rootState.currentCompany.id;\n }\n let url = 'settings/get_customerdb_list_headers/';\n if (cdb_id) {\n url += '?cdb_id='+cdb_id\n }\n client.get(url).then(resp => {\n commit(SET_CUSTOMERDB_LIST_HEADERS_USER, resp.data['show']);\n commit(SET_CUSTOMERDB_LIST_HIDDEN_HEADERS_USER, resp.data['hide']);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst setHeaderCustomerDBUser = ({ state, rootState, rootGetters}) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/set_setting/customerdb_list_headers/' + rootGetters[\"me/userData\"]['user'] + '/';\n let params = { 'payload': { 'show': state.customerdbListHeadersUser, 'hide': state.customerdbListHiddenHeadersUser }};\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst addMetadataDetailLine = ({state,commit, rootState, rootGetters}, {line, label}) => {\n //console.log('new LINE', line, label)\n var value = [];\n if (state.document.metadata[label]) {\n for(var i = 0; i < state.document.metadata[label].length; i++) {\n value.push(state.document.metadata[label][i])\n }\n }\n value.push(line)\n //console.log('sending', value)\n commit('updateMetadataField', {value: value, path: label});\n}\n\n \n\nconst remMetadataDetailLine = ({state,commit, rootState, rootGetters}, {pos, label}) => {\n var value = [];\n if (state.document.metadata[label]) {\n for(var i = 0; i < state.document.metadata[label].length; i++) {\n value.push(state.document.metadata[label][i])\n }\n value.splice(pos,1)\n commit('updateMetadataField', {value: value, path: label});\n }\n}\n\nconst updateMetadataFieldAct = ({state,commit, rootState, rootGetters}, {label,value}) => {\n //console.log('action!')\n commit('updateMetadataField', {value: value, path: label});\n}\n\nconst getFiltersParamsForRequest = ({ state, rootGetters }, params) => {\n return new Promise((resolve, reject) => {\n let new_params = get_queryset_filters(state, rootGetters, params);\n resolve(new_params);\n });\n}\n\nconst setAllDataFilters = ({state, rootState, rootGetters, dispatch, commit}, filtersUrl) => {\n if (filtersUrl) {\n try {\n let urlParams = new URLSearchParams(filtersUrl)\n let filters = Object.fromEntries(urlParams)\n let keys = Object.keys(state.documentListFiltersData2);\n for(var i = 0; i < keys.length; i++) {\n let key = keys[i];\n if (filters[key]) {\n commit(SET_BROWSER_VALUE, {key: key, value: filters[key]});\n } \n }\n } catch {}\n }\n}\n\nconst initAllCurrentsFilters = ({state, rootState, rootGetters, dispatch, commit}) => {\n let itemsPerPage = 10\n commit(SET_DOCUMENT_LIST_OPTIONS, {page: 1, itemsPerPage: itemsPerPage, sortBy: [], sortDesc: []});\n commit(SET_CURRENT_FILTERS, { documentsListFilters: '' });\n commit(SET_DOCUMENT_KIND, '');\n commit(SET_STATES_FILTER, undefined);\n commit(SET_DOCUMENTS_LIST_ID, null);\n commit(SET_ITEMS_PER_PAGE, itemsPerPage);\n var keys = Object.keys(state.documentListFiltersData2);\n for (var i = 0; i < keys.length; i++) {\n let data = {key: keys[i], value: ''};\n commit(SET_FILTERS_DATA_KEY, data);\n }\n};\n\nconst setAllCurrentsFilters = ({state, rootState, rootGetters, dispatch, commit}, get_data) => {\n let company = rootGetters.getCurrentCompany;\n if (!company) {\n company = {\n id: rootGetters['setting_repository/currentKey']\n };\n }\n if (company) {\n dispatch('initAllCurrentsFilters');\n let filters = rootGetters['setting_repository/getSettings'](company.id);\n if (filters && get_data) {\n let itemsPerPage = 10\n if (filters.itemsPerPage) {\n itemsPerPage = filters.itemsPerPage;\n }\n const params = { \n page: filters.page, \n itemsPerPage: itemsPerPage, \n sortBy: [], \n sortDesc: [],\n groupBy: [],\n groupDesc: [],\n mustSort: false,\n multiSort: false\n };\n if (filters.sortField) {\n params.sortBy.push(filters.sortField);\n }\n if (filters.sortOrder && filters.sortField) {\n params.sortDesc.push(true);\n } else {\n params.sortDesc.push(false);\n } \n commit(SET_DOCUMENT_LIST_OPTIONS, params);\n commit(SET_CURRENT_FILTERS, { documentsListFilters: filters.filters });\n commit(SET_DOCUMENT_KIND, filters.kind);\n if (filters.statesFilter && filters.statesFilter.length > 0) {\n commit(SET_STATES_FILTER, filters.statesFilter);\n }\n commit(SET_DOCUMENTS_LIST_ID, filters.documentsListId);\n commit(SET_ITEMS_PER_PAGE, itemsPerPage);\n if (filters.filters) {\n dispatch('setAllDataFilters', filters.filters);\n }\n } else if (!get_data) { // TODO: revisar si este es el mejor sitio para aplicar este filtro\n let current_ejercicio = {};\n for (let i in company.links) {\n if (company.links[i].active) {\n if (!Object.keys(current_ejercicio).includes('min_date') || current_ejercicio['min_date'] < company.links[i].min_date) {\n current_ejercicio = company.links[i];\n }\n }\n }\n if (Object.keys(current_ejercicio).includes('id')) {\n let filter = '&ejercicio=' + current_ejercicio.id;\n commit(SET_CURRENT_FILTERS, { documentsListFilters: filter });\n dispatch('setAllDataFilters', filter);\n }\n }\n }\n}\n\nconst setCurrentStateChip = ({state, rootState, rootGetters, dispatch, commit}, get_data) => {\n let company = rootGetters.getCurrentCompany;\n if (!company) {\n company = {\n id: rootGetters['setting_repository/currentKey']\n };\n }\n if (company) {\n let key = rootGetters['setting_repository/keyStateChip'] + company.id;\n let value = rootGetters['setting_repository/getSettings'](key);\n let filters = rootGetters['setting_repository/getSettings'](company.id);\n if (value && filters && get_data) { //TODO revisar desactivar && False\n commit(SET_SELECTED_STATE_CHIP, value);\n } else {\n if (value) {\n dispatch('setting_repository/removeSettings', {settings: key}, { root: true })\n }\n commit(SET_SELECTED_STATE_CHIP, 'all');\n }\n }\n};\n\nconst getDocumentActionsErrorParams = ({ commit, rootGetters }) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/get_setting/document_actions_params/' + rootGetters[\"me/userData\"]['user'] + '/';\n client.get(url).then(resp => {\n commit(SET_DOCUMENT_ACTIONS_ERROR_PARAMS, resp.data['params']);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n};\n\nconst fixContasolDocuments = ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params['doc_ids'] = docs;\n let currentCompanyId;\n if (rootGetters.getCurrentCompany) {\n currentCompanyId = rootGetters.getCurrentCompany.id;\n } else if (rootGetters[\"me/userData\"].companydb) {\n currentCompanyId = rootGetters[\"me/userData\"].companydb;\n }\n params['cdb'] = currentCompanyId;\n }\n client.post('fix_contasol_documents/', params).then(response => {\n resolve(response);\n }).catch(error => {\n reject(error);\n });\n });\n};\n\nconst setColumnDataIfParams = ({ commit },data) => {\n if(data['params']){\n if(data['params']['show']){\n commit(SET_DOCUMENTS_LIST_HEADERS, data['params']['show']);\n }\n if(data['params']['hide']){\n commit(SET_DOCUMENT_LIST_HIDDEN_HEADERS, data['params']['hide']);\n } \n }\n}\n\nconst getCompanyActivities = ({ state }, { companydb_id, feature_code, field_show }) => {\n return new Promise((resolve, reject) => {\n let params = {\n 'companydb_id': companydb_id,\n 'code': feature_code,\n 'field_show': field_show,\n };\n client.get('is_active_feature/', {params: params}).then(response => {\n let is_active = response.data.is_active;\n if (is_active) {\n let params2 = {'companydb_id': companydb_id}\n client.get('activities/', {params: params2}).then(response => {\n resolve(response.data.results);\n }).catch(err => {\n reject(err);\n });\n }\n else {\n resolve([]);\n }\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst showAccountMoveFooter = ({ state, commit }) => {\n commit(SET_ACCOUNT_MOVE_LINES, { min_footer: false, footer_height: 370 })\n commit(SET_LAST_SHOW_ACCOUNT_MOVE, true);\n};\n\nconst hideAccountMoveFooter = ({ state, commit }) => {\n commit(SET_ACCOUNT_MOVE_LINES, { min_footer: true, footer_height: 60 })\n commit(SET_LAST_SHOW_ACCOUNT_MOVE, false);\n};\n\nconst showInvoiceLinesFooter = ({ state, commit }) => {\n commit(SET_INVOICE_LINES, { show_invoice_lines: true, footer_height: 370 })\n commit(SET_LAST_SHOW_INVOICE_LINES, true);\n};\n\nconst hideInvoiceLinesFooter = ({ state, commit }) => {\n commit(SET_INVOICE_LINES, { show_invoice_lines: false, footer_height: 60 })\n commit(SET_LAST_SHOW_INVOICE_LINES, false);\n};\n\nconst initAccountMoveFooter = ({ state, commit }, account_move) => {\n if (account_move) {\n if (state.linesAccountMove.last_option.show) {\n commit(SET_ACCOUNT_MOVE_LINES, { min_footer: false, footer_height: 370 })\n } else {\n commit(SET_ACCOUNT_MOVE_LINES, { min_footer: true, footer_height: 60 })\n }\n } else {\n commit(SET_ACCOUNT_MOVE_LINES, { min_footer: true, footer_height: 60 })\n }\n}\n\nconst initInvoiceLinesFooter = ({ state, commit }, invoice_line) => {\n if (invoice_line) {\n if (state.invoiceLines.last_option.show) {\n commit(SET_INVOICE_LINES, { min_footer: false, footer_height: 370 })\n } else {\n commit(SET_INVOICE_LINES, { min_footer: true, footer_height: 60 })\n }\n } else {\n commit(SET_INVOICE_LINES, { min_footer: true, footer_height: 60 })\n }\n}\n\nconst initInvoiceLines = ({ state, commit }, account_move) => {\n \n if (state.invoiceLines.last_option.show) {\n commit(SET_INVOICE_LINES, { show_invoice_lines: false, invoice_lines_height: 370 })\n } else {\n commit(SET_INVOICE_LINES, { show_invoice_lines: true, invoice_lines_height: 60 })\n }\n \n}\n\n// Barra de filtros nueva\nconst updateObject = ({commit}, {key,value,text}) => {\n if(key=='ejercicio')\n commit(SET_FILTER_EJERCICIO, {value, text});\n if(key=='id')\n commit(SET_FILTER_ID, value);\n if(key=='state')\n commit(SET_FILTER_STATE, {value,text});\n if(key=='search__icontains')\n commit(SET_FILTER_SEARCH_ICONTAINS, value);\n if(key=='search__duplicate')\n commit(SET_FILTER_SEARCH_DUPLICATE, value);\n if(key=='document_text__icontains')\n commit(SET_FILTER_DOCUMENT_TEXT_ICONTAINS, value);\n if(key=='tags')\n commit(SET_FILTER_TAGS, value);\n if(key=='actividad')\n commit(SET_FILTER_ACTIVIDAD, value);\n if(key=='actividad_str')\n commit(SET_FILTER_ACTIVIDAD_STR, value);\n if(key=='username__icontains')\n commit(SET_FILTER_USERNAME_ICONTAINS, value);\n if(key=='kind')\n commit(SET_FILTER_KIND, {value,text});\n if(key=='created__gte')\n commit(SET_FILTER_CREATED_GTE, value);\n if(key=='created__lte')\n commit(SET_FILTER_CREATED_LTE, value);\n if(key=='accounting_date__gte')\n commit(SET_FILTER_ACCOUNTING_DATE_GTE, value);\n if(key=='accounting_date__lte')\n commit(SET_FILTER_ACCOUNTING_DATE_LTE, value);\n if(key=='invoice_date__gte')\n commit(SET_FILTER_INVOICE_DATE_GTE, value);\n if(key=='invoice_date__lte')\n commit(SET_FILTER_INVOICE_DATE_LTE, value);\n if(key=='third_cif__icontains')\n commit(SET_FILTER_THIRD_CIF_ICONTAINS, value);\n if(key=='third_name__icontains')\n commit(SET_FILTER_THIRD_NAME_ICONTAINS, value);\n if(key=='mirror_state')\n commit(SET_FILTER_MIRROR_STATE, {value,text});\n if(key=='punteado')\n commit(SET_FILTER_PUNTEADO, {value,text});\n if(key=='is_rectificativa')\n commit(SET_FILTER_RECTIFICATIVA, {value,text});\n if(key=='payment_state')\n commit(SET_FILTER_PAYMENT_STATE, {value,text});\n if(key=='payment_date__gte')\n commit(SET_FILTER_PAYMENT_DATE_GTE, value);\n if(key=='payment_date__lte')\n commit(SET_FILTER_PAYMENT_DATE_LTE, value);\n if(key=='has_retention')\n commit(SET_FILTER_HAS_RETENTION, {value,text});\n if(key=='notes__icontains')\n commit(SET_FILTER_NOTES_ICONTAINS, value);\n};\n\n// Barra de filtros nueva\nconst removeAllFilters = ({commit},p) => {\n let value=''\n let text=''\n commit(SET_FILTER_EJERCICIO, {value, text});\n commit(SET_FILTER_ID, value);\n commit(SET_FILTER_STATE, {value,text});\n commit(SET_FILTER_SEARCH_ICONTAINS, value);\n commit(SET_FILTER_SEARCH_DUPLICATE, value);\n commit(SET_FILTER_DOCUMENT_TEXT_ICONTAINS, value);\n commit(SET_FILTER_TAGS, value);\n commit(SET_FILTER_ACTIVIDAD, value);\n commit(SET_FILTER_ACTIVIDAD_STR, value);\n commit(SET_FILTER_USERNAME_ICONTAINS, value);\n commit(SET_FILTER_KIND, {value,text});\n commit(SET_FILTER_CREATED_GTE, value);\n commit(SET_FILTER_CREATED_LTE, value);\n commit(SET_FILTER_ACCOUNTING_DATE_GTE, value);\n commit(SET_FILTER_ACCOUNTING_DATE_LTE, value);\n commit(SET_FILTER_INVOICE_DATE_GTE, value);\n commit(SET_FILTER_INVOICE_DATE_LTE, value);\n commit(SET_FILTER_THIRD_CIF_ICONTAINS, value);\n commit(SET_FILTER_THIRD_NAME_ICONTAINS, value);\n commit(SET_FILTER_MIRROR_STATE, {value,text});\n commit(SET_FILTER_PUNTEADO, {value,text});\n commit(SET_FILTER_RECTIFICATIVA, {value,text});\n commit(SET_FILTER_PAYMENT_STATE, {value,text});\n commit(SET_FILTER_PAYMENT_DATE_GTE, value);\n commit(SET_FILTER_PAYMENT_DATE_LTE, value);\n commit(SET_FILTER_HAS_RETENTION, {value,text});\n commit(SET_FILTER_NOTES_ICONTAINS, value);\n}\n\nexport const actions = {\n fetchDocument,\n continueFlow,\n cancelEditFlow,\n deleteLabel,\n downloadMergedDocuments,\n selectLabel,\n saveLabels,\n setSelectedText,\n nextLabel,\n previousLabel,\n incLabel,\n end,\n resetDocument,\n setCurrentDocs,\n updateCurrentIndex,\n setCurrentIndex,\n setCurrentFilters,\n setCurrentLoading,\n setCurrentOptions,\n setCurrentPage,\n setItemsLength,\n setDictBoolStates,\n setDictBoolTags,\n setFiltersLoaded,\n refreshData,\n setFiltersDataStatesValues,\n setFiltersDataTagsValues,\n setFiltersDataActividadStrValues,\n setFiltersDataActividadValues,\n setFilterDataEjercicioValue,\n setFilterDataProjectValue,\n setFiltersDataIdValue,\n setFiltersDataStateValue,\n setFiltersDataSearchValue,\n setFiltersDataSearchDuplicateValue,\n setFilterDataEjercicioUserValues,\n setDocumentKind,\n setFiltersDataTagsValue,\n setFiltersDataEntryNumberValue,\n setFiltersDataAccountMoveNumberValue,\n setIsTrainerMode,\n setIsDebuggerMode,\n setForcedMove,\n saveAccountMoves,\n fetchDocumentMetadata,\n checkSum,\n downloadFile,\n downloadFiles,\n multiContinueFlow,\n multiRetryAll,\n setAnnotationLayer,\n setZoom,\n setRotation,\n setRotationMode,\n doRotate,\n cancelRotationMode,\n saveRotation,\n massiveRotation,\n massiveCalculateBaseCuota,\n massiveFixRound,\n massiveFixMismatchEx0,\n massiveForceSendDocuments,\n setIntraDataFromThirdParty,\n setCriteriodeCaja,\n setIsComercianteMinorista,\n setInvNumberToRectify,\n setInvDateToRectify,\n setIntraDataFromCustom,\n setType0,\n setDirty,\n setItemsPerPage,\n setCurrentDocumentSupplierDB,\n setCurrentDocumentCustomerDB,\n setCurrentHeaders,\n downloadFormationDocuments,\n downloadExcel,\n getFilters,\n generateFilters,\n cleanFilters,\n documentToParam,\n downloadCSV,\n downloadCSVOneLine,\n toDone,\n massiveUpdateObject,\n getMirrorDocument,\n getSimulatedMirrorDocument,\n getSimulationsFromTrainingDocument,\n markDocAsErrorAccountConnector,\n markDocsAsPendingReview,\n forceDocsStateToDone,\n bckPendingReviewAction,\n accountingToPendingReviewAction,\n backPendingUploadToPendingReview,\n changeStatePendingSyncToDone,\n changeStateErrorAlreadyDestinationToDone,\n changeStateErrorAlreadyDestinationToPendingReview,\n changeStatePendingReviewToDone,\n changeStateAccountingToPendingConnect,\n changeStatePendingConnectToPendingReview,\n changeStateAccountingToDone,\n generatePaymentMoves,\n createManualPaymentMoves,\n markAsPunteado,\n markAsDespunteado,\n setNeedsTtFixState,\n getRetryDetectionStates,\n getHeader,\n getHeaderUser,\n setHeader,\n setHeaderUser,\n getHeaderSupplierDBUser,\n setHeaderSupplierDBUser,\n getHeaderCustomerDBUser,\n setHeaderCustomerDBUser,\n addMetadataDetailLine,\n remMetadataDetailLine,\n updateMetadataFieldAct,\n setHeaderReadOnly,\n getFiltersParamsForRequest,\n dinamic_get_list_documents,\n initAllCurrentsFilters,\n setAllCurrentsFilters,\n setAllDataFilters,\n setCurrentStateChip,\n getDocumentActionsErrorParams,\n fixContasolDocuments,\n getTextTagging,\n setColumnDataIfParams,\n saveDocWithoutContinueFlow,\n updateAutomaticMoveAccounts,\n getCompanyActivities,\n showAccountMoveFooter,\n hideAccountMoveFooter,\n initAccountMoveFooter,\n initInvoiceLines,\n hideInvoiceLinesFooter,\n initInvoiceLinesFooter,\n showInvoiceLinesFooter,\n forceDocsSendInvoice,\n updateObject,\n removeAllFilters,\n}\n\n\n// mutations\nconst mutations = {\n [SET_DOC_ID](state, { id }) {\n state.id = id\n },\n [SET_DOC_STATE](state, { state: doc_state }) {\n if (state.document) {\n state.document.state = doc_state\n }\n },\n [SET_CURRENT_DOCUMENTS](state, { docs }) {\n state.documents = docs\n },\n [SET_LOADING_INFO](state, {info}){\n state.loading_info = info\n },\n [SET_DINAMIC_CALL_ID](state, {id}){\n state.dinamic_call_id = id\n },\n [RESET_DOC](state) {\n state.docLoading = false;\n state.docError = false;\n state.document = undefined;\n state.docState = undefined\n state.dirty = false\n },\n [FETCH_DOC_SUCCESS](state, { document }) {\n state.docLoading = false;\n state.docError = false;\n if(state.document && state.document.id==document.id){\n document.textTagging = state.document.textTagging\n }\n state.document = { ...document };\n state.docState = [{'value': state.document.state,'text':state.document.state_display}]\n state.dirty = false\n },\n [DOCUMENT_TO_PARAM](state) {\n state.selectedIvaCheck = undefined\n if (state.document.inversion_sujeto_pasivo_iva) {\n state.selectedParam = 'inversion_sujeto_pasivo_iva';\n state.selectedParamOption = state.document.inversion_sujeto_pasivo_iva_percent;\n } else if (state.document.inversion_sujeto_pasivo_igic) {\n state.selectedParam = 'inversion_sujeto_pasivo_igic';\n state.selectedParamOption = state.document.inversion_sujeto_pasivo_igic_percent;\n } else if (state.document.intracomunitario) {\n state.selectedParam = 'intracomunitario';\n state.selectedParamOption = state.document.intracomunitario_percent;\n state.selectedParamOption2 = state.document.intracomunitario_type;\n } else if (state.document.extracomunitario) {\n state.selectedParam = 'extracomunitario';\n state.selectedParamOption = state.document.importaciones_percent;\n state.selectedParamOption2 = state.document.intracomunitario_type;\n } else if (state.document.is_comerciante_minorista) {\n state.selectedParam = 'is_comerciante_minorista';\n state.selectedParamOption = state.document.is_comerciante_minorista_percent;\n } else{\n let nsCount = 0;\n let neCount = 0;\n let dryCount = 0;\n\n // Iterate through the keys of the object\n for (let key in state.document.metadata) {\n if (key.includes(\"_ns_0\")) {\n nsCount++;\n } else if (key.includes(\"_ne_0\")) {\n neCount++;\n } else if (key.includes(\"_0\")) {\n dryCount++;\n }\n }\n let maxCount = Math.max(nsCount, neCount, dryCount);\n if(maxCount == dryCount){\n state.selectedParam = undefined;\n state.selectedParamOption = undefined;\n }\n else if(maxCount == nsCount){\n state.selectedParam = 'no_sujeta';\n state.selectedParamOption = undefined;\n }\n else{\n state.selectedParam = 'dry_0_percent';\n state.selectedParamOption = undefined;\n }\n }\n\n //Get Iva check radiobuttons\n if (state.document.iva_igic_no_deducible) {\n state.selectedIvaCheck = 'iva_igic_no_deducible';\n }\n else if (state.document.gasto_iva_parcial) {\n state.selectedIvaCheck = 'gasto_iva_parcial';\n }\n else if (state.document.iva_parcial) {\n state.selectedIvaCheck = 'iva_parcial';\n }\n else if (state.document.prorate) {\n state.selectedIvaCheck = 'prorate';\n }\n },\n [SET_TEXT_TAGGING](state, { text_tagging,id }) {\n if(state && state.document && id == state.document.id){\n state.document.textTagging = text_tagging\n }\n },\n [FETCH_METADATA_SUCCESS](state, { document }) {\n if(document && state && state.document && document.id == state.document.id){\n state.docLoading = false;\n state.docError = false;\n state.docState = [{'value': document.state,'text':document.state_display}]\n state.document.state = document.state;\n state.document.state_display = document.state_display;\n state.document.metadata = document.metadata;\n state.document.tags = document.tags;\n state.document.supplierdb = document.supplierdb;\n state.document.customerdb = document.customerdb;\n state.document.accountMoves = document.accountMoves;\n state.document.async_job_state = document.async_job_state;\n state.document.errorJson = document.errorJson;\n state.document.inversion_sujeto_pasivo_iva = document.inversion_sujeto_pasivo_iva;\n state.document.inversion_sujeto_pasivo_iva_percent = document.inversion_sujeto_pasivo_iva_percent;\n state.document.inversion_sujeto_pasivo_igic = document.inversion_sujeto_pasivo_igic;\n state.document.inversion_sujeto_pasivo_igic_percent = document.inversion_sujeto_pasivo_igic_percent;\n state.document.intracomunitario = document.intracomunitario;\n state.document.intracomunitario_percent = document.intracomunitario_percent;\n state.document.intracomunitario_type = document.intracomunitario_type;\n state.document.extracomunitario = document.extracomunitario;\n state.document.is_comerciante_minorista_percent = document.is_comerciante_minorista_percent;\n state.document.is_comerciante_minorista = document.is_comerciante_minorista;\n state.document.no_sujeta = document.no_sujeta;\n state.document.bien_inversion = document.bien_inversion;\n state.document.written_description = document.written_description;\n state.document.description = document.description;\n state.document.importaciones_percent = document.importaciones_percent;\n state.document.iva_igic_no_deducible = document.iva_igic_no_deducible;\n state.document.gasto_iva_parcial = document.gasto_iva_parcial;\n state.document.iva_parcial = document.iva_parcial;\n state.document.comerciante_minorista = document.comerciante_minorista;\n state.document.gasto_iva_percent = document.gasto_iva_percent;\n state.document.prorate = document.prorate;\n state.document.actividad_str = document.actividad_str;\n state.document.building_code = document.building_code;\n state.document.apply_modelo = document.apply_modelo;\n state.document.apply_415 = document.apply_415;\n state.document.serie = document.serie;\n state.document.doc_number = document.doc_number;\n state.document.doc_number_prefix = document.doc_number_prefix;\n state.document.excel_line_index = document.excel_line_index;\n state.document.currency = document.currency;\n state.document.retention_type_name = document.retention_type_name,\n state.document.fiscal_location = document.fiscal_location;\n state.dirty = false\n }\n },\n [FETCH_DOC_BEGIN](state) {\n state.docLoading = true;\n state.docError = false;\n //state.document = undefined;\n // state.flowLoading = false;\n },\n [FETCH_DOC_ERROR](state) {\n state.docLoading = false;\n state.docError = true;\n },\n [WRITE_DOC_SUCCESS](state, { document }) {\n state.docWriteLoading = false;\n state.docWriteError = false;\n state.document = { ...document };\n },\n [WRITE_DOC_BEGIN](state) {\n state.docWriteLoading = true;\n state.docWriteError = false;\n },\n [WRITE_DOC_ERROR](state) {\n state.docWriteLoading = false;\n state.docWriteError = true;\n },\n [CONTINUE_FLOW_SUCCESS](state) {\n state.flowLoading = false;\n state.flowError = false;\n },\n [CONTINUE_FLOW_BEGIN](state) {\n state.flowLoading = true;\n state.flowError = false;\n },\n [CONTINUE_FLOW_ERROR](state) {\n state.flowLoading = false;\n state.flowError = true;\n },\n [SET_SELECTED_LABEL](state, { label }) {\n state.selectedLabel = label\n },\n [SET_DOC_LABEL](state, { label, index, annotationLayer }) {\n if(!state.document['textTagging'][state.currentPage-1][index].label){\n state.document['textTagging'][state.currentPage-1][index].label={}\n }\n state.document['textTagging'][state.currentPage-1][index].label[annotationLayer] = label;\n //state.document.metadata[label] = state.document['textTagging'][index]['word'];\n },\n [SET_SELECTED_TEXT](state, { index }) {\n state.selectedText = index;\n },\n [SET_CURRENT_INDEX](state, { index }) {\n state.index = index;\n },\n [SET_CURRENT_FILTERS](state, { documentsListFilters }) {\n state.documentsListFilters = documentsListFilters;\n },\n [SET_CURRENT_LOADING](state, { loading }) {\n state.loading = loading;\n },\n [SET_CURRENT_OPTIONS](state, { options }) {\n state.options = options;\n },\n [SET_ITEMS_LENGTH](state, { itemsLength }) {\n state.documentsListItemsLength = itemsLength;\n },\n [SET_DICT_BOOL_STATES](state, { dictBoolStates }) {\n state.documentsListDictBool['states'] = dictBoolStates;\n },\n [SET_DICT_BOOL_TAGS](state, { dictBoolTags }) {\n state.documentsListDictBool['tags'] = dictBoolTags;\n },\n [SET_FILTERS_LOADED](state, { filtersLoaded }) {\n state.documentsListFiltersLoaded = filtersLoaded;\n },\n [SET_MAIN_FILTERS](state, { mainfilters }) {\n state.documentMainFilters = mainfilters;\n },\n [SET_FILTERS_DATA_STATES_VALUES](state, { filtersDataStatesValues }) {\n // state.documentListFiltersData[1].values = filtersDataStatesValues;\n state.documentListFiltersData2['state'].values = filtersDataStatesValues;\n },\n [SET_FILTERS_DATA_TAGS_VALUES](state, { filtersDataTagsValues }) {\n // state.documentListFiltersData[3].values = filtersDataTagsValues;\n state.documentListFiltersData2['tags'].values = filtersDataTagsValues;\n },\n [SET_FILTERS_DATA_EJERCICIO_VALUE](state, { filtersDataEjercicioValue }) {\n state.documentListFiltersData2['ejercicio'].value = filtersDataEjercicioValue;\n },\n [SET_FILTERS_DATA_PROJECT_VALUE](state, { filtersDataProjectValue }) {\n state.documentListFiltersData2['project'].value = filtersDataProjectValue;\n },\n [SET_FILTERS_DATA_ID_VALUE](state, { filtersDataIdValue }) {\n state.documentListFiltersData2['id'].value = filtersDataIdValue;\n },\n [SET_FILTERS_DATA_STATE_VALUE](state, { filtersDataStateValue }) {\n // state.documentListFiltersData[1].value = filtersDataStateValue;\n state.documentListFiltersData2['state'].value = filtersDataStateValue;\n },\n [SET_FILTERS_DATA_SEARCH_VALUE](state, { filtersDataSearchValue }) {\n // state.documentListFiltersData[2].value = filtersDataSearchValue;\n state.documentListFiltersData2['search__icontains'].value = filtersDataSearchValue;\n },\n [SET_FILTERS_DATA_SEARCH_DUPLICATE_VALUE](state, { filtersDataSearchDuplicateValue }) {\n state.documentListFiltersData2['search__duplicate'].value = filtersDataSearchDuplicateValue;\n },\n [SET_FILTERS_DATA_TAGS_VALUE](state, { filtersDataTagsValue }) {\n // state.documentListFiltersData[3].value = filtersDataTagsValue;\n state.documentListFiltersData2['tags'].value = filtersDataTagsValue;\n },\n [SET_FILTERS_DATA_ENTRY_NUMBER_VALUE](state, { filtersDataEntryNumberValue }) {\n // state.documentListFiltersData[4].value = filtersDataEntryNumberValue;\n },\n [SET_FILTERS_DATA_ACCOUNT_MOVE_NUMBER_VALUE](state, { filtersDataAccountMoveNumberValue }) {\n // state.documentListFiltersData[5].value = filtersDataAccountMoveNumberValue;\n },\n [SET_FILTERS_DATA_ACTIVIDAD_STR_VALUES](state, { filtersDataActividadStrValues }) {\n state.documentListFiltersData2['actividad_str'].values = filtersDataActividadStrValues;\n },\n [SET_FILTERS_DATA_ACTIVIDAD_VALUES](state, { filtersDataActividadValues }) {\n state.documentListFiltersData2['actividad'].values = filtersDataActividadValues;\n },\n [SET_FILTERS_DATA_KEY](state, {key, value}) { \n state.documentListFiltersData2[key].value = value;\n },\n [SET_IS_TRAINER_MODE](state, { isTrainerMode }) {\n state.documentIsTrainerMode = isTrainerMode;\n },\n [SET_IS_DEBUGGER_MODE](state, { isDebuggerMode }) {\n state.documentIsDebuggerMode = isDebuggerMode;\n },\n [SET_FORCED_MOVE](state, forced_move) {\n state.document.forced_move = forced_move;\n if(!forced_move){\n state.document.accountMoves=[]\n }\n },\n [SET_ACCOUNT_MOVES](state, account_moves) {\n state.docWriteLoading = false;\n state.document.accountMoves = account_moves;\n },\n [SET_CHECK_SUM](state, { check }) {\n state.checkSumOK = check;\n },\n [SET_ANNOTATION_LAYER](state, str) {\n state.annotationLayer = str;\n },\n [SET_ZOOM](state, zoom) {\n state.zoom = zoom;\n },\n [SET_ROTATION](state, bool) {\n state.inRotationMode = bool;\n },\n [SET_ROTATION_MODE](state, mode) {\n state.rotationMode = mode;\n },\n [SET_GLOBAL_ROTATION](state, rotation) {\n state.globalRotation += rotation;\n },\n [SET_DOCUMENT_ROTATION](state, {page, rotation}) {\n if (!state.rotationPerDocument[page]) {\n state.rotationPerDocument[page] = rotation\n } else {\n state.rotationPerDocument[page] += rotation\n }\n state.rotationPerDocument = [...state.rotationPerDocument];\n },\n [CANCEL_ROTATION](state) {\n state.inRotationMode = false;\n state.rotationMode = 'all';\n state.globalRotation = 0;\n state.rotationPerDocument = [];\n },\n [SET_ROTATION_TASK](state, jobId) {\n state.rotateJobId = jobId;\n },\n [SET_DIRTY](state) {\n state.dirty = true;\n },\n\n [SET_IVA_0_FROM_TO](state, {from, to}) { // from vat_0 to vat_ns_0\n state.document.metadata = {...state.document.metadata,['base_' + to]: state.document.metadata['base_' + from]} \n state.document.metadata = {...state.document.metadata,[to]: state.document.metadata[from]} \n state.document.metadata = {...state.document.metadata,['base_' + from]: ''} \n state.document.metadata = {...state.document.metadata,[from]: ''} \n },\n\n [SET_INTRA_DATA_FROM_SUPPLIER](state, {thirddb_info, set_flag_bien_inversion, set_account_metadata, feature_default_project_channel_in_third, actividad_kind, feature_extra_supplier}) {\n const capitalGoodsPrefixes = ['52', '17'];\n const supplierAccountPrefix = thirddb_info.credit_account && thirddb_info.credit_account.slice(0, 2);\n state.document.inversion_sujeto_pasivo_iva = thirddb_info.inversion_sujeto_pasivo_iva;\n state.document.inversion_sujeto_pasivo_iva_percent = thirddb_info.inversion_sujeto_pasivo_iva_percent;\n state.document.inversion_sujeto_pasivo_igic = thirddb_info.inversion_sujeto_pasivo_igic;\n state.document.inversion_sujeto_pasivo_igic_percent = thirddb_info.inversion_sujeto_pasivo_igic_percent;\n state.document.intracomunitario = thirddb_info.intracomunitario;\n state.document.intracomunitario_percent = thirddb_info.intracomunitario_percent;\n state.document.intracomunitario_type = thirddb_info.intracomunitario_type;\n if(feature_extra_supplier)\n state.document.extracomunitario = thirddb_info.extracomunitario;\n state.document.no_sujeta = thirddb_info.no_sujeta;\n state.document.importaciones_percent = thirddb_info.importaciones_percent;\n state.document.prorate = thirddb_info.prorate;\n state.document.is_comerciante_minorista_percent = thirddb_info.is_comerciante_minorista_percent;\n state.document.is_comerciante_minorista = thirddb_info.is_comerciante_minorista;\n if (thirddb_info.default_actividad) {\n if (actividad_kind == 'actividad') {\n state.document.actividad = thirddb_info.default_actividad;\n }\n else if (actividad_kind == 'actividad_str') {\n state.document.actividad_str = thirddb_info.default_actividad;\n }\n }\n if(feature_default_project_channel_in_third){\n if (thirddb_info.default_project) {\n state.document.project = thirddb_info.default_project;\n }\n if (thirddb_info.default_channel) {\n state.document.channel = thirddb_info.default_channel;\n }\n }\n if (thirddb_info.default_expens_income_type) {\n state.document.expens_income_type = thirddb_info.default_expens_income_type;\n for (let i in state.document.metadata) {\n if (i.includes('eit_')) {\n state.document.metadata[i] = thirddb_info.default_expens_income_type;\n }\n }\n }\n state.document.building_code = thirddb_info.building_code;\n //Refresh Iva check radiobuttons\n state.document.iva_igic_no_deducible = (thirddb_info.iva_igic_no_deducible || state.document.companydb_info.iva_igic_no_deducible);\n state.document.gasto_iva_parcial = thirddb_info.gasto_iva_parcial;\n state.document.iva_parcial = thirddb_info.iva_parcial;\n state.selectedIvaCheck = undefined;\n state.document.gasto_iva_percent = thirddb_info.gasto_iva_percent;\n state.document.comerciante_minorista = state.document.companydb_info.comerciante_minorista;\n\n // Calcular si la factura corresponde a un bien de inversión según tipo de cuenta\n if(set_flag_bien_inversion){\n if (supplierAccountPrefix && capitalGoodsPrefixes.includes(supplierAccountPrefix)) {\n state.document.bien_inversion = true\n } else {\n state.document.bien_inversion = false\n }\n }\n\n if(set_account_metadata){\n if(thirddb_info.expens_accounts && thirddb_info.expens_accounts.length){\n let third_concept = thirddb_info.expens_accounts[0];\n if(state.document.bien_inversion) {\n third_concept = thirddb_info.expens_account_bien_inversion;\n }\n state.document.metadata = {...state.document.metadata,\n ['third_concept']: third_concept} \n }\n else if( thirddb_info.income_accounts && thirddb_info.income_accounts.length){ //actually customer invoices use this mutation too\n state.document.metadata = {...state.document.metadata,\n ['third_concept']:thirddb_info.income_accounts[0]}\n }\n else{\n state.document.metadata['third_concept'] = ''\n }\n }\n },\n [SET_CRITERIO_DE_CAJA](state, criterio_de_caja) {\n state.document.criterio_de_caja = criterio_de_caja;\n },\n [SET_IS_COMERCIANTE_MINORISTA](state, is_comerciante_minorista) {\n state.document.is_comerciante_minorista = is_comerciante_minorista;\n },\n [SET_INV_NUMBER_TO_RECTIFY](state, inv_number_to_rectify) {\n state.document.inv_number_to_rectify = inv_number_to_rectify;\n },\n [SET_INV_DATE_TO_RECTIFY](state, inv_date_to_rectify) {\n state.document.inv_date_to_rectify = inv_date_to_rectify;\n },\n// export const SET_INV_NUMBER_TO_RECTIFY = 'SET_INV_NUMBER_TO_RECTIFY';\n// export const SET_INV_DATE_TO_RECTIFY = 'SET_INV_DATE_TO_RECTIFY'\n// inv_number_to_rectify\n// inv_date_to_rectify\n [SET_INTRA_DATA_FROM_CUSTOM](state, {param, value, value2}) {\n const bool_to_value = {\n inversion_sujeto_pasivo_iva: ['inversion_sujeto_pasivo_iva_percent'],\n inversion_sujeto_pasivo_igic: ['inversion_sujeto_pasivo_igic_percent'],\n intracomunitario: ['intracomunitario_percent', 'intracomunitario_type'],\n extracomunitario: ['importaciones_percent', 'intracomunitario_type'], \n is_comerciante_minorista: ['is_comerciante_minorista_percent'],\n }\n state.document.inversion_sujeto_pasivo_iva = false;\n state.document.inversion_sujeto_pasivo_iva_percent = \"vat_21\";\n state.document.inversion_sujeto_pasivo_igic = false;\n state.document.inversion_sujeto_pasivo_igic_percent = \"igic_7\";\n state.document.intracomunitario = false;\n state.document.intracomunitario_percent = \"vat_21\";\n state.document.intracomunitario_type = \"bienes\";\n state.document.extracomunitario = false;\n state.document.importaciones_percent = \"vat_21\";\n state.document.no_sujeta = false;\n state.document.is_comerciante_minorista = false;\n state.document.is_comerciante_minorista_percent = \"igic_7\";\n if(param){\n state.document[param] = true;\n if (state.document[param]) {\n if (value) {\n state.document[bool_to_value[param][0]] = value;\n }\n if (value2) {\n state.document[bool_to_value[param][1]] = value2;\n }\n \n }\n // console.log('FINAL STATE', state)\n }\n if (param.default_expens_income_type) {\n state.document.expens_income_type = param.default_expens_income_type;\n for (let i in state.document.metadata) {\n if (i.includes('eit_')) {\n state.document.metadata[i] = param.default_expens_income_type;\n }\n }\n }\n },\n\n [SET_ITEMS_PER_PAGE](state, itemsPerPage) {\n state.itemsPerPage = itemsPerPage;\n },\n\n [SET_CURRENT_DOCUMENT_SUPPLIERDB](state, { currentDocumentSupplierdb, currentDocumentSupplierdbInfo, isBienInversionChanged, areIvaChecksChanged }) {\n state.document.supplierdb = currentDocumentSupplierdb;\n state.document.supplierdb_info = currentDocumentSupplierdbInfo;\n if(isBienInversionChanged){\n state.document.bien_inversion = currentDocumentSupplierdbInfo.bien_inversion;\n }\n\n if (areIvaChecksChanged) {\n state.document.iva_igic_no_deducible = currentDocumentSupplierdbInfo.iva_igic_no_deducible;\n state.document.gasto_iva_parcial = currentDocumentSupplierdbInfo.gasto_iva_parcial;\n state.document.iva_parcial = currentDocumentSupplierdbInfo.iva_parcial;\n state.selectedIvaCheck = undefined;\n state.document.gasto_iva_percent = currentDocumentSupplierdbInfo.gasto_iva_percent;\n state.document.comerciante_minorista = false;\n state.document.prorate = currentDocumentSupplierdbInfo.prorate;\n if (state.document.iva_igic_no_deducible) {\n state.selectedIvaCheck = 'iva_igic_no_deducible';\n }\n else if (state.document.gasto_iva_parcial) {\n state.selectedIvaCheck = 'gasto_iva_parcial';\n }\n else if (state.document.iva_parcial) {\n state.selectedIvaCheck = 'iva_parcial';\n }\n else if (state.document.prorate) {\n state.selectedIvaCheck = 'prorate';\n }\n }\n if (currentDocumentSupplierdbInfo.default_actividad) {\n state.document.actividad_str = currentDocumentSupplierdbInfo.default_actividad;\n }\n if (currentDocumentSupplierdbInfo.default_project) {\n state.document.project = currentDocumentSupplierdbInfo.default_project;\n }\n if (currentDocumentSupplierdbInfo.default_channel) {\n state.document.channel = currentDocumentSupplierdbInfo.default_channel;\n }\n state.document.building_code = currentDocumentSupplierdbInfo.building_code;\n state.document.retention_type_name = currentDocumentSupplierdbInfo.retention_type;\n state.dirty = true;\n },\n\n [SET_CURRENT_DOCUMENT_CUSTOMERDB](state, { currentDocumentCustomerdb, currentDocumentCustomerdbInfo }) {\n state.document.customerdb = currentDocumentCustomerdb;\n state.document.customerdb_info = currentDocumentCustomerdbInfo;\n\n if (currentDocumentCustomerdbInfo.default_actividad) {\n state.document.actividad_str = currentDocumentCustomerdbInfo.default_actividad;\n }\n if (currentDocumentCustomerdbInfo.default_project) {\n state.document.project = currentDocumentCustomerdbInfo.default_project;\n }\n if (currentDocumentCustomerdbInfo.default_channel) {\n state.document.channel = currentDocumentCustomerdbInfo.default_channel;\n }\n state.document.retention_type_name = currentDocumentCustomerdbInfo.retention_type;\n state.dirty = true;\n },\n [SET_DOCUMENTS_LIST_HEADERS_USER](state, docListHeadersUser) {\n state.documentListHeadersUser = docListHeadersUser;\n },\n [SET_DOCUMENT_LIST_HIDDEN_HEADERS_USER](state, docListHeadersUser) {\n state.documentListHiddenHeadersUser = docListHeadersUser;\n },\n [SET_DOCUMENTS_LIST_HEADERS](state, docListHeaders) {\n state.documentListHeaders = docListHeaders;\n },\n\n [SET_DOCUMENT_LIST_HIDDEN_HEADERS](state, docListHeaders) {\n state.documentListHiddenHeaders = docListHeaders;\n },\n\n [SET_DOCUMENTS_LIST_HEADERS_READ_ONLY](state, docListHeaders) {\n state.documentListHeadersReadOnly = docListHeaders;\n },\n\n [SET_DOCUMENT_LIST_HIDDEN_HEADERS_READ_ONLY](state, docListHeaders) {\n state.documentListHiddenHeadersReadOnly = docListHeaders;\n },\n\n [SET_SUPPLIERDB_LIST_HEADERS_USER](state, supListHeadersUser) {\n state.supplierdbListHeadersUser = supListHeadersUser;\n },\n [SET_SUPPLIERDB_LIST_HIDDEN_HEADERS_USER](state, supListHeadersUser) {\n state.supplierdbListHiddenHeadersUser = supListHeadersUser;\n },\n\n [SET_CUSTOMERDB_LIST_HEADERS_USER](state, cusListHeadersUser) {\n state.customerdbListHeadersUser = cusListHeadersUser;\n },\n [SET_CUSTOMERDB_LIST_HIDDEN_HEADERS_USER](state, cusListHeadersUser) {\n state.customerdbListHiddenHeadersUser = cusListHeadersUser;\n },\n\n [REMOVE_DOCUMENTS_LIST_HEADERS_ELEM_BY_INDEX](state, index) {\n state.documentListHeaders.splice(index, 1);\n },\n\n [SET_DOCUMENTS_LIST_HEADERS_ELEM](state, elem) {\n // state.documentListHeaders.push(elem);\n state.documentListHeaders.splice(3, 0, elem);\n },\n\n [CLEAN_FILTERS](state) {\n for (let i in state.documentListFiltersData2) {\n state.documentListFiltersData2[i].value = '';\n }\n \n },\n [SET_DOCUMENT_OPTIONS_PAGE](state, page) {\n state.documentListOptions['page'] = page;\n },\n [SET_DOCUMENT_LIST_OPTIONS](state, documentListOptions) {\n state.documentListOptions = documentListOptions;\n },\n [SET_DOCUMENT_KIND](state, kind) {\n state.dpcumentListKind = kind;\n state.documentListFiltersData2['kind'].value = kind;\n },\n [SET_STATES_FILTER](state, statesFilter) {\n state.statesFilter = statesFilter;\n },\n [SET_DOCUMENTS_LIST_ID](state, documentsListId) {\n state.documentsListId = documentsListId\n },\n [SET_BROWSER_VALUE](state, {key, value}) {\n if(key=='ejercicio' && value){\n value = parseInt(value)\n }\n state.documentListFiltersData2[key].value = value;\n },\n [UNSELECT_DOCUMENTS](state) {\n state.selected = [];\n },\n [SET_CURRENT_PAGE](state, num) {\n state.currentPage = num;\n },\n [SET_SELECTED_STATE_CHIP](state, value) {\n state.selectedStateChip = value;\n },\n [SET_DOCUMENT_ACTIONS_ERROR_PARAMS](state, value) {\n state.documentActionsErrorParams = value;\n },\n\n [SET_PAYMENT_ACCOUNT](state, value) {\n state.document.payment_account = value\n },\n\n [SET_CHARGE_ACCOUNT](state, value) {\n state.document.charge_account = value\n },\n\n [SET_ACCOUNT_MOVE_LINES](state, { min_footer, footer_height }) {\n state.linesAccountMove.min_footer = min_footer;\n state.linesAccountMove.footer_height = footer_height;\n },\n [SET_LAST_SHOW_ACCOUNT_MOVE](state, option) {\n state.linesAccountMove.last_option.show = option;\n },\n\n [SET_INVOICE_LINES](state, { show_invoice_lines, footer_height }) {\n state.invoiceLines.show_invoice_lines = show_invoice_lines;\n //state.invoiceLines.footer_height = footer_height;\n state.invoiceLines.invoice_lines_height = footer_height;\n },\n [SET_LAST_SHOW_INVOICE_LINES](state, option) {\n state.invoiceLines.last_option.show = option;\n },\n\n // Barra de filtros nueva\n [SET_FILTER_EJERCICIO](state, {value, text}) {\n state.documentListFiltersData2['ejercicio'].value = value;\n state.documentListFiltersData2['ejercicio'].text = text;\n },\n [SET_FILTERS_DATA_EJERCICIO_USER_VALUES](state, { filtersDataEjercicioUserValues }) {\n state.documentListFiltersData2['ejercicio'].user_values = filtersDataEjercicioUserValues;\n },\n [SET_FILTER_ID](state, value) {\n state.documentListFiltersData2['id'].value = value;\n },\n [SET_FILTER_STATE](state, {value,text}) {\n state.documentListFiltersData2['state'].value = value;\n state.documentListFiltersData2['state'].text = text;\n },\n [SET_FILTER_SEARCH_ICONTAINS](state, value) {\n state.documentListFiltersData2['search__icontains'].value = value;\n },\n [SET_FILTER_SEARCH_DUPLICATE](state, value) {\n state.documentListFiltersData2['search__duplicate'].value = value;\n },\n [SET_FILTER_DOCUMENT_TEXT_ICONTAINS](state, value) {\n state.documentListFiltersData2['document_text__icontains'].value = value;\n },\n [SET_FILTER_TAGS](state, value) {\n state.documentListFiltersData2['tags'].value = value;\n },\n [SET_FILTER_ACTIVIDAD_STR](state, value) {\n state.documentListFiltersData2['actividad_str'].value = value;\n },\n [SET_FILTER_ACTIVIDAD](state, value) {\n state.documentListFiltersData2['actividad'].value = value;\n },\n [SET_FILTER_USERNAME_ICONTAINS](state, value) {\n state.documentListFiltersData2['username__icontains'].value = value;\n },\n [SET_FILTER_KIND](state, {value,text}) {\n state.documentListFiltersData2['kind'].value = value;\n state.documentListFiltersData2['kind'].text = text;\n },\n [SET_FILTER_CREATED_GTE](state, value) {\n state.documentListFiltersData2['created__gte'].value = value;\n },\n [SET_FILTER_CREATED_LTE](state, value) {\n state.documentListFiltersData2['created__lte'].value = value;\n },\n [SET_FILTER_ACCOUNTING_DATE_GTE](state, value) {\n state.documentListFiltersData2['accounting_date__gte'].value = value;\n },\n [SET_FILTER_ACCOUNTING_DATE_LTE](state, value) {\n state.documentListFiltersData2['accounting_date__lte'].value = value;\n },\n [SET_FILTER_INVOICE_DATE_GTE](state, value) {\n state.documentListFiltersData2['invoice_date__gte'].value = value;\n },\n [SET_FILTER_INVOICE_DATE_LTE](state, value) {\n state.documentListFiltersData2['invoice_date__lte'].value = value;\n },\n [SET_FILTER_THIRD_CIF_ICONTAINS](state, value) {\n state.documentListFiltersData2['third_cif__icontains'].value = value;\n },\n [SET_FILTER_THIRD_NAME_ICONTAINS](state, value) {\n state.documentListFiltersData2['third_name__icontains'].value = value;\n },\n [SET_FILTER_MIRROR_STATE](state, {value,text}) {\n state.documentListFiltersData2['mirror_state'].value = value;\n state.documentListFiltersData2['mirror_state'].text = text;\n },\n [SET_FILTER_PUNTEADO](state, {value, text}) {\n state.documentListFiltersData2['punteado'].value = value;\n state.documentListFiltersData2['punteado'].text = text;\n },\n [SET_FILTER_RECTIFICATIVA](state, {value, text}) {\n state.documentListFiltersData2['is_rectificativa'].value = value;\n state.documentListFiltersData2['is_rectificativa'].text = text;\n },\n [SET_FILTER_PAYMENT_STATE](state, {value,text}) {\n state.documentListFiltersData2['payment_state'].value = value;\n state.documentListFiltersData2['payment_state'].text = text;\n },\n [SET_FILTER_PAYMENT_DATE_GTE](state, value) {\n state.documentListFiltersData2['payment_date__gte'].value = value;\n },\n [SET_FILTER_PAYMENT_DATE_LTE](state, value) {\n state.documentListFiltersData2['payment_date__lte'].value = value;\n },\n [SET_FILTER_HAS_RETENTION](state, {value, text}) {\n state.documentListFiltersData2['has_retention'].value = value;\n state.documentListFiltersData2['has_retention'].text = text;\n },\n [SET_FILTER_NOTES_ICONTAINS](state, value) {\n state.documentListFiltersData2['notes__icontains'].value = value;\n },\n\n forceMove: (state) => {\n state.document.accountMoves=[\n {\n document:state.document.id,\n account_move_lines:[{\n debit:0.0,\n credit:0.0,\n description:'',\n base:0.0,\n total:0.0,\n line_type:'apunte',\n }]\n }]\n state.document.forced_move=true\n },\n addLine(state){\n let description = getDefaultMoveLineDescription(state.document.accountMoves[0]);\n state.document.accountMoves[0].account_move_lines.push({\n account:'',\n debit:0.0,\n credit:0.0,\n description: description,\n base:0.0,\n total:0.0,\n line_type:'apunte',\n type_iva: '',\n })\n },\n addPaidLine(state) { \n if(!state.document.accountMoves[0].paid_account_move || state.document.accountMoves[0].paid_account_move.length == 0){\n var paidAccountMove = {\n payment_move: state.document.accountMoves[0].id,\n state: \"pending\",\n account_move_lines: [],\n }\n state.document.accountMoves[0].paid_account_move.push(paidAccountMove)\n }\n let description = getDefaultMoveLineDescription(state.document.accountMoves[0].paid_account_move[0]);\n var new_move = {\n account:'',\n debit:0.0,\n credit:0.0,\n description: description,\n base:0.0,\n total:0.0,\n line_type:'apunte',\n type_iva: '',\n };\n\n state.document.accountMoves[0].paid_account_move[0].account_move_lines.push(new_move) \n },\n deleteLine(state, index){\n state.document.accountMoves[0].account_move_lines.splice(index,1)\n },\n deletePaidLine(state, index){\n if (state.document.accountMoves[0].paid_account_move && state.document.accountMoves[0].paid_account_move.length) {\n state.document.accountMoves[0].paid_account_move[0].account_move_lines.splice(index, 1)\n }\n },\n updateMetadataField(state, field){\n //console.log(\"updating metadata field:\",field.path,field.value)\n state.dirty = true\n if(!state.document.metadata.hasOwnProperty(field.path))\n Vue.set(state.document.metadata, field.path, field.value)\n\n updateField(state.document.metadata, field)\n },\n updateAccountMoveField(state, field){\n updateField(state.document.accountMoves[0], field)\n },\n updateField(state,field){\n // console.log(\"updating field:\"+field)\n // console.log(field)\n if(!(field.path && ((field.path == \"document.retention_type_name\" && state.document.retention_type_name == 'third_value') || field.path == 'document.punteado'))){\n state.dirty = true\n }\n updateField(state,field)\n },\n\n}\n\nexport function getDefaultMoveLineDescription(accountMoves) {\n let description = '';\n let count_lines = accountMoves.account_move_lines.length;\n if (count_lines > 0) {\n description = accountMoves.account_move_lines[count_lines-1].description;\n }\n return description;\n}\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n models,\n}\n","import { getField, updateField } from \"vuex-map-fields\";\nimport { client } from \"@/api/client\";\nimport { get_currentCompanyId } from \"../../utils/common\";\nimport { documents as api_documents } from \"../../api\";\n\nconst SET_DELETED_DOCUMENTS = \"SET_DELETED_DOCUMENTS\";\nconst SET_CURRENT_LOADING = \"SET_CURRENT_LOADING\";\nconst SET_ITEMS_PER_PAGE = \"SET_ITEMS_PER_PAGE\";\nconst SET_DOCUMENTS_LIST_ID = \"SET_DOCUMENTS_LIST_ID\";\nconst UNSELECT_DOCUMENTS = \"UNSELECT_DOCUMENTS\";\nconst SET_ITEMS_LENGTH = \"SET_ITEMS_LENGTH\";\nconst CLEAN_FILTERS = \"CLEAN_FILTERS\";\nconst SET_CURRENT_FILTERS = \"SET_CURRENT_FILTERS\";\n\nconst state = () => ({\n documents: [],\n selected: [],\n documentListActionGroups: {\n 'download': 'Descargas',\n },\n documentListAction: [\n {\n id: \"restaurar\",\n name: \"Restaurar\",\n group: \"btn\",\n },\n {'id': 'download_doc', 'name': 'Documentos', 'group': 'download'},\n {'id': 'download_merged_docs', 'name': 'Libro en formato PDF', 'group': 'download'},\n {'id': 'download_excel', 'name': 'Excel', 'group': 'download'},\n\n ],\n documentListOptions: {},\n documentsListId: null,\n currentDocumentsItemsLength: 0,\n loading: false,\n itemsPerPage: 10,\n statesFilter: undefined,\n documentsListFilters: \"\",\n filtersData: {\n id: {\n name: \"id\",\n label: \"Id\",\n value: \"\",\n },\n kind: {\n name: \"kind\",\n label: \"Tipo\",\n values: [\n { name: \"Proveedor\", value: \"in_invoice\" },\n { name: \"Cliente\", value: \"out_invoice\" },\n // {name: 'Nómina', value: 'payroll'},\n ],\n multiple: false,\n value: \"\",\n },\n search__icontains: {\n name: \"search__icontains\",\n label: \"Todos los campos\",\n value: \"\",\n },\n },\n});\n\nconst getters = {\n getField,\n deletedDocuments: (state) => state.documents,\n loading: (state) => state.loading,\n itemsPerPage: (state) => state.itemsPerPage,\n documentsListId: (state) => state.documentsListId,\n currentDocumentsItemsLength: (state) => state.currentDocumentsItemsLength,\n documentsListFilters: (state) => state.documentsListFilters,\n};\n\nconst mutations = {\n updateField,\n [\"SET_DELETED_DOCUMENTS\"](state, documents) {\n state.documents = documents;\n },\n [\"SET_CURRENT_LOADING\"](state, { loading }) {\n state.loading = loading;\n },\n [\"SET_ITEMS_PER_PAGE\"](state, itemsPerPage) {\n state.itemsPerPage = itemsPerPage;\n },\n [\"SET_DOCUMENTS_LIST_ID\"](state, documentsListId) {\n state.documentsListId = documentsListId;\n },\n [\"UNSELECT_DOCUMENTS\"](state) {\n state.selected = [];\n },\n [\"SET_ITEMS_LENGTH\"](state, { itemsLength }) {\n state.currentDocumentsItemsLength = itemsLength;\n },\n [CLEAN_FILTERS](state) {\n for (let i in state.filtersData) {\n state.filtersData[i].value = \"\";\n }\n },\n [\"SET_CURRENT_FILTERS\"](state, filts) {\n state.documentsListFilters = filts;\n },\n};\n\nconst get_queryset_filters = (state, rootGetters, params) => {\n params[\"filters\"] = state.documentsListFilters;\n\n if (state.statesFilter) {\n let states = \"\";\n for (let i in state.statesFilter) {\n states += state.statesFilter[i] + \",\";\n }\n params[\"filters\"] = params[\"filters\"] + \"&state__in=\" + states.slice(0, -1);\n }\n return params;\n};\n\nconst actions = {\n getDeletedDocuments: ({ commit }, company_db_id) => {\n return new Promise((resolve, reject) => {\n client\n .get(\"deleted_documents/?company_id=\" + company_db_id)\n .then((response) => {\n commit(SET_DELETED_DOCUMENTS, response.data[\"results\"]);\n resolve(response);\n })\n .catch((err) => {\n console.error(err);\n reject();\n });\n });\n },\n setCurrentLoading: ({ commit }, loading) => {\n commit(SET_CURRENT_LOADING, { loading });\n },\n setItemsPerPage: ({ commit }, itemsPerPage) => {\n commit(SET_ITEMS_PER_PAGE, itemsPerPage);\n },\n resetDeletedDocuments: async ({\n state,\n commit,\n dispatch,\n rootGetters,\n getters,\n }) => {\n let currentCompanyId = get_currentCompanyId({ rootGetters });\n\n if (currentCompanyId) {\n commit(UNSELECT_DOCUMENTS);\n commit(SET_CURRENT_LOADING, { loading: true });\n\n const { page, itemsPerPage, sortBy, sortDesc } =\n state.documentListOptions;\n\n const filters = getters.documentsListFilters;\n const documentsListId = getters.documentsListId;\n let sortField = undefined;\n let sortOrder = undefined;\n if (sortBy) {\n sortField = sortBy[0];\n }\n if (sortDesc) {\n sortOrder = sortDesc[0];\n }\n await dispatch(\"me/refreshUserData\", \"\", { root: true });\n\n let qs = {\n page,\n itemsPerPage,\n filters,\n currentCompanyId,\n documentsListId,\n sortField,\n sortOrder,\n };\n let response = await api_documents.listDeletedDocuments(qs);\n let count = response.data.count;\n commit(SET_ITEMS_LENGTH, { itemsLength: count });\n commit(SET_DELETED_DOCUMENTS, response.data[\"results\"]);\n commit(SET_CURRENT_LOADING, { loading: false });\n\n return response;\n }\n return false;\n },\n restoreDocuments: ({ state, rootGetters }, { send_filters, docs }) => {\n return new Promise((resolve, reject) => {\n let params = {};\n let currentCompanyId;\n if (rootGetters.getCurrentCompany) {\n currentCompanyId = rootGetters.getCurrentCompany.id;\n } else if (rootGetters[\"me/userData\"].companydb) {\n currentCompanyId = rootGetters[\"me/userData\"].companydb;\n }\n params[\"cdb\"] = currentCompanyId;\n\n if (send_filters) {\n params = get_queryset_filters(state, rootGetters, params);\n } else {\n params[\"doc_ids\"] = [];\n for (let i in docs) {\n params[\"doc_ids\"].push(docs[i].id);\n }\n }\n client\n .post(\"restore_documents/\", params)\n .then((resp) => {\n resolve(resp);\n })\n .catch((err) => {\n reject(err);\n });\n });\n },\n getFilters: ({ commit, state, dispatch }, filts) => {\n // commit(SET_DOCUMENT_OPTIONS_PAGE, 1)\n commit(SET_CURRENT_FILTERS, filts);\n return true;\n },\n generateFilters: ({ state, dispatch }) => {\n let filts = \"\";\n for (let filter in state.filtersData) {\n if (state.filtersData[filter].value) {\n filts += \"&\" + filter + \"=\" + state.filtersData[filter].value;\n }\n }\n return dispatch(\"getFilters\", filts);\n },\n cleanFilters: ({ commit, dispatch }) => {\n commit(CLEAN_FILTERS);\n return dispatch(\"getFilters\", \"\");\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","import { accounts as api_accounts } from \"@/api\";\n\n// Types\nexport const CREATE_MOVES_BEGIN = \"CREATE_MOVES_BEGIN\";\nexport const CREATE_MOVES_ERROR = \"CREATE_MOVES_ERROR\";\nexport const CREATE_MOVES_SUCCESS = \"CREATE_MOVES_SUCCESS\";\n\n// models\nconst models = {};\n\n// initial state\nconst state = () => ({\n creatingMovesLoading: false,\n creatingMovesError: false\n});\n\n// getters\nconst getters = {\n creatingMoves: state => state.creatingMovesLoading,\n}\n\n// actions\nconst createMoveLines = async ({ dispatch, commit, rootState }) => {\n // TODO: isn't better 'currentDocument.id' ??\n const id = rootState.documents.id;\n commit(CREATE_MOVES_BEGIN);\n try {\n await api_accounts.createMoveLines({ id });\n await dispatch(\"documents/fetchDocument\", { id }, { root: true });\n commit(CREATE_MOVES_SUCCESS);\n } catch (error) {\n // TODO: Properly handle call errors\n commit(CREATE_MOVES_ERROR);\n throw error;\n }\n};\n\nconst actions = {\n createMoveLines,\n}\n\n// mutations\nconst mutations = {\n [CREATE_MOVES_BEGIN](state) {\n state.creatingMovesLoading = true;\n state.creatingMovesError = false;\n },\n [CREATE_MOVES_SUCCESS](state) {\n state.creatingMovesLoading = false;\n state.creatingMovesError = false;\n },\n [CREATE_MOVES_ERROR](state) {\n state.creatingMovesLoading = false;\n state.creatingMovesError = true;\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n models\n}","import { connector as api_companydb } from \"@/api/connector\";\nimport { getField, updateField } from 'vuex-map-fields';\n\nexport const SET_PERMISSION = \"SET_PERMISSION\";\n\nclass Permission {\n constructor({ id, role_kind, is_owner, is_readonly, is_writer, is_invited, can_write, general, is_employee}) {\n this.id = id;\n this.role_kind = role_kind;\n this.is_owner = is_owner;\n this.is_readonly = is_readonly;\n this.is_writer = is_writer;\n this.is_invited = is_invited;\n this.can_write = can_write;\n this.general = general;\n this.is_employee = is_employee;\n }\n}\n\nconst defaultValues = { \n id: false, \n role_kind: false, \n is_owner: false, \n is_readonly: false, \n is_writer: false, \n is_invited: false, \n can_write: false,\n general: {\n is_organization: false,\n companydb_actividad: false,\n can_admin: false,\n is_customer_consult: false\n },\n is_employee: false\n}\n\nconst state = {\n permission: new Permission(defaultValues)\n}\n\nconst getPermissions = async (context, companydbId) => {\n let promise = new Promise((resolve, reject) => {\n api_companydb.getPermissions({ id: companydbId }).then(response => {\n context.commit(SET_PERMISSION, response.data);\n resolve(response);\n }, error => {\n reject(error);\n });\n });\n return promise;\n}\n\nconst actions = {\n getPermissions,\n}\n\nconst getters = {\n permission: state => state.permission,\n getField\n}\n\nconst mutations = {\n [SET_PERMISSION](state, data) {\n state.permission = new Permission(data);\n },\n updateField,\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n }","import { getField, updateField } from 'vuex-map-fields';\nimport { vats } from \"../../modules/invoices/domain/Invoice\"\n\nconst state = vats\n\n\nconst getters = {\n getField,\n getTab: state => {\n return [\n {\n code:'iva',\n text:'IVA',\n vats: state.vat,\n },\n {\n code:'igic',\n text:'IGIC',\n vats: state.igic,\n },\n {\n code:'igic2019',\n text:'IGIC 2019',\n vats: state.igic2019,\n },\n {\n code:'igi',\n text:'IGI',\n vats: state.igi,\n },\n {\n code: 'params',\n text: 'Parámetros',\n }\n ]\n },\n getInitialTab: (state, getters) => {\n return getters.getTab;\n },\n formTag: (state) => {\n return state.formTag;\n },\n getInitialTagTab: (state, getters, rootState, rootGetters) => {\n const NAME_LIST = 'tag_list'\n let tab = getters.getTab;\n tab[0].vats.push({label: 'IVA+RE 21%+5.2', vat: 'vat_26_2'});\n tab[0].vats.push({label: 'IVA+RE 10%+1.4%', vat: 'vat_11_4'});\n tab[0].vats.push({label: 'IVA+RE 7.5%+1%', vat: 'vat_75_1'});\n tab[0].vats.push({label: 'IVA+RE 4%+0.5%', vat: 'vat_4_5'});\n tab[0].vats.push({label: 'IVA+RE 2%+0.26%', vat: 'vat_2_026'});\n const formFields = Object.keys(state.formTag);\n\n function foundLabel(code) {\n let found = false;\n let index = [2, undefined];\n for (var i = 0; !found && i < tab.length; i++) {\n for (var j = 0; tab[i].vats && j < tab[i].vats.length; j++) {\n let name = tab[i].vats[j].vat;\n let names = [\n name,\n 'base_' + name\n ];\n if (names.indexOf(code) > -1) {\n index[0] = i;\n index[1] = j;\n found = true;\n break;\n } \n }\n }\n return index;\n }\n\n function addLabel(label) {\n let index = foundLabel(label.name);\n let i = index[0];\n let j = index[1];\n if (formFields.indexOf(label.name) > -1) {\n state.formTag[label.name] = label;\n } else if ( i === 2 ) {\n if (!tab[i][NAME_LIST]) {\n tab[i][NAME_LIST] = [];\n }\n tab[i][NAME_LIST].push(label);\n } else {\n if (!tab[i].vats[j][NAME_LIST]) {\n tab[i].vats[j][NAME_LIST] = {};\n }\n tab[i].vats[j][NAME_LIST][label.name] = label;\n }\n }\n\n for (var i = 0; i < rootGetters.labels.human.length; i++) {\n addLabel(rootGetters.labels.human[i]);\n }\n return tab; \n },\n};\n\n\n\n\nconst mutations = {\n updateField\n};\n\n\nconst actions = {};\n\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","const state = () => ({\n keys: {\n lastCompany: 'lastCompany',\n stateChip: 'state_chip_'\n },\n});\n\nconst getters = {\n keyLastCompany: state => state.keys.lastCompany,\n keyStateChip: state => state.keys.stateChip,\n getSettings: (state) => (settings) => {\n let value = localStorage.getItem(settings);\n try {\n value = JSON.parse(value);\n } catch {}\n return value;\n },\n currentKey: (state) => {\n const currentKey = localStorage.getItem(state.keys.lastCompany);\n return currentKey;\n } \n};\n\n\nconst mutations = {};\n\n\nconst setSettings = ({ commit, state, dispatch }, {settings, value}) => {\n if (typeof(value) === 'object') {\n value = JSON.stringify(value);\n }\n localStorage.setItem(settings, value);\n};\n\nconst removeSettings = ({ commit, state, dispatch }, {settings}) => {\n var value = localStorage.getItem(settings);\n if (value) {\n localStorage.removeItem(settings);\n }\n};\n\n\nconst actions = {\n setSettings,\n removeSettings\n};\n\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","import { getField, updateField } from 'vuex-map-fields';\nimport { client } from \"@/api/client\";\nimport { isValidAccountCS, isValidAccountGI } from \"@/modules/accounts/domain/Account.js\";\nimport { VueFeatureRepository } from \"@/modules/shared/infra/FeatureRepository.js\"\n\nexport const SET_CURRENT_FILTERS = \"SET_CURRENT_FILTERS\";\nexport const CLEAN_FILTERS = \"CLEAN_FILTERS\";\nexport const CLEAN_ALL_FILTERS = \"CLEAN_ALL_FILTERS\";\nexport const IDENTITY_KEY_CHOICES = \"IDENTITY_KEY_CHOICES\";\nexport const SET_ACCOUNTS = \"SET_ACCOUNTS\";\n\nconst state = () => ({\n actualScreen: '',\n selectedIvaCheck: undefined,\n inputLabels: {\n 'type': 'Tipo',\n 'cif': 'CIF',\n 'name': 'Nombre',\n 'alias': 'Nombre Comercial',\n 'first_name': 'Nombre',\n 'first_surname': 'Primer Apellido',\n 'second_surname': 'Segundo Apellido',\n 'dire': 'DIRe',\n 'accounting_office': 'Oficina Contable',\n 'management_body': 'Órgano de Gestión',\n 'processing_unit': 'Unidad Tramitadora',\n 'proposing_body': 'Órgano Proponente',\n 'reference': 'Referencia',\n 'expens_accounts': 'Cuentas de gastos',\n 'expens_account_bien_inversion': 'Cuenta de gastos en bienes de inversión',\n 'ref_expens_accounts': 'Cuentas de gastos con referencia',\n 'ref_income_accounts': 'Cuentas de ingresos con referencia',\n 'credit_account': 'Cuenta de proveedor',\n 'income_accounts': 'Cuentas de ingresos',\n 'debit_account': 'Cuenta de Cliente',\n 'retention_type': 'Tipo de Retención',\n 'fiscal_location': 'Localización Fiscal',\n 'percent': 'Porcentaje',\n 'inversion_sujeto_pasivo_iva': 'Inversión sujeto pasivo IVA',\n 'inversion_sujeto_pasivo_igic': 'Inversión sujeto pasivo IGIC',\n 'iva_igic_no_deducible': 'IVA/IGIC no deducible',\n 'gasto_iva_parcial': 'Gasto+IVA deducible parcialmente',\n 'iva_parcial': 'IVA deducible parcialmente',\n 'gasto_iva_percent': 'Porcentaje',\n 'intracomunitario': 'Intracomunitario',\n 'intracomunitario_type': 'Tipo',\n 'extracomunitario': 'Extracomunitario',\n 'no_sujeta': 'No sujeta',\n 'dry_0_percent': 'Tipo 0%',\n 'apl_re_0': 'Aplica recargo 0%',\n 'bien_inversion': 'Bienes de inversión',\n 'address': 'Dirección',\n 'zip_code': 'CP',\n 'city': 'Ciudad',\n 'province': 'Provincia',\n 'country': 'País',\n 'email': 'Email',\n 'website': 'Website',\n 'phone': 'Teléfono',\n 'notes': 'Notas',\n 'review': 'Revisar antes de contabilizar',\n 'payment_account': 'Cuenta de Pago',\n 'automatic_payment_account': 'Pago automático',\n 'payment_method': 'Método de pago',\n 'charge_account': 'Cuenta de Cobro',\n 'automatic_charge_account': 'Cobro automático',\n 'cut_inv_num': 'Recortar número de factura',\n 'suplido_account': 'Cuenta Suplidos',\n 'num_chars_inv_num': 'Número de caracteres a mantener',\n 'chars_to_exclude': 'Caracteres a excluir al recortar',\n 'identity_key': 'Clave identificación',\n 'auto_fill_due_date': 'Autorrellenar fecha de vencimiento',\n 'prorate': 'Prorrata',\n 'default_actividad': 'Actividad por Defecto',\n 'default_project': 'Proyecto por Defecto', \n 'default_channel': 'Canal por Defecto',\n 'building_code': 'Código de inmueble',\n 'decimal_separator':'Separador decimal (en ambigüedad)',\n 'have_serie': '¿Tiene serie?',\n 'series': 'Series',\n 'max_price':'Total factura máximo esperado',\n 'min_price':'Total factura mínimo esperado',\n 'cadastral_reference':'Referencia catastral',\n 'criterio_de_caja': 'Criterio de Caja',\n 'description_sii': 'Descripción SII',\n 'fixed_value': 'Valor Fijo',\n 'exc_expense_account': 'Cuenta de gastos para IVA no deducible',\n 'iva_no_deducible_account':'Cuenta iva no deducible',\n 'gasto_no_deducible_account':'Cuenta gastos no deducible',\n 'is_comerciante_minorista': 'Comerciante Minorista',\n 'is_comerciante_minorista_percent': 'Porcentaje',\n 'retention_professional_account': 'Cuenta Retención Profesionales',\n 'retention_rental_account': 'Cuenta Retención Alquileres',\n 'retention_customer_account': 'Cuenta Retención',\n 'register_iva_igic_0': 'Registrar en libro de facturas',\n 'ignore_cif_validation': 'Ignorar Validación CIF',\n 'expens_income_type': 'Tipo de Gasto/Ingreso',\n },\n screenValues: {\n supplierScreenValues: {\n 'type': '',\n 'cif': '',\n 'name': '',\n 'alias': '',\n 'first_name': '',\n 'first_surname': '',\n 'second_surname': '',\n 'dire': '',\n 'accounting_office': '',\n 'management_body': '',\n 'processing_unit': '',\n 'proposing_body': '',\n 'reference': '',\n 'expens_accounts': [],\n 'expens_account_bien_inversion': '',\n 'ref_expens_accounts' : [],\n 'credit_account': '',\n 'retention_type': '',\n 'inversion_sujeto_pasivo_iva_percent': '',\n 'inversion_sujeto_pasivo_iva': false,\n 'inversion_sujeto_pasivo_igic_percent': '',\n 'inversion_sujeto_pasivo_igic': false,\n 'iva_igic_no_deducible': false,\n 'gasto_iva_parcial': false,\n 'iva_parcial': false,\n 'gasto_iva_percent': 50,\n 'intracomunitario_percent': '',\n 'intracomunitario_type': '',\n 'intracomunitario': false,\n 'importaciones_percent': '',\n 'extracomunitario': false,\n 'no_sujeta': false,\n 'dry_0_percent': false,\n 'bien_inversion': false,\n 'retention_type_choices': [],\n 'address': '',\n 'zip_code': '',\n 'city': '',\n 'province': '',\n 'country': '',\n 'email': '',\n 'website': '',\n 'phone': '',\n 'notes': '',\n 'review': '',\n 'payment_account': '',\n 'payment_method':'',\n 'automatic_payment_account': '',\n 'automatic_payment_account_choices': [],\n 'charge_account': '',\n 'automatic_charge_account': '',\n 'building_code':'',\n 'decimal_separator':null,\n 'have_serie': false,\n 'series': [],\n 'max_price':null,\n 'min_price':null,\n 'suplido_account':'',\n 'cadastral_reference':'',\n 'refs_no_sujeta':[],\n 'criterio_de_caja': false,\n 'is_comerciante_minorista': false,\n 'is_comerciante_minorista_percent': '',\n 'description_sii': 'descr_factura',\n 'fixed_value': '',\n 'exc_expense_account': '',\n 'iva_no_deducible_account':'',\n 'gasto_no_deducible_account':'',\n 'default_actividad': '', \n 'default_project': '', \n 'default_channel': null,\n 'retention_professional_account': '',\n 'retention_rental_account': '',\n 'register_iva_igic_0': false,\n 'ignore_cif_validation': false,\n 'default_expens_income_type': null,\n 'data': {},\n },\n customerScreenValues: {\n 'type': '',\n 'first_name': '',\n 'first_surname': '',\n 'second_surname': '',\n 'dire': '',\n 'accounting_office': '',\n 'management_body': '',\n 'processing_unit': '',\n 'proposing_body': '',\n // 'cif': '',\n // 'name': '',\n 'reference': '',\n 'income_accounts': '',\n 'ref_income_accounts' : [],\n 'retention_type_choices': [],\n // 'debit_account': '',\n 'inversion_sujeto_pasivo_iva': false,\n 'inversion_sujeto_pasivo_igic': false,\n 'iva_igic_no_deducible': false,\n 'intracomunitario': false,\n 'extracomunitario': false,\n 'no_sujeta': false,\n 'dry_0_percent':false,\n 'apl_re_0': false,\n 'address': '',\n 'zip_code': '',\n 'city': '',\n 'province': '',\n 'country': '',\n // 'email': '',\n // 'website': '',\n // 'phone': '',\n 'notes': '',\n 'payment_method':'',\n // 'review': '',\n 'max_price':null,\n 'refs_no_sujeta':[],\n 'min_price': null,\n 'description_sii': 'descr_factura',\n 'fixed_value': '',\n 'default_actividad': '', \n 'default_project': '', \n 'default_channel': null,\n 'automatic_charge_account': '',\n 'charge_account': '',\n 'retention_customer_account': '',\n 'register_iva_igic_0': false,\n 'ignore_cif_validation': false,\n 'default_expens_income_type': null,\n 'data': {},\n }\n },\n screenErrors: {\n supplierScreenValues: {},\n customerScreenValues: {}\n },\n\n currentFilters: {\n supplierListValues: \"\",\n customerListValues: \"\"\n },\n filtersData: {\n supplierListValues: {\n supplier__name__icontains: {\n 'name': 'supplier__name__icontains', \n 'label': 'Nombre de proveedor',\n 'value': ''\n },\n supplier__nif__icontains: {\n 'name': 'supplier__nif__icontains', \n 'label': 'CIF de proveedor',\n 'value': ''\n },\n expens_account__icontains: {\n 'name': 'expens_account__icontains', \n 'label': 'Cuenta de Gastos',\n 'value': ''\n },\n credit_account__icontains: {\n 'name': 'credit_account__icontains', \n 'label': 'Cuenta de Proveedor',\n 'value': ''\n }\n },\n customerListValues: {\n customer__name__icontains: {\n 'name': 'customer__name__icontains', \n 'label': 'Nombre de cliente',\n 'value': ''\n },\n customer__nif__icontains: {\n 'name': 'customer__nif__icontains', \n 'label': 'CIF de cliente',\n 'value': ''\n },\n income_account__icontains: {\n 'name': 'income_account__icontains', \n 'label': 'Cuenta de Ingresos',\n 'value': ''\n },\n debit_account__icontains: {\n 'name': 'debit_account__icontains', \n 'label': 'Cuenta',\n 'value': ''\n },\n einvoice_customer: {\n 'name': 'einvoice_customer',\n 'label': 'Cliente Factura electrónica',\n 'value': false\n }\n }\n },\n actions: {\n supplierListValues: [\n { 'id': 'export', 'name': 'Exportar Proveedores en excel', 'group': 'action', 'excel': true},\n { 'id': 'delete', 'name': 'Borrar Proveedores', 'group': 'action', 'excel': false},\n { 'id': 'massive_change', 'name': 'Cambios Masivos', 'group': 'action', 'excel': false, \"permission\": \"feature_not_create_thirds_and_masters\"},\n ],\n customerListValues: [\n { 'id': 'export', 'name': 'Exportar Clientes en excel', 'group': 'action', 'excel': true},\n { 'id': 'delete', 'name': 'Borrar Clientes', 'group': 'action', 'excel': false},\n { 'id': 'massive_change', 'name': 'Cambios Masivos', 'group': 'action', 'excel': false, \"permission\": \"feature_not_create_thirds_and_masters\"},\n ],\n },\n identity_keys: [],\n action: undefined,\n accounts: [],\n});\n\nconst getters = {\n getField,\n getScreenValuesField(state) {\n return getField(state[state.actualScreen])\n },\n getExtracomunitarioLabel: (state) => {\n if (state.actualScreen == 'supplierScreenValues')\n return 'Extracomunitario (Importaciones)'\n else\n return 'Extracomunitario (Exportaciones)'\n },\n}\nconst mutations = {\n updateField,\n updateScreenValues(state, field) {\n state.screenValues[state.actualScreen] = field.value;\n },\n updateScreenValues2(state, field) {\n state.screenValues[state.actualScreen] = field;\n //Get Iva check radiobuttons\n if (state.actualScreen == 'supplierScreenValues') {\n if (state.screenValues[state.actualScreen].iva_igic_no_deducible) {\n state.selectedIvaCheck = 'iva_igic_no_deducible';\n }\n else if (state.screenValues[state.actualScreen].gasto_iva_parcial) {\n state.selectedIvaCheck = 'gasto_iva_parcial';\n }\n else if (state.screenValues[state.actualScreen].iva_parcial) {\n state.selectedIvaCheck = 'iva_parcial';\n }\n else if (state.screenValues[state.actualScreen].prorate) {\n state.selectedIvaCheck = 'prorate';\n }\n }\n },\n updateScreenErrors(state, field) {\n state.screenErrors[state.actualScreen] = field;\n },\n updateScreenValuesFields(state, {fieldname, value}) {\n state.screenValues[state.actualScreen][fieldname] = value;\n },\n updateScreenValuesArray(state, {fieldname, value}) {\n \n state.screenValues[state.actualScreen][fieldname] = []\n for(let i in value){\n state.screenValues[state.actualScreen][fieldname][i] = value[i]\n }\n },\n [SET_CURRENT_FILTERS](state, filts) {\n state.currentFilters[state.actualScreen] = filts;\n },\n [CLEAN_FILTERS](state) {\n for (let i in state.filtersData[state.actualScreen]) {\n state.filtersData[state.actualScreen][i].value = '';\n }\n },\n [CLEAN_ALL_FILTERS](state) {\n for (let screen in state.filtersData) {\n state.currentFilters[screen] = '';\n for (let i in state.filtersData[screen]) {\n state.filtersData[screen][i].value = '';\n }\n }\n },\n [IDENTITY_KEY_CHOICES](state, choices) {\n state.identity_keys = choices;\n },\n [SET_ACCOUNTS](state, accounts) {\n state.accounts = accounts;\n },\n}\n\nconst getData = ({ commit, state }, { id, url, nif, name }) => {\n return new Promise((resolve, reject)=> {\n commit('updateScreenValues2', {});\n if (id) {\n client.get(url + id + '/').then(response => { \n response.data['refs_no_sujeta'] = response.data['grefs_no_sujeta'] \n delete response.data['grefs_no_sujeta'] \n commit('updateScreenValues2', response.data);\n resolve();\n }).catch(err=>{\n console.log(err)\n reject();\n });\n } else {\n if (state.actualScreen == 'supplierScreenValues') {\n commit('updateScreenValues2', {\n 'type': '',\n 'cif': nif, \n 'name': name,\n 'alias': '',\n 'first_name': '',\n 'first_surname': '',\n 'second_surname': '',\n 'dire': '',\n 'accounting_office': '',\n 'management_body': '',\n 'processing_unit': '',\n 'proposing_body': '',\n 'address': '',\n 'zip_code': '',\n 'city': '',\n 'province': '',\n 'country': '',\n 'email': '',\n 'phone': '',\n 'website': '', \n 'reference': '',\n 'credit_account': '',\n 'ref_expens_accounts' : [],\n 'inversion_sujeto_pasivo_iva_percent': 'vat_21',\n 'inversion_sujeto_pasivo_iva': false,\n 'inversion_sujeto_pasivo_igic_percent': 'igic_7',\n 'inversion_sujeto_pasivo_igic': false,\n 'iva_igic_no_deducible': false,\n 'gasto_iva_parcial': false,\n 'iva_parcial': false,\n 'gasto_iva_percent': 50,\n 'intracomunitario_percent': 'vat_21',\n 'intracomunitario_type': 'bienes',\n 'intracomunitario': false,\n 'importaciones_percent': 'vat_21',\n 'extracomunitario': false,\n 'no_sujeta': false,\n 'dry_0_percent':false,\n 'bien_inversion': false,\n 'building_code':'',\n 'payment_method':'',\n 'decimal_separator':null,\n 'have_serie': false,\n 'series': [],\n 'max_price':null,\n 'min_price':null,\n 'suplido_account':'',\n 'refs_no_sujeta':[],\n 'criterio_de_caja': false,\n 'is_comerciante_minorista': false,\n 'is_comerciante_minorista_percent': 'igic_7',\n 'description_sii': 'descr_factura',\n 'fixed_value': '',\n 'retention_professional_account': '',\n 'retention_rental_account': '',\n 'register_iva_igic_0': false,\n 'ignore_cif_validation': false,\n 'automatic_payment_account': 'na',\n });\n } else if (state.actualScreen == 'customerScreenValues') {\n commit('updateScreenValues2', {\n 'type': '',\n 'cif': nif, \n 'name': name,\n 'alias': '',\n 'first_name': '',\n 'first_surname': '',\n 'second_surname': '',\n 'dire': '',\n 'accounting_office': '',\n 'management_body': '',\n 'processing_unit': '',\n 'proposing_body': '',\n 'address': '',\n 'zip_code': '',\n 'city': '',\n 'province': '',\n 'country': '',\n 'email': '',\n 'phone': '',\n 'website': '',\n 'reference': '',\n 'ref_income_accounts' : [],\n 'inversion_sujeto_pasivo_iva': false,\n 'inversion_sujeto_pasivo_igic': false,\n 'intracomunitario': false,\n 'intracomunitario_type': 'bienes',\n 'extracomunitario': false,\n 'no_sujeta': false,\n 'dry_0_percent':false,\n 'apl_re_0': false,\n 'payment_method':'',\n 'max_price':null,\n 'min_price':null,\n 'refs_no_sujeta':[],\n 'suplido_account': '',\n 'description_sii': 'descr_factura',\n 'fixed_value': '',\n 'ignore_cif_validation': false,\n 'automatic_charge_account': 'na',\n });\n }\n resolve();\n }\n });\n}\nconst updateScreenValuesArray = ({state,commit},{field,value}) => {\n commit('updateScreenValuesArray', {'fieldname': field, 'value': value})\n}\n\nconst getFirstError = (errors) => {\n Object.keys(errors).forEach((e)=>{\n errors[e]=errors[e][0]\n });\n return errors\n}\n\nconst areAccountsMaxLengthError = ({ state, rootGetters }, { currentCompany, userData }) => {\n let accounts_errors = {}\n accounts_errors['credit_account_error'] = false\n accounts_errors['debit_account_error'] = false\n accounts_errors['expens_accounts_error'] = false\n accounts_errors['ref_expens_accounts_error'] = []\n accounts_errors['income_accounts_error'] = false\n accounts_errors['ref_income_accounts_error'] = []\n accounts_errors['expens_account_bien_inversion_error'] = false\n accounts_errors['exc_expense_account_error'] = false\n accounts_errors['iva_no_deducible_account_error'] = false\n accounts_errors['gasto_no_deducible_account_error'] = false\n let feature_repo = new VueFeatureRepository(rootGetters.got_feature);\n \n for (let i in state.screenValues[state.actualScreen]['ref_expens_accounts']) {\n accounts_errors['ref_expens_accounts_error'].push(false);\n }\n for (let i in state.screenValues[state.actualScreen]['ref_income_accounts']) {\n accounts_errors['ref_income_accounts_error'].push(false);\n }\n\n for(let accounts of ['expens_accounts','income_accounts']){\n if (state.screenValues[state.actualScreen][accounts] && state.screenValues[state.actualScreen][accounts].length && state.screenValues[state.actualScreen][accounts][0] != '') {\n for (let i in state.screenValues[state.actualScreen][accounts]) {\n accounts_errors[accounts+'_error'] = !isValidAccountGI(state.screenValues[state.actualScreen][accounts][i], currentCompany, userData, feature_repo)\n }\n }\n }\n for(let account of ['expens_account_bien_inversion','exc_expense_account','iva_no_deducible_account','gasto_no_deducible_account']){\n if (state.screenValues[state.actualScreen][account] && state.screenValues[state.actualScreen][account].length) {\n accounts_errors[account+'_error'] = !isValidAccountGI(state.screenValues[state.actualScreen][account],currentCompany, userData, feature_repo)\n }\n }\n \n for(let accounts of ['ref_expens_accounts','ref_income_accounts']){\n if (state.screenValues[state.actualScreen][accounts] && state.screenValues[state.actualScreen][accounts].length) {\n for (let i in state.screenValues[state.actualScreen][accounts]) {\n accounts_errors[accounts+'_error'][i] = !isValidAccountGI(state.screenValues[state.actualScreen][accounts][i]['account'],currentCompany, userData, feature_repo);\n }\n }\n }\n\n for(let account of ['credit_account','debit_account']){\n if (state.screenValues[state.actualScreen][account]) {\n accounts_errors[account+'_error'] = !isValidAccountCS(state.screenValues[state.actualScreen][account],currentCompany, userData);\n }\n }\n return accounts_errors;\n}\n\nconst areFieldsValidatedPattern = ({ state }, { params }, ) => {\n\n let err = {}\n\n if (params['field_pattern']) {\n let patterns = params['field_pattern'];\n let patterns_errors = params['field_pattern_error_messages'];\n\n for (let key in patterns) {\n if (patterns.hasOwnProperty(key)) {\n let r_key = patterns[key];\n if (state.screenValues[state.actualScreen][key] && !state.screenValues[state.actualScreen][key].match(r_key))\n {\n if (patterns_errors && patterns_errors[key]){\n err[key] = state.inputLabels[key] + \": \" + patterns_errors[key]\n } else if (patterns_errors && patterns_errors[\"default\"]){\n err[key] = state.inputLabels[key] + \": \" + patterns_errors[\"default\"]\n } else {\n err[key] = state.inputLabels[key] + \": El número de caracteres del campo es incorrecto\";\n }\n }\n }\n }\n }\n\n return err\n}\n\nconst isZipcodeCorrect = ({ state }) => {\n let error = false;\n if (state.screenValues[state.actualScreen]['zip_code']) {\n const isSpain = !state.screenValues[state.actualScreen]['country'] || state.screenValues[state.actualScreen]['country'] == 'ES'\n if (isSpain && !(state.screenValues[state.actualScreen]['extracomunitario'] || state.screenValues[state.actualScreen]['intracomunitario'])) { \n if (!/(^\\d{5}$)|(^\\d{5}-\\d{4}$)/.test(state.screenValues[state.actualScreen]['zip_code'])) {\n error = true;\n }\n }\n }\n return error;\n}\n\nconst getEmptyFieldsError = ({ state }, { currentCompany, action }) => {\n let err = {};\n let keys = [];\n if (state.actualScreen == 'supplierScreenValues') {\n if (action == 'create'){\n keys = ['supplier','supplier_create_only'];\n }\n else{\n keys = ['supplier'];\n }\n \n } else if (state.actualScreen == 'customerScreenValues') {\n if (action == 'create'){\n keys = ['customer','customer_create_only'];\n }\n else{\n keys = ['customer'];\n }\n }\n\n if (state.screenValues[state.actualScreen]['type'] == '') {\n err['type'] = 'El campo ' + state.inputLabels['type'] + ' es obligatorio, no puede estar en blanco.';\n }\n\n keys.forEach((key) => {\n if (key) { \n if (Boolean(currentCompany['companydb_type']) && Boolean(currentCompany['companydb_type']['required_fields']) && Boolean(currentCompany['companydb_type']['required_fields'][key])) {\n for (let i in currentCompany['companydb_type']['required_fields'][key]) {\n if (!state.screenValues[state.actualScreen][currentCompany['companydb_type']['required_fields'][key][i]]) {\n err[currentCompany['companydb_type']['required_fields'][key][i]] = 'El campo ' + state.inputLabels[currentCompany['companydb_type']['required_fields'][key][i]] + ' es obligatorio, no puede estar en blanco.';\n }\n }\n }\n }\n })\n\n if (state.screenValues[state.actualScreen]['description_sii'] == 'valor_fijo') {\n if (!state.screenValues[state.actualScreen]['fixed_value']) {\n err['fixed_value'] = 'El campo ' + state.inputLabels['fixed_value'] + ' es obligatorio.';\n }\n }\n if (state.actualScreen == 'supplierScreenValues' && state.screenValues[state.actualScreen]['gasto_iva_parcial']) {\n let gasto_iva_parcial = state.screenValues[state.actualScreen]['gasto_iva_percent'];\n if(!gasto_iva_parcial) {\n err['gasto_iva_percent'] = 'El campo ' + state.inputLabels['gasto_iva_percent'] + ' de ' + state.inputLabels['gasto_iva_parcial'] + ' es obligatorio, no puede estar en blanco.';\n }\n else if(gasto_iva_parcial >= 100 || gasto_iva_parcial <=0) {\n err['gasto_iva_percent'] = 'El campo ' + state.inputLabels['gasto_iva_percent'] + ' de ' + state.inputLabels['gasto_iva_parcial'] + ' debe tener un valor entre 0 y 100, no incluidos.';\n }\n } \n if (state.actualScreen == 'supplierScreenValues' && state.screenValues[state.actualScreen]['iva_parcial']) {\n let gasto_iva_percent = state.screenValues[state.actualScreen]['gasto_iva_percent'];\n if(!gasto_iva_percent) {\n err['gasto_iva_percent'] = 'El campo ' + state.inputLabels['gasto_iva_percent'] + ' de ' + state.inputLabels['iva_parcial'] + ' es obligatorio, no puede estar en blanco.';\n }\n else if(gasto_iva_percent >= 100 || gasto_iva_percent <=0) {\n err['gasto_iva_percent'] = 'El campo ' + state.inputLabels['gasto_iva_percent'] + ' de ' + state.inputLabels['iva_parcial'] + ' debe tener un valor entre 0 y 100, no incluidos.';\n }\n } \n return err;\n}\n\nconst getErrors = ({ state, rootGetters }, { currentCompany, userData, action }) => {\n let err = getEmptyFieldsError({ state }, { currentCompany,action });\n if (!Object.keys(err).length) {\n let length_error = false;\n \n if (state.screenValues[state.actualScreen]['cif'].length > currentCompany['companydb_type']['max_length_cif']) {\n length_error = true;\n err['cif'] = 'Has superado el máximo de caracteres para el campo ' + state.inputLabels['cif'] + ', su máximo es ' + currentCompany['companydb_type']['max_length_cif'] + '.';\n }\n else if (!state.screenValues[state.actualScreen]['ignore_cif_validation'] && state.screenValues[state.actualScreen]['cif'] == currentCompany['cif']) {\n err['cif'] = 'Un tercero no puede tener el mismo cif que la empresa';\n }\n if (state.screenValues[state.actualScreen]['name'].length > currentCompany['companydb_type']['max_length_name']) {\n length_error = true;\n err['name'] = 'Has superado el máximo de caracteres para el campo ' + state.inputLabels['name'] + ', su máximo es ' + currentCompany['companydb_type']['max_length_name'] + '.';\n }\n if (currentCompany['companydb_type']['params']) {\n let params = currentCompany['companydb_type']['params'];\n let errors = areFieldsValidatedPattern({ state }, { params });\n \n if (errors && Object.keys(errors).length > 0){\n length_error = true;\n for (let key in errors) {\n err[key] = errors[key];\n }\n }\n }\n\n let accountsError = areAccountsMaxLengthError({ state, rootGetters }, { currentCompany, userData });\n let num_digit_is_max_text = '';\n if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('num_digit_is_max_length') && currentCompany['companydb_type']['params']['num_digit_is_max_length']) {\n num_digit_is_max_text = ' un máximo de ';\n }\n\n if (accountsError['credit_account_error']) {\n length_error = true;\n err['credit_account'] = 'La Cuenta de proveedor debe tener ' + num_digit_is_max_text + currentCompany.num_digits + ' caracteres.';\n } else if (accountsError['debit_account_error']) {\n length_error = true;\n err['debit_account'] = 'La Cuenta de cliente debe tener ' + num_digit_is_max_text + currentCompany.num_digits + ' caracteres.';\n }\n if (accountsError['expens_accounts_error']) {\n length_error = true;\n err['expens_accounts'] = 'Las Cuentas de gastos';\n if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_length')) {\n err['expens_accounts'] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_length'] + ' caracteres.';\n }\n else if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_max_length')) {\n err['expens_accounts'] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_max_length'] + ' caracteres.';\n }\n else {\n err['expens_accounts'] += ' deben tener ' + num_digit_is_max_text + currentCompany.num_digits + ' caracteres.';\n }\n } else if (accountsError['income_accounts_error']) {\n length_error = true;\n err['income_accounts'] = 'Las Cuentas de ingresos';\n if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_length')) {\n err['income_accounts'] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_length'] + ' caracteres.';\n }\n else if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_max_length')) {\n err['income_accounts'] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_max_length'] + ' caracteres.';\n } \n else {\n err['income_accounts'] += ' deben tener ' + num_digit_is_max_text + currentCompany.num_digits + ' caracteres.';\n }\n }\n console.log(accountsError)\n if (accountsError['iva_no_deducible_account_error']) {\n length_error = true;\n err['iva_no_deducible_account'] = 'La Cuenta de iva no deducible tiene un numero inadecuado de caracteres.';\n }\n if (accountsError['gasto_no_deducible_account_error']) {\n length_error = true;\n err['gasto_no_deducible_account'] = 'La Cuenta de gasto no deducible tiene un numero inadecuado de caracteres.';\n }\n if (accountsError['ref_expens_accounts_error'].includes(true)) {\n length_error = true;\n err['ref_expens_accounts'] = [];\n for (let i in accountsError['ref_expens_accounts_error']) {\n err['ref_expens_accounts'].push('');\n if (accountsError['ref_expens_accounts_error'][i]){\n err['ref_expens_accounts'][i] = 'Las Cuentas de gastos extra';\n if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_length')) {\n err['ref_expens_accounts'][i] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_length'] + ' caracteres.';\n }\n else if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_max_length')) {\n err['ref_expens_accounts'] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_max_length'] + ' caracteres.';\n } \n else {\n err['ref_expens_accounts'][i] += ' deben tener ' + num_digit_is_max_text + currentCompany.num_digits + ' caracteres.';\n }\n }\n }\n }\n if (accountsError['ref_income_accounts_error'].includes(true)) {\n length_error = true;\n err['ref_income_accounts'] = [];\n for (let i in accountsError['ref_income_accounts_error']) {\n err['ref_income_accounts'].push('');\n if (accountsError['ref_income_accounts_error'][i]){\n err['ref_income_accounts'][i] = 'Las Cuentas de ingresos extra';\n if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_length')) {\n err['ref_income_accounts'][i] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_length'] + ' caracteres.';\n }\n else if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_max_length')) {\n err['ref_income_accounts'] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_max_length'] + ' caracteres.';\n } \n else {\n err['ref_income_accounts'][i] += ' deben tener ' + num_digit_is_max_text + currentCompany.num_digits + ' caracteres.';\n }\n }\n }\n }\n if (state.actualScreen == 'supplierScreenValues') {\n if (state.screenValues[state.actualScreen]['credit_account'].toString().includes('.')) {\n length_error = true;\n err['credit_account'] = 'La cuenta de proveedor no debe contener puntos.';\n } else if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('invalid_accounts_formats')) {\n const invalid_formats = currentCompany['companydb_type']['params']['invalid_accounts_formats']\n for (const i in invalid_formats) {\n const regex = new RegExp(invalid_formats[i]);\n if (regex.test(state.screenValues[state.actualScreen]['credit_account'])) {\n err['credit_account'] = `La cuenta de proveedor tiene un formato no soportado para ${ currentCompany['companydb_type']['name'] }.`;\n }\n }\n }\n if (state.screenValues[state.actualScreen]['expens_accounts']) {\n for (let i in state.screenValues[state.actualScreen]['expens_accounts']) {\n if (state.screenValues[state.actualScreen]['expens_accounts'][i].toString().includes('.')) {\n length_error = true;\n err['expens_accounts'] = 'Las cuentas de gastos no deben contener puntos.';\n }\n }\n }\n } else if (state.actualScreen == 'customerScreenValues') {\n if (state.screenValues[state.actualScreen]['debit_account'].toString().includes('.')) {\n length_error = true;\n err['debit_account'] = 'La cuenta de cliente no debe contener puntos.';\n } else if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('invalid_accounts_formats')) {\n const invalid_formats = currentCompany['companydb_type']['params']['invalid_accounts_formats']\n for (const i in invalid_formats) {\n const regex = new RegExp(invalid_formats[i]);\n if (regex.test(state.screenValues[state.actualScreen]['debit_account'])) {\n err['debit_account'] = `La cuenta de proveedor tiene un formato no soportado para ${ currentCompany['companydb_type']['name'] }.`;\n }\n }\n }\n if (state.screenValues[state.actualScreen]['income_accounts']) {\n for (let i in state.screenValues[state.actualScreen]['income_accounts']) {\n if (state.screenValues[state.actualScreen]['income_accounts'][i].toString().includes('.')) {\n length_error = true;\n err['income_accounts'] = 'Las cuentas de ingresos no deben contener puntos.';\n }\n }\n }\n }\n\n\n if (!((state.actualScreen == 'supplierScreenValues' && (!isNaN(state.screenValues[state.actualScreen]['credit_account']) && !isNaN(parseFloat(state.screenValues[state.actualScreen]['credit_account'])))) || (state.actualScreen == 'customerScreenValues' && (!isNaN(state.screenValues[state.actualScreen]['debit_account']) && !isNaN(parseFloat(state.screenValues[state.actualScreen]['debit_account'])))))) {\n length_error = true;\n let str = \"\";\n if (state.actualScreen == 'supplierScreenValues') {\n if (state.screenValues[state.actualScreen]['credit_account'].includes('?')) {\n str = 'Una vez escrito el interrogante debes pulsar enter para autocompletar.';\n } else {\n str = 'El campo Cuenta de proveedor debe de ser un número.';\n }\n if (!(currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('cif_in_account')))\n err['credit_account'] = str;\n } else if (state.actualScreen == 'customerScreenValues') {\n if (state.screenValues[state.actualScreen]['debit_account'].includes('?')) {\n str = 'Una vez escrito el interrogante debes pulsar enter para autocompletar.';\n } else {\n str = 'El campo Cuenta de cliente debe de ser un número.';\n }\n if (!(currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('cif_in_account')))\n err['debit_account'] = str;\n }\n }\n\n if (isZipcodeCorrect({state})) {\n err['zip_code'] = 'El Código Postal introducido no tiene un formato correcto.';\n }\n\n if (['cut_first', 'cut_last'].includes(state.screenValues[state.actualScreen]['cut_inv_num'])) {\n if (!state.screenValues[state.actualScreen]['num_chars_inv_num']) {\n err['num_chars_inv_num'] = 'El campo Nº de caracteres a mantener es obligatorio si se quiere recortar el número de factura.';\n }\n }\n \n if(state.screenValues[state.actualScreen]['min_price'] && state.screenValues[state.actualScreen]['max_price'] && parseFloat(state.screenValues[state.actualScreen]['max_price']) < parseFloat(state.screenValues[state.actualScreen]['min_price'])){\n err['max_price'] = 'El total de factura màximo debe ser superior al mínimo '+state.screenValues[state.actualScreen]['max_price']+' '+state.screenValues[state.actualScreen]['min_price']\n }\n if(state.screenValues[state.actualScreen]['max_price'] && parseFloat(state.screenValues[state.actualScreen]['max_price']) < 0){\n err['max_price'] = 'El rango de precios debe ser positivo, se aplicará en valor absoluto sobre los abonos'\n }\n if(state.screenValues[state.actualScreen]['min_price'] && parseFloat(state.screenValues[state.actualScreen]['min_price']) < 0){\n err['min_price'] = 'El rango de precios debe ser positivo, se aplicará en valor absoluto sobre los abonos'\n }\n if (accountsError['expens_account_bien_inversion_error']) {\n length_error = true;\n err['expens_account_bien_inversion'] = 'Las Cuentas de gastos de bienes de inversión';\n if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_length')) {\n err['expens_account_bien_inversion'] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_length'] + ' caracteres.';\n }\n else if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_max_length')) {\n err['expens_account_bien_inversion'] += ' para ' + currentCompany['companydb_type']['name'] + ' tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_max_length'] + ' caracteres.';\n }\n else {\n err['expens_account_bien_inversion'] += ' deben tener ' + num_digit_is_max_text + currentCompany.num_digits + ' caracteres.';\n }\n }\n if (accountsError['exc_expense_account_error']) {\n length_error = true;\n err['exc_expense_account'] = 'Cuenta de gastos IVA no deducible';\n if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_length')) {\n err['exc_expense_account'] += ' para ' + currentCompany['companydb_type']['name'] + ' debe tener ' + currentCompany['companydb_type']['params']['accounts_length'] + ' caracteres.';\n }\n else if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_max_length')) {\n err['exc_expense_account'] += ' para ' + currentCompany['companydb_type']['name'] + ' tiene un máximo de ' + currentCompany['companydb_type']['params']['accounts_max_length'] + ' caracteres.';\n }\n else {\n err['exc_expense_account'] += ' debe tener ' + num_digit_is_max_text + currentCompany.num_digits + ' caracteres.';\n }\n }\n }\n console.log(err)\n return err;\n}\n\nconst createObject = ({ commit, state, dispatch, rootGetters }, { url, currentCompany, userData }) => {\n return new Promise((resolve, reject)=> {\n commit('updateScreenErrors', {});\n commit('updateScreenValuesFields', {'fieldname': 'companydb', 'value': currentCompany['id']});\n // if (!Object.keys(err).length) {\n let boolean_fields = ['inversion_sujeto_pasivo_iva', 'inversion_sujeto_pasivo_igic', 'review', 'intracomunitario'];\n boolean_fields.forEach((field) => {\n if(!state.screenValues[state.actualScreen][field]) {\n commit('updateScreenValuesFields', {'fieldname': field, 'value': false});\n }\n });\n //Set Iva check radiobuttons\n if (state.actualScreen == 'supplierScreenValues') {\n let checks_iva_fields = ['iva_igic_no_deducible', 'gasto_iva_parcial','iva_parcial','prorate']\n checks_iva_fields.forEach((field) => {\n let value = false;\n if(state.selectedIvaCheck == field) {\n value = true;\n }\n commit('updateScreenValuesFields', {'fieldname': field, 'value': value});\n });\n }\n\n // if (state.screenValues[state.actualScreen]['selected_invers']) {\n // commit('updateScreenValuesFields', {'fieldname': state.screenValues[state.actualScreen]['selected_invers'], 'value': true});\n // }\n\n if (typeof state.screenValues[state.actualScreen]['income_accounts'] == 'number') {\n commit('updateScreenValuesFields', {'fieldname': 'income_accounts', 'value': state.screenValues[state.actualScreen]['income_accounts'].toString()});\n }\n\n if (typeof state.screenValues[state.actualScreen]['income_accounts'] == 'string') {\n let income_accounts_split = state.screenValues[state.actualScreen]['income_accounts'].split(',');\n let aux = [];\n income_accounts_split.forEach((acc) => {\n aux.push(acc.trim());\n });\n commit('updateScreenValuesFields', {'fieldname': 'income_accounts', 'value': aux});\n }\n\n if (typeof state.screenValues[state.actualScreen]['expens_accounts'] == 'number') {\n commit('updateScreenValuesFields', {'fieldname': 'expens_accounts', 'value': state.screenValues[state.actualScreen]['expens_accounts'].toString()});\n }\n if (typeof state.screenValues[state.actualScreen]['expens_accounts'] == 'string') {\n let expens_accounts_split = state.screenValues[state.actualScreen]['expens_accounts'].split(',');\n let aux = [];\n expens_accounts_split.forEach((acc) => {\n aux.push(acc.trim());\n });\n commit('updateScreenValuesFields', {'fieldname': 'expens_accounts', 'value': aux});\n }\n if (typeof state.screenValues[state.actualScreen]['retention_type'] == 'string' && state.screenValues[state.actualScreen]['retention_type'] == \"\") {\n commit('updateScreenValuesFields', {'fieldname': 'retention_type', 'value': 'no_applies'});\n }\n if (typeof state.screenValues[state.actualScreen]['identity_key'] == 'string' && state.screenValues[state.actualScreen]['identity_key'] == \"\") {\n commit('updateScreenValuesFields', {'fieldname': 'identity_key', 'value': 'na'});\n }\n if (typeof state.screenValues[state.actualScreen]['min_price'] == 'string' && state.screenValues[state.actualScreen]['min_price'] == \"\") {\n commit('updateScreenValuesFields', {'fieldname': 'min_price', 'value': null});\n }\n if (typeof state.screenValues[state.actualScreen]['max_price'] == 'string' && state.screenValues[state.actualScreen]['max_price'] == \"\") {\n commit('updateScreenValuesFields', {'fieldname': 'max_price', 'value': null});\n } \n\n let action = 'create'\n let err = getErrors({ state, rootGetters }, { currentCompany, userData, action }); \n if (!Object.keys(err).length) {\n client.post(url, state.screenValues[state.actualScreen]).then(response => {\n commit('updateScreenErrors', {});\n resolve(response);\n }).catch(err=>{\n var response = JSON.parse(err.request.response);\n commit('updateScreenErrors', getFirstError(response));\n reject();\n });\n } else {\n commit('updateScreenErrors', err);\n reject();\n }\n });\n}\n\nconst updateObject = ({ commit, state, dispatch, rootGetters }, { id, url, currentCompany, userData, applyChangesAllDocs, document_id }) => {\n return new Promise((resolve, reject)=> {\n \n commit('updateScreenErrors', {});\n // if (!Object.keys(err).length) {\n if (Object.keys(state.screenValues[state.actualScreen]).includes('expens_accounts') && typeof(state.screenValues[state.actualScreen]['expens_accounts']) == 'number') {\n commit('updateScreenValuesFields', { 'fieldname': 'expens_accounts', 'value': state.screenValues[state.actualScreen]['expens_accounts'].toString() });\n }\n if (Object.keys(state.screenValues[state.actualScreen]).includes('expens_accounts') && typeof(state.screenValues[state.actualScreen]['expens_accounts']) == 'string') {\n commit('updateScreenValuesFields', { 'fieldname': 'expens_accounts', 'value': state.screenValues[state.actualScreen]['expens_accounts'].split(',') });\n }\n if (Object.keys(state.screenValues[state.actualScreen]).includes('income_accounts') && typeof(state.screenValues[state.actualScreen]['income_accounts']) == 'number') {\n commit('updateScreenValuesFields', { 'fieldname': 'income_accounts', 'value': state.screenValues[state.actualScreen]['income_accounts'].toString() });\n }\n if (Object.keys(state.screenValues[state.actualScreen]).includes('income_accounts') && typeof(state.screenValues[state.actualScreen]['income_accounts']) == 'string') {\n commit('updateScreenValuesFields', { 'fieldname': 'income_accounts', 'value': state.screenValues[state.actualScreen]['income_accounts'].split(',') });\n }\n if (Object.keys(state.screenValues[state.actualScreen]).includes('min_price') && typeof state.screenValues[state.actualScreen]['min_price'] == 'string' && state.screenValues[state.actualScreen]['min_price'] == \"\") {\n commit('updateScreenValuesFields', {'fieldname': 'min_price', 'value': null});\n }\n if (Object.keys(state.screenValues[state.actualScreen]).includes('max_price') && typeof state.screenValues[state.actualScreen]['max_price'] == 'string' && state.screenValues[state.actualScreen]['max_price'] == \"\") {\n commit('updateScreenValuesFields', {'fieldname': 'max_price', 'value': null});\n } \n //podria actualitzar metadata 0s aqui per evitar watch (i faltaria cas canvi d'empresa)\n let boolean_fields = ['inversion_sujeto_pasivo_iva', 'inversion_sujeto_pasivo_igic', 'review', 'intracomunitario', 'extracomunitario', 'no_sujeta', 'bien_inversion', 'dry_0_percent'];\n boolean_fields.forEach((field) => {\n if(!state.screenValues[state.actualScreen][field]) {\n commit('updateScreenValuesFields', {'fieldname': field, 'value': false});\n }\n else{\n commit('updateScreenValuesFields', {'fieldname': field, 'value': true});\n }\n });\n\n //Set Iva check radiobuttons\n if (state.actualScreen == 'supplierScreenValues') {\n let checks_iva_fields = ['iva_igic_no_deducible', 'gasto_iva_parcial','iva_parcial','prorate']\n checks_iva_fields.forEach((field) => {\n let value = false;\n if(state.selectedIvaCheck == field) {\n value = true;\n }\n commit('updateScreenValuesFields', {'fieldname': field, 'value': value});\n });\n }\n\n\n // if(state.screenValues[state.actualScreen]['selected_invers']){\n // commit('updateScreenValuesFields', {'fieldname': state.screenValues[state.actualScreen]['selected_invers'], 'value': true});\n // }\n let action = 'update'\n let err = getErrors({ state, rootGetters }, { currentCompany, userData, action });\n\n // Fix para los autocomplete fields que cuando tienen valor null no se envian en el patch\n let autocomplete_fields = ['default_project', 'default_channel', 'default_actividad','default_expens_income_type']\n for (let field of autocomplete_fields) {\n if (field in state.screenValues[state.actualScreen] && state.screenValues[state.actualScreen][field] == null) {\n state.screenValues[state.actualScreen][field] = 'no_value';\n }\n }\n\n if (!Object.keys(err).length) {\n let params = state.screenValues[state.actualScreen];\n params['apply_changes_all_docs'] = applyChangesAllDocs;\n params['document_id'] = document_id;\n client.patch(url + id + '/', params).then(response => {\n commit('updateScreenErrors', {});\n resolve(response);\n }).catch(err=>{\n var response = JSON.parse(err.request.response);\n commit('updateScreenErrors', getFirstError(response));\n reject();\n });\n } else {\n commit('updateScreenErrors', err);\n reject();\n }\n });\n};\n\nconst getMassiveErrors = ({ state }, { params, currentCompany }) => {\n let err = {};\n if (params.hasOwnProperty('expens_accounts') && !params['expens_accounts']) {\n err['expens_accounts'] = 'El campo ' + 'Cuentas de gastos' + ' es obligatorio, no puede estar en blanco.';\n }\n if (params.hasOwnProperty('income_accounts') && !params['income_accounts']) {\n err['income_accounts'] = 'El campo ' + 'Cuentas de ingresos' + ' es obligatorio, no puede estar en blanco.';\n }\n if (!Object.keys(err).length) {\n if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('accounts_length')) {\n if (params.hasOwnProperty('expens_accounts')) {\n for (let i in params['expens_accounts']) {\n if (params['expens_accounts'][i].length != currentCompany['companydb_type']['params']['accounts_length']) {\n err['expens_accounts'] = 'Las Cuentas de gastos tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_length'] + ' caracteres.';\n }\n }\n }\n if (params.hasOwnProperty('income_accounts')) {\n for (let i in params['income_accounts']) {\n if (params['income_accounts'][i].length != currentCompany['companydb_type']['params']['accounts_length']) {\n err['income_accounts'] = 'Las Cuentas de ingresos tienen un máximo de ' + currentCompany['companydb_type']['params']['accounts_length'] + ' caracteres.';\n }\n }\n }\n if (params.hasOwnProperty('exc_expense_account')) {\n if (params['exc_expense_account'] && params['exc_expense_account'].length != currentCompany['companydb_type']['params']['accounts_length']) {\n err['exc_expense_account'] = 'La '+state.inputLabels['exc_expense_account']+' tiene un máximo de ' + currentCompany['companydb_type']['params']['accounts_length'] + ' caracteres.';\n }\n }\n } else {\n if (currentCompany['companydb_type']['params'] && currentCompany['companydb_type']['params'].hasOwnProperty('num_digit_is_max_length') && currentCompany['companydb_type']['params']['num_digit_is_max_length']) {\n if (params.hasOwnProperty('expens_accounts')) {\n for (let i in params['expens_accounts']) {\n if (params['expens_accounts'][i].length && params['expens_accounts'][i].length > currentCompany.num_digits) {\n err['expens_accounts'] = 'Las Cuentas de gastos para esta Empresa debe tener un máximo de ' + currentCompany.num_digits + ' caracteres.';\n }\n }\n }\n if (params.hasOwnProperty('income_accounts')) {\n for (let i in params['income_accounts']) {\n if (params['income_accounts'][i].length && params['income_accounts'][i].length > currentCompany.num_digits) {\n err['income_accounts'] = 'Las Cuentas de ingresos para esta Empresa debe tener un máximo de ' + currentCompany.num_digits + ' caracteres.';\n }\n }\n }\n if (params.hasOwnProperty('exc_expense_account')) {\n if (params['exc_expense_account'] && params['exc_expense_account'].length && params['exc_expense_account'].length > currentCompany['companydb_type']['params']['num_digit_is_max_length']) {\n err['exc_expense_account'] = 'La '+state.inputLabels['exc_expense_account']+' para esta Empresa debe tener un máximo de ' + currentCompany['companydb_type']['params']['num_digit_is_max_length'] + ' caracteres.';\n }\n }\n } else {\n if (params.hasOwnProperty('expens_accounts')) {\n for (let i in params['expens_accounts']) {\n if (params['expens_accounts'][i].length && params['expens_accounts'][i].length != currentCompany.num_digits) {\n err['expens_accounts'] = 'Las Cuentas de gastos para esta Empresa debe tener ' + currentCompany.num_digits + ' caracteres.';\n }\n }\n }\n if (params.hasOwnProperty('income_accounts')) {\n for (let i in params['income_accounts']) {\n if (params['income_accounts'][i].length && params['income_accounts'][i].length != currentCompany.num_digits) {\n err['income_accounts'] = 'Las Cuentas de ingresos para esta Empresa debe tener ' + currentCompany.num_digits + ' caracteres.';\n }\n }\n }\n if (params.hasOwnProperty('exc_expense_account')) {\n if (params['exc_expense_account'] && params['exc_expense_account'].length && params['exc_expense_account'].length != currentCompany.num_digits) {\n err['exc_expense_account'] = 'La '+state.inputLabels['exc_expense_account']+' para esta Empresa debe tener ' + currentCompany.num_digits + ' caracteres.';\n }\n }\n }\n }\n }\n if (params.hasOwnProperty('zip_code')) {\n let ignore_zipcode_error = false;\n if ((params.hasOwnProperty('extracomunitario') && params['extracomunitario']) || (params.hasOwnProperty('intracomunitario') && params['intracomunitario'])) {\n ignore_zipcode_error = true;\n }\n if (!/(^\\d{5}$)|(^\\d{5}-\\d{4}$)/.test(params['zip_code']) && !ignore_zipcode_error) {\n err['zip_code'] = 'El Código Postal introducido no tiene un formato correcto.';\n }\n }\n return err;\n}\n\nconst massiveUpdateObject = ({ commit, state, dispatch }, { url, ids, params, currentCompany }) => {\n return new Promise((resolve, reject)=> {\n commit('updateScreenErrors', {});\n let screen = '';\n if (state.actualScreen == 'customerListValues') {\n screen = 'customerScreenValues';\n }\n\n if (params.hasOwnProperty('expens_accounts') && typeof(params['expens_accounts']) == 'string') {\n params['expens_accounts'] = params['expens_accounts'].split(',');\n }\n if (params.hasOwnProperty('income_accounts') && typeof(params['income_accounts']) == 'string') {\n params['income_accounts'] = params['income_accounts'].split(',');\n }\n // let boolean_fields = ['inversion_sujeto_pasivo_iva', 'inversion_sujeto_pasivo_igic', 'review', 'iva_igic_no_deducible', 'intracomunitario', 'extracomunitario'];\n // boolean_fields.forEach((field) => {\n // if(params[field] && !state.screenValues[screen][field]) {\n // commit('updateScreenValuesFields', {'fieldname': field, 'value': false});\n // }\n // });\n\n let err = getMassiveErrors({ state }, { params, currentCompany });\n if (!Object.keys(err).length) {\n client.patch(url, { 'ids': ids, 'params': params }).then(response => {\n commit('updateScreenErrors', {});\n resolve(response);\n }).catch(err=>{\n console.error(err);\n var response = JSON.parse(err.request.response);\n commit('updateScreenErrors', getFirstError(response));\n reject();\n });\n } else {\n reject(err);\n }\n });\n};\n\nconst getFilters = ({ commit, state, dispatch }, filts) => {\n // commit(SET_DOCUMENT_OPTIONS_PAGE, 1)\n commit(SET_CURRENT_FILTERS, filts);\n return true;\n};\nconst generateFilters = ({ state, dispatch }) => {\n let filts = \"\";\n for (let filter in state.filtersData[state.actualScreen]) {\n if (state.filtersData[state.actualScreen][filter].value) {\n filts += \"&\" + filter + \"=\" + state.filtersData[state.actualScreen][filter].value;\n } \n }\n return dispatch(\"getFilters\", filts)\n};\nconst cleanFilters = ({ commit, dispatch }) => {\n commit(CLEAN_FILTERS);\n return dispatch(\"getFilters\", \"\");\n};\n\nconst exportCru = ({state}, { url, ids, send_filters, currentCompany, force }) => {\n return new Promise((resolve, reject)=> {\n let params = {};\n if (send_filters) {\n let filts = ''\n for (let filter in state.filtersData[state.actualScreen]) {\n if (state.filtersData[state.actualScreen][filter].value) {\n filts += \"&\" + filter + \"=\" + state.filtersData[state.actualScreen][filter].value;\n } \n }\n params['filters'] = filts;\n params['cdb'] = currentCompany.id;\n } else {\n params['ids'] = ids;\n }\n if (force) {\n params['force'] = force;\n }\n client.post(url, params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst deleteCru = ({}, { url, ids }) => {\n return new Promise((resolve, reject)=> {\n let params = { 'ids': ids };\n client.post(url, params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst get_identity_keys = ({ commit }) => {\n return new Promise((resolve, reject)=> {\n client.get('get_identity_key_choices/').then(resp => {\n commit(IDENTITY_KEY_CHOICES, resp.data.identity_keys);\n resolve();\n }).catch(err => {\n console.error(err);\n reject();\n });\n });\n};\n\nlet getAccountsAbortController = null;\n\nconst getAccounts = async ({ commit }, { companydb_id, text }) => {\n // Cancel·lar la petició anterior si encara és activa\n if (getAccountsAbortController) {\n getAccountsAbortController.abort();\n }\n\n // Crear un nou AbortController per a la nova petició\n getAccountsAbortController = new AbortController();\n const { signal } = getAccountsAbortController;\n\n try {\n let url = `accounts/?companydb=${companydb_id}`;\n if (text) {\n url += `&text__icontains=${text}`;\n }\n \n const response = await client.get(url, { signal });\n commit(SET_ACCOUNTS, response.data.results);\n return response.data.results;\n } catch (err) {\n if (err.name === 'CanceledError') {\n console.log('Petició cancel·lada');\n } else {\n console.error(`Error fetching accounts: ${err.message}`);\n throw err;\n }\n }\n};\n\nconst getAccounts2 = ({ commit }, { companydb_id, text }) => {\n return new Promise((resolve, reject)=> {\n let url = 'accounts/?companydb=' + companydb_id;\n if (text) {\n url += '&text__icontains=' + text;\n }\n url += \"&limit=50\" // Si no viene paginado a 10 y no salen todos resultados\n client.get(url).then(response => {\n resolve(response.data.results);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst getFacturae = ({ commit }, { companydb_id, text }) => {\n return new Promise((resolve, reject)=> {\n let url = 'facturae/?companydb=' + companydb_id;\n // if (text) {\n // url += '&text__icontains=' + text;\n // }\n client.get(url).then(response => {\n commit(SET_ACCOUNTS, response.data.results);\n resolve();\n }).catch(err => {\n reject(err);\n });\n });\n}\n\n\nconst actions = {\n getData,\n createObject,\n updateObject,\n getErrors,\n getFilters,\n generateFilters,\n cleanFilters,\n exportCru,\n deleteCru,\n massiveUpdateObject,\n get_identity_keys,\n updateScreenValuesArray,\n getAccounts,\n getAccounts2,\n getFacturae,\n\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","import { getField, updateField } from 'vuex-map-fields';\n\n\nconst state = () => ({\n show_contract: false,\n show_policy_privacity: false,\n show_data_treatment: false,\n});\n\n\nconst mutations = {\n SHOW_CONTRACT: (state) => {\n state.show_contract = true;\n },\n HIDE_CONTRACT: (state) => {\n state.show_contract = false;\n },\n SHOW_POLICY_PRIVACITY: (state, show) => {\n state.show_policy_privacity = show;\n },\n SHOW_DATA_TREATMENT: (state, show) => {\n state.show_data_treatment = show;\n },\n updateField,\n};\n\n\nconst getters = {\n show_contract: state => state.show_contract,\n show_policy_privacity: state => state.show_policy_privacity,\n show_data_treatment: state => state.show_data_treatment,\n getField\n}\n\n\nconst showContract = ({ commit }) => {\n commit('SHOW_CONTRACT', true);\n}\n\nconst hideContract = ({commit}) => {\n commit('HIDE_CONTRACT', false);\n}\n\nconst showPolicyPrivacity = ({ commit }) => {\n commit('SHOW_POLICY_PRIVACITY', true);\n}\n\nconst hidePolicyPrivacity = ({commit}) => {\n commit('SHOW_POLICY_PRIVACITY', false);\n}\n\nconst showDataTreatment = ({ commit }) => {\n commit('SHOW_DATA_TREATMENT', true);\n}\n\nconst hideDataTreatment = ({commit}) => {\n commit('SHOW_DATA_TREATMENT', false);\n}\n\nconst printContract = ({commit}) => {\n let dialog = document.getElementsByClassName('v-dialog--active')\n if (dialog[0]) {\n dialog[0].style.position = 'static';\n dialog[0].style.boxShadow = 'none';\n }\n let application = document.getElementsByClassName('v-application--wrap');\n if (application[0]) {\n application[0].style.display = 'none';\n }\n window.print()\n if (dialog[0]) {\n dialog[0].style.position = 'fixed';\n }\n if (application[0]) {\n application[0].style.display = 'flex';\n }\n}\n\nconst actions = {\n showContract,\n hideContract,\n showPolicyPrivacity,\n hidePolicyPrivacity,\n showDataTreatment,\n hideDataTreatment,\n printContract\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions\n}","import { getField, updateField } from 'vuex-map-fields';\nimport { client } from \"@/api/client\";\n\nconst SET_LOADING = 'SET_LOADING';\nconst SET_ORIGINAL_TEXT = 'SET_ORIGINAL_TEXT';\nconst SET_CONTENT = 'SET_CONTENT';\nconst SET_PARAMS = 'SET_PARAMS';\nconst SET_API = 'SET_API';\nconst SET_KIND = 'SET_KIND';\n\nconst MESSAGES = {\n expired: 'Tu contrato ha expirado o ha excedido el número máximo de documentos.',\n trial: '',\n renovation: ''\n\n}\n\nconst state = () => ({\n loading: false,\n original_text: '',\n content: '',\n kind: '',\n api: '',\n params: {}\n});\n\n\nconst mutations = {\n SET_LOADING: (state, loading) => {\n state.loading = loading;\n },\n SET_ORIGINAL_TEXT: (state, text) => {\n state.original_text = text;\n },\n SET_CONTENT: (state, content) => {\n state.content = content;\n },\n SET_PARAMS: (state, params) => {\n state.params = params;\n },\n SET_API: (state, api) => {\n state.api = api;\n },\n SET_KIND: (state, kind) => {\n state.kind = kind;\n },\n updateField,\n};\n\n\nconst getters = {\n loading: state => state.loading,\n content: state => state.content,\n getField\n}\n\n\nconst init = ({ commit, dispatch, state }, { params, kind, api }) => {\n commit(SET_LOADING, true);\n commit(SET_PARAMS, params);\n commit(SET_API, api);\n commit(SET_KIND, kind);\n let promise = new Promise((resolve, reject) => {\n client.get(state.api + '/' + state.kind).then((response) => {\n let content = response.data.content;\n commit(SET_ORIGINAL_TEXT, content);\n dispatch('updateContent');\n commit(SET_LOADING, false);\n resolve(response);\n }, (error) => {\n commit(SET_LOADING, false);\n reject()\n });\n });\n return promise\n}\n\nconst updateContent = ({ commit, dispatch, state }) => {\n let content = state.original_text;\n if (content) {\n Object.entries(state.params).forEach(element => {\n if (element[1]) {\n content = content.replaceAll(\"{{ \" + element[0] + \" }}\", element[1]);\n content = content.replaceAll(\"{{\" + element[0] + \"}}\", element[1]);\n } else {\n content = content.replaceAll(\"{{ \" + element[0] + \" }}\", \"\");\n content = content.replaceAll(\"{{\" + element[0] + \"}}\", \"\");\n }\n });\n commit(SET_CONTENT, content);\n }\n}\n\nconst setParams = ({ commit }, params) => {\n commit(SET_PARAMS, params); \n}\nconst updateParams = ({ commit, state, dispatch}, params) => {\n let newParams = Object.assign(state.params, params);\n commit(SET_PARAMS, newParams);\n dispatch('updateContent')\n}\n\n\nconst actions = {\n init,\n updateContent,\n setParams,\n updateParams\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions\n}","import { getField, updateField } from 'vuex-map-fields';\nimport { STATUS } from \"../../store/modules/me\";\nimport { client} from \"@/api/client\";\n\n\nconst SET_CONTRACT_DATE = 'SET_CONTRACT_DATE';\nconst SET_END_DATE = 'SET_END_DATE';\nconst SET_SHOW_CONTRACT_MODAL = 'SET_SHOW_CONTRACT_MODAL';\nconst SET_SERVICE_CONTRACT = 'SET_SERVICE_CONTRACT';\nconst SET_CONTRACT_ACCEPTED = 'SET_CONTRACT_ACCEPTED';\nconst SET_POLICY_ACCEPTED = 'SET_POLICY_ACCEPTED';\nconst SET_CONTRACT_TYPE = 'SET_CONTRACT_TYPE';\nconst SET_CONTRACT_TYPES = 'SET_CONTRACT_TYPES';\nconst SET_PRICE = 'SET_PRICE';\nconst SET_NUM_DOCUMENTS = 'SET_NUM_DOCUMENTS';\nconst SET_WIDTH = 'SET_WIDTH';\nconst SET_PERSISTENT = 'SET_PERSISTENT';\nconst SET_CONTRACT = 'SET_CONTRACT';\nconst SET_ERROR_PROMOTIONAL_CODE = 'SET_ERROR_PROMOTIONAL_CODE';\nconst SET_CONTRACT_MODAL_MSG = 'SET_CONTRACT_MODAL_MSG';\nconst SET_CONTRACT_MODAL_DISTRIBUTOR = 'SET_CONTRACT_MODAL_DISTRIBUTOR';\nconst SET_CONTRACT_MODAL_FACTURAE_CLIENT = 'SET_CONTRACT_MODAL_FACTURAE_CLIENT';\n\n\nconst state = () => ({\n end_date: false,\n show_contract_modal: false,\n contract_modal_msg: '',\n contract_modal_distributor: false,\n contract_modal_facturae_client: false,\n persistent: false,\n contract_date: false,\n contract_types: [],\n num_documents: 0,\n price: 0,\n width: '37%',\n contract: undefined,\n form: {\n service_contract: false,\n contract_accepted: false,\n policy_accepted: false,\n contract_type: undefined,\n promotional_code: '',\n status: STATUS.ACTIVE,\n valid: false,\n error_promotional_code: false,\n error_promotional_code_list: ''\n\n },\n message_error: {\n promotional_code: 'El código promocional no es válido.'\n }\n});\n\n\nconst mutations = {\n [SET_CONTRACT_DATE]: (state, end_date) => {\n state.contract_date = end_date;\n },\n [SET_END_DATE]: (state, end_date) => {\n state.end_date = end_date;\n },\n [SET_SHOW_CONTRACT_MODAL]: (state, show) => {\n state.show_contract_modal = show;\n },\n [SET_SERVICE_CONTRACT]: (state, service_contract) => {\n state.form.service_contract = service_contract;\n },\n [SET_CONTRACT_ACCEPTED]: (state, contract_accepted) => {\n state.form.contract_accepted = contract_accepted;\n },\n [SET_POLICY_ACCEPTED]: (state, policy_accepted) => {\n state.form.policy_accepted = policy_accepted;\n },\n [SET_CONTRACT_TYPE]: (state, contract_type) => {\n state.form.contract_type = contract_type;\n },\n [SET_CONTRACT_TYPES]: (state, contract_types) => {\n state.contract_types = contract_types;\n },\n [SET_NUM_DOCUMENTS]: (state, num_documents) => {\n state.num_documents = num_documents;\n },\n [SET_PRICE]: (state, price) => {\n state.price = price;\n },\n [SET_PERSISTENT]: (state, persistent) => {\n state.persistent = persistent;\n }, \n [SET_WIDTH]: (state, width) => {\n state.width = width;\n },\n [SET_CONTRACT]: (state, contract) => {\n state.contract = contract;\n },\n [SET_ERROR_PROMOTIONAL_CODE]: (state, error_promotional_code) => {\n state.form.error_promotional_code = error_promotional_code;\n state.form.error_promotional_code_list = (error_promotional_code) ? error_promotional_code : '';\n },\n [SET_CONTRACT_MODAL_MSG]: (state, msg) => {\n state.contract_modal_msg = msg;\n },\n [SET_CONTRACT_MODAL_DISTRIBUTOR]: (state, distributor) => {\n state.contract_modal_distributor = distributor;\n },\n [SET_CONTRACT_MODAL_FACTURAE_CLIENT]: (state, facturae_client) => {\n state.contract_modal_facturae_client = facturae_client;\n },\n updateField,\n};\n\n\nconst getters = {\n end_date: state => state.end_date,\n contract: state => state.contract,\n show_contract_modal: state => state.show_contract_modal,\n contract_modal_msg: state => state.contract_modal_msg,\n contract_modal_distributor: state => state.contract_modal_distributor,\n contract_modal_facturae_client: state => state.contract_modal_facturae_client,\n promotional_code: state => state.form.promotional_code,\n service_contract: state => state.form.service_contract,\n contract_accepted: state => state.form.contract_accepted,\n policy_accepted: state => state.form.policy_accepted,\n contract_type: state => state.form.contract_type,\n num_documents: state => state.num_documents,\n price: state => state.price,\n contract_date: state => state.contract_date,\n persistent: state => state.persistent,\n width: state => state.width,\n form: state => state.form,\n getField\n}\n\nconst calculateEndDate = ({ commit }) => {\n let end_date = '';\n const today = new Date();\n const dd = String(today.getDate()).padStart(2, '0');\n const mm = String(today.getMonth() + 1).padStart(2, '0');\n const yyyy = today.getFullYear();\n end_date = dd + '/' + mm + '/' + (yyyy + 1);\n commit(SET_END_DATE, end_date);\n}\n\nconst calculateContractDate = ({ commit }) => {\n let months = ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'];\n let now = new Date();\n let day = now.getDate();\n let year = now.getFullYear();\n let month = now.getMonth()\n let contract_date = day + ' de ' + months[month] + ' de ' + year;\n commit(SET_CONTRACT_DATE, contract_date)\n}\n\nconst selectPlan = ({ commit, dispatch, state}, contract_type) => {\n commit(SET_CONTRACT_TYPE, contract_type);\n dispatch('updateContractInfo');\n dispatch('legal_contract/updateParams', {docs_num: state.num_documents, price: state.price}, { root: true })\n}\n\nconst setServiceContract = ({ commit }, service_contract) => {\n commit(SET_SERVICE_CONTRACT, service_contract)\n}\n\nconst fillForm = ({ commit, dispatch }, userData) => {\n commit(SET_CONTRACT_ACCEPTED, userData.contract_accepted);\n commit(SET_POLICY_ACCEPTED, userData.policy_accepted);\n commit(SET_CONTRACT_TYPE, userData.contract_type);\n for (let i in userData.contracts) {\n if (userData.contracts[i]['is_actualizable']) {\n let contract = userData.contracts[i];\n commit(SET_CONTRACT, contract);\n }\n }\n dispatch('updateContractInfo');\n\n}\n\nconst setContractTypes = ({ commit, dispatch }, contract_types) => {\n commit(SET_CONTRACT_TYPES, contract_types);\n dispatch('updateContractInfo');\n}\n\nconst updateContractInfo = ({ commit, state }) => {\n if (state.contract_types.length > 0 && state.form.contract_type) {\n for (var i = 0; i < state.contract_types.length; i++) {\n if (state.contract_types[i].id == state.form.contract_type) {\n commit(SET_PRICE, state.contract_types[i].price);\n commit(SET_NUM_DOCUMENTS, state.contract_types[i].docs_num);\n break;\n }\n }\n }\n}\n\nconst closeContractModal = ({ commit }) => {\n commit(SET_SHOW_CONTRACT_MODAL, false);\n commit(SET_CONTRACT_MODAL_DISTRIBUTOR, false);\n commit(SET_CONTRACT_MODAL_FACTURAE_CLIENT, false);\n};\n\nconst openContractModal = ({ commit }, {msg, distributor, facturae_client}) => { \n commit(SET_SHOW_CONTRACT_MODAL, true);\n commit(SET_CONTRACT_MODAL_MSG, msg);\n commit(SET_CONTRACT_MODAL_DISTRIBUTOR, distributor);\n commit(SET_CONTRACT_MODAL_FACTURAE_CLIENT, facturae_client);\n}\n\nconst updateScreenWidth = ({ commit }) => {\n if (window.innerWidth > 1200) {\n commit(SET_WIDTH, '37%');\n commit(SET_PERSISTENT, false);\n } else if (window.innerWidth > 950) {\n commit(SET_WIDTH, '50%');\n commit(SET_PERSISTENT, false);\n } else {\n commit(SET_WIDTH, '100%');\n commit(SET_PERSISTENT, true);\n }\n}\n\nconst contractService = async ({ commit, dispatch, state },user_id) => {\n// let callback = (response) => {\n// let price = response['price'];\n// dispatch('payerContract', price);\n// };\n// dispatch('contracts/setServicePlan', state.form.contract_type, { root: true });\n// dispatch('contracts/setPromotionalCode', state.form.promotional_code, { root: true });\n// if (state.contract.is_trial) {\n// dispatch('contracts/upgradeTrialContract', {}, { root: true }).then(callback)\n// } else {\n// dispatch('contracts/createContract', {}, { root: true }).then(callback)\n// }\n}\n\nconst payerContract = ({ commit }, price) => {\n let payment_params = new URLSearchParams();\n payment_params.append(\"amount\", price)\n client.get('get_paycomet_uri', { params: payment_params }).then((response) => {\n let paycometURI = response['data']['uri']\n window.open(paycometURI, \"_self\")\n })\n} \n\nconst setErrorPromotionalCode = ({ commit, state }, error_promotional_code) => {\n if (error_promotional_code) {\n commit(SET_ERROR_PROMOTIONAL_CODE, state.message_error.promotional_code);\n } else {\n commit(SET_ERROR_PROMOTIONAL_CODE, error_promotional_code);\n }\n}\n\nconst showPrices = ({ commit }) => {\n const url = 'https://inmatic.ai/tarifas/'\n window.open(url, '_blank');\n} \n\n\nconst actions = {\n calculateContractDate,\n calculateEndDate,\n selectPlan,\n setServiceContract,\n setContractTypes,\n setErrorPromotionalCode,\n updateContractInfo,\n fillForm,\n openContractModal,\n closeContractModal,\n updateScreenWidth,\n contractService, \n payerContract,\n showPrices\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions\n}","import { getField, updateField } from 'vuex-map-fields';\n\n\nconst SET_SHOW_MODAL = 'SET_SHOW_MODAL';\n\n\nconst state = () => ({\n show_bank_rules_modal: false,\n persistent: false,\n \n});\n\n\nconst mutations = {\n [SET_SHOW_MODAL]: (state, show) => {\n state.show_bank_rules_modal = show;\n },\n updateField,\n};\n\n\nconst getters = {\n show_bank_rules_modal: state => state.show_bank_rules_modal,\n persistent: state => state.persistent,\n getField\n}\n\nconst openPopup = ({ commit }) => {\n commit(SET_SHOW_MODAL, true);\n};\n\nconst closePopup = ({ commit }) => {\n commit(SET_SHOW_MODAL, false)\n};\n\nconst actions = {\n openPopup,\n closePopup,\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions\n}","import { getField, updateField } from 'vuex-map-fields';\nimport { client } from \"@/api/client\";\nimport { jobs } from '../../api/jobs.js';\nimport axios from \"axios\";\n\nexport const SET_KPIS_DATA = \"SET_KPIS_DATA\";\nexport const SET_ASYNC_JOB_ID = \"SET_ASYNC_JOB_ID\";\nexport const SET_DOWNLOAD_JOB_STATE = \"SET_DOWNLOAD_JOB_STATE\";\nexport const SET_KPI_DOC_DATA_ORDERING = \"SET_KPI_DOC_DATA_ORDERING\";\nexport const SET_TABLE_ASYNC_JOB_ID = \"SET_TABLE_ASYNC_JOB_ID\";\nexport const SET_TABLE_JOB_STATE = \"SET_TABLE_JOB_STATE\";\n\nexport const NEXT_KPI_DOC_ORDER = \"NEXT_KPI_DOC_ORDER\";\nexport const SET_KPI_DOC_ORDER = \"SET_KPI_DOC_ORDER\";\nexport const SET_KPI_DOC_DATE_TO_ORDER = \"SET_KPI_DOC_DATE_TO_ORDER\";\nexport const REORDER_KPI_DOC_DATA_ORDERING = \"REORDER_KPI_DOC_DATA_ORDERING\";\nexport const SET_KPI_WRITTEN_DATE = \"SET_KPI_WRITTEN_DATE\";\nexport const SET_KPI_ID = \"SET_KPI_ID\";\n\nconst state = () => ({\n kpi: {text: 'Documentos', value:'get_kpis_document_data', row_header:'Usuario', excel:'download_excel_kpis_document_data', aj: true},\n kpi_items: [\n // {text: 'Total de documentos', value:'get_kpis_data', row_header:'Usuario', excel:'download_excel_kpis_data'},\n // {text: 'Porcentaje de documentos procesados correctamente', value:'get_kpis_processed_correctly_percent', row_header:'Usuario', excel:'download_excel_kpis_processed_correctly_percent'},\n {text: 'Documentos', value:'get_kpis_document_data', row_header:'Usuario', excel:'download_excel_kpis_document_data', aj: true},\n {text: 'Desglose Errores', value:'get_kpis_doc_errors', aj: false},\n {text: 'Leads', value:'get_kpis_leads_data', row_header:'Estado', excel:'download_excel_kpis_leads_data', aj: true},\n {text: 'Estado de cada training simulado en cada red neuronal', value: 'get_kpis_simulations_data', aj: true},\n {text: 'Nº de simulación en por estado en cada red neuronal', value: 'get_kpis_simulation_states_count_data', aj: true},\n {text: 'Porcentaje de usuarios por cada tipo de Conector', value: 'get_kpis_percent_cdbtype', aj: false},\n {text: 'Usuarios que llevan mucho sin subir un documento', value: 'get_kpis_user_without_recent_login', aj: false},\n ],\n kpis_data: {},\n trimester: '',\n trimester_items: [\n {text: 'Q1', value:'-01-01'},\n {text: 'Q2', value:'-04-01'},\n {text: 'Q3', value:'-07-01'},\n {text: 'Q4', value:'-10-01'},\n ],\n year: '',\n year_items: ['2020', '2021', '2022', '2023'],\n\n downloadJobState: 'done',\n asyncJobId: 0,\n\n tableJobState: 'done',\n tableAsyncJobId: 0,\n\n kpi_doc_order: '',\n kpi_doc_date_to_order: '',\n kpi_doc_order_symbols: {\n 'ASC': '▲',\n 'DESC': '▼',\n '': '',\n },\n kpi_doc_data_ordering: [],\n\n docs_values: [\n {text: 'Documentos', value:'text'},\n {text: 'Entrenamiento', value:'training'},\n ],\n show_doc: 'text',\n kpi_written_date: '',\n company: {},\n kpi_filters: {\n 'docs': {\n 'show_trials': true,\n 'show_staff': false,\n 'show_unactive': false,\n },\n 'leads': {},\n 'simulations_data': {},\n 'simulation_states': {},\n },\n\n kpi_id: 0,\n date_ini: '',\n date_end: '',\n});\n\nconst getters = {\n getField,\n}\n\nconst mutations = {\n updateField,\n [SET_KPIS_DATA](state, kpis_data) {\n state.kpis_data = kpis_data;\n },\n [SET_ASYNC_JOB_ID](state, asyncJobId) {\n state.asyncJobId = asyncJobId;\n },\n [SET_DOWNLOAD_JOB_STATE](state, downloadJobState) {\n state.downloadJobState = downloadJobState;\n },\n [SET_TABLE_ASYNC_JOB_ID](state, tableAsyncJobId) {\n state.tableAsyncJobId = tableAsyncJobId;\n },\n [SET_TABLE_JOB_STATE](state, tableJobState) {\n state.tableJobState = tableJobState;\n },\n [SET_KPI_DOC_DATA_ORDERING](state, order_data) {\n state.kpi_doc_data_ordering = order_data;\n },\n\n [NEXT_KPI_DOC_ORDER](state) {\n if (state.kpi_doc_order == '') {\n state.kpi_doc_order = 'DESC';\n } else if (state.kpi_doc_order == 'DESC') {\n state.kpi_doc_order = 'ASC';\n } else if (state.kpi_doc_order == 'ASC') {\n state.kpi_doc_order = '';\n } \n },\n [SET_KPI_DOC_ORDER](state, order) {\n state.kpi_doc_order = order;\n },\n [SET_KPI_DOC_DATE_TO_ORDER](state, week) {\n state.kpi_doc_date_to_order = week;\n },\n [REORDER_KPI_DOC_DATA_ORDERING](state) {\n state.kpi_doc_data_ordering.sort(function(a,b) {\n let user_a = Object.keys(a)[0]\n let user_b = Object.keys(b)[0]\n if (user_a != 'Total' && user_b != 'Total') {\n if (state.kpi_doc_order == 'ASC') {\n return a[user_a]['% de carga'][state.kpi_doc_date_to_order][state.show_doc] - b[user_b]['% de carga'][state.kpi_doc_date_to_order][state.show_doc];\n } else if (state.kpi_doc_order == 'DESC') {\n return b[user_b]['% de carga'][state.kpi_doc_date_to_order][state.show_doc] - a[user_a]['% de carga'][state.kpi_doc_date_to_order][state.show_doc];\n } else {\n if (user_a < user_b) {\n return -1;\n } else if (user_a > user_b) {\n return 1;\n }\n }\n } \n return 0;\n });\n },\n [SET_KPI_WRITTEN_DATE](state, kpi_written_date) {\n state.kpi_written_date = kpi_written_date;\n },\n [SET_KPI_ID](state, kpi_id) {\n state.kpi_id = kpi_id;\n },\n}\n\nconst getKpis = ({ commit, state, dispatch }) => {\n return new Promise((resolve, reject)=> {\n let filters = '';\n if (['get_kpis_document_data', 'get_kpis_leads_data'].includes(state.kpi.value) && state.trimester && state.year) {\n filters = '?date=' + state.year + state.trimester;\n } else if (['get_kpis_simulations_data', 'get_kpis_simulation_states_count_data'].includes(state.kpi.value) && state.company && state.company) {\n filters = '?companydb_id=' + state.company.id;\n } else if (['get_kpis_percent_cdbtype'].includes(state.kpi.value) && state.date_ini && state.date_end) {\n filters = '?date_ini=' + state.date_ini + '&date_end=' + state.date_end;\n } else if (['get_kpis_user_without_recent_login'].includes(state.kpi.value) && state.date_ini) {\n filters = '?date=' + state.date_ini\n }\n commit(SET_KPI_DOC_ORDER, '');\n commit(SET_KPI_DOC_DATE_TO_ORDER, '');\n client.get(state.kpi['value'] + '/' + filters).then(response => {\n if (state.kpi['aj']){\n commit(SET_TABLE_ASYNC_JOB_ID, response['data']['AsyncJob']);\n commit(SET_TABLE_JOB_STATE, \"running\");\n } else {\n commit(SET_KPIS_DATA, response.data);\n }\n resolve();\n }).catch(err=>{\n console.error(err)\n reject();\n });\n });\n}\n\nconst downloadExcel = ({ commit, state }) => {\n return new Promise((resolve, reject)=> {\n client.get(state.kpi['excel'] + '/').then(response => {\n commit(SET_ASYNC_JOB_ID, response['data']['AsyncJob']);\n commit(SET_DOWNLOAD_JOB_STATE, \"running\");\n resolve();\n }).catch(err=>{\n console.log(err)\n reject();\n });\n });\n}\n\nconst orderDocKpi = ({ commit }, week) => {\n commit(NEXT_KPI_DOC_ORDER);\n commit(SET_KPI_DOC_DATE_TO_ORDER, week);\n commit(REORDER_KPI_DOC_DATA_ORDERING);\n}\n\nconst tableJobDone = async ({ commit, state, dispatch }) => {\n const response = await jobs.getJob({ id: state.tableAsyncJobId });\n let url = response['data']['output_info']['data']\n commit(SET_KPI_ID, response['data']['output_info']['kpi']);\n commit(SET_KPI_WRITTEN_DATE, response['data']['output_info']['written']);\n commit(SET_KPIS_DATA, {});\n axios({\n method:'get',\n url: url,\n responseType: 'arraybuffer'\n }).then(resp => {\n let decodedString = new TextDecoder().decode(new Uint8Array(resp.data));\n let data = JSON.parse(decodedString);\n commit(SET_KPIS_DATA, data);\n if (state.kpi['text'] == 'Documentos') {\n let data_order = [];\n for (let user in data) {\n let item = {};\n item[user] = { '% de carga': {} };\n for (let week in data[user]['% de carga']) {\n item[user]['% de carga'][week] = {};\n item[user]['% de carga'][week]['text'] = parseFloat(data[user]['% de carga'][week]['text'].substring(0, data[user]['% de carga'][week]['text'].length - 2));\n try {\n item[user]['% de carga'][week]['training'] = parseFloat(data[user]['% de carga'][week]['training'].substring(0, data[user]['% de carga'][week]['training'].length - 2));\n } catch {\n item[user]['% de carga'][week]['training'] = 0;\n }\n }\n if (user != 'Total') {\n item[user]['is_staff'] = data[user]['is_staff']\n item[user]['is_trial'] = data[user]['is_trial']\n item[user]['is_active'] = data[user]['is_active']\n }\n \n data_order.push(item);\n }\n commit(SET_KPI_DOC_DATA_ORDERING, data_order);\n if (Object.keys(data['Total']['Cargados']).includes('Trimestre')) {\n dispatch(\"orderDocKpi\", \"Trimestre\");\n }\n }\n // resolve();\n }).catch(err => {\n console.debug(err)\n // reject();\n });\n}\n\nconst getHistogram = async ({}, url) => {\n return new Promise((resolve, reject)=> {\n client.get(url).then(response => {\n resolve(response.data);\n })\n // .catch(err => {\n // console.debug(err)\n // reject();\n // });\n });\n}\n\nconst deleteSimulations = ({}, params) => {\n return new Promise((resolve, reject) => {\n client.post('delete_simulations/', params).then(resp => {\n resolve(resp);\n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst actions = {\n getKpis,\n downloadExcel,\n orderDocKpi,\n tableJobDone,\n getHistogram,\n deleteSimulations,\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","import { getField, updateField } from 'vuex-map-fields';\nimport { client } from \"@/api/client\";\n\nexport const SET_NETWORK_DRIVES = \"SET_NETWORK_DRIVES\";\n\nconst state = () => ({\n headers: [\n {\n text: 'Letra',\n align: 'start',\n value: 'letter',\n sortable: false,\n },\n {\n text: 'Ruta',\n value: 'path',\n sortable: false,\n },\n {\n text: 'Usuario',\n value: 'user',\n sortable: false,\n },\n ],\n network_drive_id: '',\n path: '',\n letter: '',\n user: '',\n password: '',\n network_drives: [],\n});\n\nconst getters = {\n getField,\n}\n\nconst mutations = {\n updateField,\n [SET_NETWORK_DRIVES](state, network_drives) {\n state.network_drives = network_drives;\n },\n}\n\nconst getNetworkDrives = ({ commit }) => {\n return new Promise((resolve, reject) => {\n client.get('get_network_drives/').then(response => {\n // this.network_drives = response.data['results'];\n commit(SET_NETWORK_DRIVES, response.data['results']);\n resolve();\n }).catch(err => {\n console.error(err);\n reject();\n });\n });\n}\n\nconst createNetworkDrive = ({ state }) => {\n return new Promise((resolve, reject) => {\n let params = {\n 'path': state.path,\n 'letter': state.letter + ':',\n 'user': state.user,\n 'password': state.password,\n };\n client.post('create_network_drive/', params).then(() => {\n // this.closeDialog();\n // this.getNetworkDrives();\n resolve();\n }).catch(err => {\n console.error(err);\n reject();\n });\n });\n}\n\nconst updateNetworkDrive = ({ state }) => {\n return new Promise((resolve, reject) => {\n let params = {\n 'id': state.network_drive_id,\n 'path': state.path,\n 'letter': state.letter + ':',\n 'user': state.user,\n 'password': state.password,\n };\n client.patch('update_network_drive/', params).then(() => {\n // this.closeDialog();\n // this.getNetworkDrives();\n resolve();\n }).catch(err => {\n console.error(err);\n reject();\n });\n });\n}\n\nconst actions = {\n getNetworkDrives,\n createNetworkDrive,\n updateNetworkDrive,\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","import { getField, updateField } from 'vuex-map-fields';\nimport { client } from \"@/api/client\";\nimport axios from \"axios\";\n\nexport const SET_CSV_ONE_LINE_HEADERS = \"SET_CSV_ONE_LINE_HEADERS\";\nexport const SET_CSV_ONE_LINE_HIDDEN_HEADERS = \"SET_CSV_ONE_LINE_HIDDEN_HEADERS\";\nexport const SET_CSV_MULTI_LINE_HEADERS = \"SET_CSV_MULTI_LINE_HEADERS\";\nexport const SET_CSV_MULTI_LINE_HIDDEN_HEADERS = \"SET_CSV_MULTI_LINE_HIDDEN_HEADERS\";\nexport const SET_CSV_ONE_LINE_FIELD_VALUES = \"SET_CSV_ONE_LINE_FIELD_VALUES\";\nexport const SET_EXCEL_HEADERS = \"SET_EXCEL_HEADERS\";\nexport const SET_EXCEL_HIDDEN_HEADERS = \"SET_EXCEL_HIDDEN_HEADERS\";\nexport const FIRST_EXCEL_CALL = \"FIRST_EXCEL_CALL\";\n\nconst state = () => ({\n csv_one_line_headers: [],\n csv_one_line_hidden_headers: [],\n csv_multi_line_headers: [],\n csv_multi_line_hidden_headers: [],\n excel_headers:[],\n excel_hidden_headers:[],\n first_excel_call:true,\n csv_one_line_field_values: {\"kind\": { \"in_invoice\": \"\", \"out_invoice\": \"\" }},\n});\n\nconst getters = {\n getField,\n}\n\nconst mutations = {\n updateField,\n [SET_CSV_ONE_LINE_HEADERS](state, headers) {\n state.csv_one_line_headers = headers;\n },\n [SET_CSV_ONE_LINE_HIDDEN_HEADERS](state, headers) {\n state.csv_one_line_hidden_headers = headers;\n },\n [SET_CSV_MULTI_LINE_HEADERS](state, headers) {\n state.csv_multi_line_headers = headers;\n },\n [SET_CSV_MULTI_LINE_HIDDEN_HEADERS](state, headers) {\n state.csv_multi_line_hidden_headers = headers;\n },\n [SET_CSV_ONE_LINE_FIELD_VALUES](state, values) {\n state.csv_one_line_field_values = values;\n },\n [SET_EXCEL_HEADERS](state, headers) {\n state.excel_headers = headers;\n },\n [SET_EXCEL_HIDDEN_HEADERS](state, headers) {\n state.excel_hidden_headers = headers;\n },\n [FIRST_EXCEL_CALL](state) {\n state.first_excel_call = false;\n },\n}\n\nconst getColumnsCsvOneLine = ({ commit, rootGetters }) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/get_setting_csv/csv_facturas_one_line_headers/' + rootGetters[\"me/userData\"]['user'] + '/';\n client.get(url).then(resp => {\n commit(SET_CSV_ONE_LINE_HEADERS, resp.data['params']['show']);\n commit(SET_CSV_ONE_LINE_HIDDEN_HEADERS, resp.data['params']['hide']);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n};\n \nconst setColumnsCsvOneLine = ({ state, rootGetters }) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/set_setting/csv_facturas_one_line_headers/' + rootGetters[\"me/userData\"]['user'] + '/';\n let params = { 'payload': { 'show': state.csv_one_line_headers, 'hide': state.csv_one_line_hidden_headers }};\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst getColumnsCsvMultiLine = ({ commit, rootGetters }) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/get_setting/csv_facturas_multi_line_headers/' + rootGetters[\"me/userData\"]['user'] + '/';\n client.get(url).then(resp => {\n commit(SET_CSV_MULTI_LINE_HEADERS, resp.data['params']['show']);\n commit(SET_CSV_MULTI_LINE_HIDDEN_HEADERS, resp.data['params']['hide']);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n};\n \nconst setColumnsCsvMultiLine = ({ state, rootGetters }) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/set_setting/csv_facturas_multi_line_headers/' + rootGetters[\"me/userData\"]['user'] + '/';\n let params = { 'payload': { 'show': state.csv_multi_line_headers, 'hide': state.csv_multi_line_hidden_headers }};\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\nconst getColumnsExcel = ({ commit, state,rootGetters },cdb_id) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/get_setting/excel_headers/' + rootGetters[\"me/userData\"]['user'] + '/';\n if (cdb_id){\n url += cdb_id + '/';\n }\n client.get(url).then(resp => {\n let show = resp.data['params']['show']\n let hide = resp.data['params']['hide']\n if (state.first_excel_call && rootGetters['me/userData']['available_features']['feature_iva_agrario_pesca_tabaco']){\n let found = false\n for(let i=0;i {\n console.debug(err);\n reject(err);\n });\n });\n};\nconst setColumnsExcel = ({ state, rootGetters },cdb_id) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/set_setting/excel_headers/' + rootGetters[\"me/userData\"]['user'] + '/';\n if (cdb_id){\n url += cdb_id + '/';\n }\n let params = { 'payload': { 'show': state.excel_headers, 'hide': state.excel_hidden_headers }};\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n};\nconst getFieldValuesCsvOneLine = ({ commit, rootGetters },cdb_id) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/get_setting/csv_facturas_one_line_configure_field_values/' + rootGetters[\"me/userData\"]['user'] + '/';\n if (cdb_id){\n url += cdb_id + '/';\n }\n client.get(url).then(resp => {\n commit(SET_CSV_ONE_LINE_FIELD_VALUES, resp.data['params']);\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst setFieldValuesCsvOneLine = ({ state, rootGetters },cdb_id) => {\n return new Promise((resolve, reject) => {\n let url = 'settings/set_setting/csv_facturas_one_line_configure_field_values/' + rootGetters[\"me/userData\"]['user'] + '/';\n if (cdb_id){\n url += cdb_id + '/';\n }\n let params = { 'payload': state.csv_one_line_field_values };\n client.patch(url, params).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject(err);\n });\n });\n}\n\nconst setDiezsoftwareCredentials = ({ state, rootGetters }, { softwareType, user, password }) => new Promise((resolve, reject) => {\n const url = `update_profile_default_settings/`\n\n const params = {\n diezsoftware: {\n software_type: {\n is_enabled: true,\n value: softwareType\n },\n user: {\n is_enabled: true,\n value: user\n },\n password: {\n is_enabled: true,\n value: password\n }\n }\n }\n\n client.patch(url, params)\n .then((res) => {\n resolve(res) })\n .catch(err => { reject(err) })\n})\n\nconst setGlasofCredentials = ({ state, rootGetters }, { automatic_upload, avoid_duplicate_lines, avoid_duplicate_lines_keys, order_lines, order_lines_keys }) => new Promise((resolve, reject) => {\n const url = `update_profile_default_settings/`\n\n const params = {\n glasof: {\n automatic_upload: {\n is_enabled: true,\n value: automatic_upload\n },\n avoid_duplicate_lines: {\n is_enabled: true,\n value: avoid_duplicate_lines\n },\n avoid_duplicate_lines_keys: {\n is_enabled: true,\n value: avoid_duplicate_lines_keys\n },\n order_lines: {\n is_enabled: true,\n value: order_lines\n },\n order_lines_keys: {\n is_enabled: true,\n value: order_lines_keys\n }\n }\n }\n\n client.patch(url, params)\n .then((res) => {\n resolve(res) })\n .catch(err => { reject(err) })\n})\n\nconst setGoldenCredentials = ({ state, rootGetters }, \n\n { \n export_in_company_folder,\n public_folder,\n db_path,\n db_user,\n db_password,\n db_host,\n db_extension,\n export_folder\n }\n ) => new Promise((resolve, reject) => {\n const url = `update_profile_default_settings/`\n console.log(export_in_company_folder);\n const params = {\n goldennet: {\n export_in_company_folder: {\n is_enabled: true,\n value: export_in_company_folder\n },\n public_folder: {\n is_enabled: true,\n value: public_folder\n },\n con_db_path: {\n is_enabled: true,\n value: db_path\n },\n db_user: {\n is_enabled: true,\n value: db_user\n },\n db_password: {\n is_enabled: true,\n value: db_password\n },\n db_host: {\n is_enabled: true,\n value: db_host\n },\n db_extension: {\n is_enabled: true,\n value: db_extension\n },\n export_folder: {\n is_enabled: true,\n value: export_folder\n },\n \n }\n }\n\n client.patch(url, params)\n .then((res) => {\n resolve(res) })\n .catch(err => { reject(err) })\n})\n\n\nconst setA3Directories = ({ state }, { directory, exportFolder, automatic_upload_invoice, automatic_upload_transaction }) => new Promise((resolve, reject) => {\n const url = 'update_profile_default_settings/'\n\n const params = {\n con_directory_a3: {\n is_enabled: Boolean(directory),\n value: directory,\n },\n a3: {\n files_directory: {\n is_enabled: Boolean(exportFolder),\n value: exportFolder\n },\n automatic_upload_invoice: {\n is_enabled: Boolean(automatic_upload_invoice),\n value: automatic_upload_invoice\n },\n automatic_upload_transaction: {\n is_enabled: Boolean(automatic_upload_transaction),\n value: automatic_upload_transaction\n }\n }\n }\n\n client.patch(url, params)\n .then(() => { resolve() })\n .catch(err => { reject(err) })\n})\n\nconst setAplifisaDirectories = ({ state }, { directory, port, dll }) => new Promise((resolve, reject) => {\n const url = 'update_profile_default_settings/'\n\n const params = {\n con_directory_aplifisa: {\n is_enabled: Boolean(directory),\n value: directory,\n },\n con_port_aplifisa: {\n is_enabled: Boolean(port),\n value: port,\n },\n con_dll_aplifisa: {\n is_enabled: Boolean(dll),\n value: dll,\n },\n }\n\n client.patch(url, params)\n .then(() => { resolve() })\n .catch(err => { reject(err) })\n})\n\nconst setContaplusDirectories = ({ state }, { programFolder, appFolder, exportFolder, newDbfSystem }) => new Promise((resolve, reject) => {\n const url = 'update_profile_default_settings/'\n\n const params = {\n contaplus: {\n con_application_group_path: {\n is_enabled: Boolean(programFolder),\n value: programFolder\n },\n con_application_folder_path: {\n is_enabled: Boolean(appFolder),\n value: appFolder\n },\n con_export_folder: {\n is_enabled: Boolean(exportFolder),\n value: exportFolder\n },\n con_new_read_dbf_system: {\n is_enabled: Boolean(newDbfSystem),\n value: newDbfSystem\n },\n }\n }\n\n client.patch(url, params)\n .then(() => { resolve() })\n .catch(err => { reject(err) })\n})\n\nconst setContasolDirectories = ({ state }, { dbDriver, directory, directoryDocs, cloudCode }) => new Promise((resolve, reject) => {\n const url = 'update_profile_default_settings/'\n\n const params = {\n // docs_private_folder: {\n // is_enabled: Boolean(docsPrivateFolder),\n // value: docsPrivateFolder,\n // },\n con_db_driver_contasol: {\n is_enabled: Boolean(dbDriver),\n value: dbDriver,\n },\n con_directory_contasol: {\n is_enabled: Boolean(directory),\n value: directory,\n },\n con_directory_docs_contasol: {\n is_enabled: Boolean(directoryDocs),\n value: directoryDocs,\n },\n contasol_cloud_codigo_cliente: {\n is_enabled: Boolean(cloudCode),\n value: cloudCode,\n },\n }\n\n client.patch(url, params)\n .then(() => { resolve() })\n .catch(err => { reject(err) })\n})\n\nconst setOdooCredentials = ({ state }, { user, password, url, database }) => new Promise((resolve, reject) => {\n const patchUrl = 'update_profile_default_settings/'\n const params = {\n odoo: {\n con_db: {\n is_enabled: true,\n value: database,\n },\n con_url: {\n is_enabled: true,\n value: url,\n },\n con_user: {\n is_enabled: true,\n value: user,\n },\n con_password: {\n is_enabled: true,\n value: password,\n },\n }\n }\n client.patch(patchUrl, params)\n .then(() => { resolve() })\n .catch(err => { reject(err) })\n // const options = {\n // method: 'POST',\n // url: `${url}/jsonrpc`,\n // headers: {\n // \"Content-Type\": \"application/json\",\n // },\n // data: {\n // jsonrpc: \"2.0\",\n // method: \"call\",\n // params: {\n // service: 'common',\n // method: 'authenticate',\n // args: [database, user, password, {}],\n // },\n // },\n // };\n //\n // axios(options)\n // .then(response => {\n // const { result } = response.data;\n // if (result) {\n // // If authentication is successful, save the new settings\n // client.patch(patchUrl, params)\n // .then(() => { resolve() })\n // .catch(err => { reject(err) })\n // } else {\n // // If authentication failed\n // reject('Credenciales incorrectas. Por favor, compruebe que los datos introducidos son correctos.');\n // }\n // })\n // .catch(err => {\n // console.log('Error: ', err);\n // reject('No se ha podido conectar con el servidor. Por favor, compruebe que los datos introducidos son correctos.');\n // })\n})\n\nconst textToLowerCase = ({ state}, value) => {\n return value && value.toLowerCase().normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\").replace('&','').replace('?','').replace('!','').replace('¿','').replace('¡','');\n};\n\nconst setSageCredentials = ({ state }, { con_db_host, con_db_name }) => new Promise((resolve, reject) => {\n const url = 'update_profile_default_settings/'\n\n const params = {\n sage: {\n con_db_host: {\n is_enabled: Boolean(con_db_host),\n value: con_db_host\n },\n con_db_name: {\n is_enabled: Boolean(con_db_name),\n value: con_db_name\n }\n }\n }\n\n client.patch(url, params)\n .then(() => { resolve() })\n .catch(err => { reject(err) })\n});\nconst setSageeeeCredentials = ({ state }, { con_db_host, con_db_name }) => new Promise((resolve, reject) => {\n const url = 'update_profile_default_settings/'\n\n const params = {\n sage: {\n con_db_host: {\n is_enabled: Boolean(con_db_host),\n value: con_db_host\n },\n con_db_name: {\n is_enabled: Boolean(con_db_name),\n value: con_db_name\n }\n }\n }\n\n client.patch(url, params)\n .then(() => { resolve() })\n .catch(err => { reject(err) })\n});\n\nconst setSageDespCredentials = ({ state, rootGetters }, \n \n {\n con_db_host,\n con_db_name,\n con_db_user,\n con_db_password,\n con_public_folde,\n con_export_documents\n }) => new Promise((resolve, reject) => {\n const url = 'update_profile_default_settings/'\n const params = {\n sage_despachos: {\n con_db_host: {\n is_enabled: true,\n value: con_db_host\n },\n con_db_name: {\n is_enabled: true,\n value: con_db_name\n },\n con_db_user: {\n is_enabled: true,\n value: con_db_user\n },\n con_db_password: {\n is_enabled: true,\n value: con_db_password\n },\n con_public_folde: {\n is_enabled: true,\n value: con_public_folde\n },\n con_export_documents: {\n is_enabled: true,\n value: con_export_documents\n },\n }\n }\n\n client.patch(url, params)\n .then(() => { resolve() })\n .catch(err => { reject(err) })\n});\n\n\n\n\nconst actions = {\n getColumnsCsvOneLine,\n setColumnsCsvOneLine,\n getColumnsCsvMultiLine,\n setColumnsCsvMultiLine,\n getColumnsExcel,\n setColumnsExcel,\n getFieldValuesCsvOneLine,\n setFieldValuesCsvOneLine,\n setDiezsoftwareCredentials,\n setA3Directories,\n setAplifisaDirectories,\n setContaplusDirectories,\n setContasolDirectories,\n setOdooCredentials,\n setGlasofCredentials,\n setGoldenCredentials,\n setSageCredentials,\n setSageDespCredentials,\n textToLowerCase,\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","import { getField, updateField } from 'vuex-map-fields';\nimport { client } from \"@/api/client\";\n\nexport const SET_URL = \"SET_URL\";\nexport const SET_INITIAL_PAGES = \"SET_INITIAL_PAGES\";\nexport const SET_PAGE_VALUES = \"SET_PAGE_VALUES\";\nexport const SET_VALUES = \"SET_VALUES\";\nexport const SET_VISIBLE_INTERVAL = \"SET_VISIBLE_INTERVAL\";\nexport const SET_LAST_VISIBLE_PAGE = \"SET_LAST_VISIBLE_PAGE\";\nexport const CLEAN_PAGE = \"CLEAN_PAGE\";\nexport const CLEAN_DOCUMENT = \"CLEAN_DOCUMENT\";\n\n\nvar pdfStore=undefined;\nvar pdfPages=[]\n\nconst defaults={\n defaultWidth: 0,\n defaultHeight:0,\n firstPageDownloaded: false,\n minVisiblePage: undefined,\n maxVisiblePage: undefined,\n middleVisiblePage: undefined,\n window:1,//numFetchedPages=window*2+1\n velocity:1,\n lastVisiblePage:1,\n}\n\nconst state = () => (Object.assign({\n pages: [], \n},defaults));\n\nconst getters = {\n getField,\n}\n\n\n// FLOW:\n// pending -> downloading -> dowloaded -> rendered\nexport const STATE_PENDING='pending'\nexport const STATE_DOWNLOADING='downloading'\nexport const STATE_DOWNLOADED='downloaded'\nexport const STATE_RENDERING='rendering'\nexport const STATE_RENDERED='rendered'\n\nconst mutations = {\n updateField,\n [SET_URL](state, url) {\n state.url = url;\n state.firstPageDownloaded=false;\n },\n [SET_PAGE_VALUES](state, {pageIndex,values}) {\n try{\n Object.assign(state.pages[pageIndex-1],values)\n }catch {\n console.log(\"Exception\")\n }\n \n },\n [SET_VALUES](state, values) {\n Object.assign(state,values)\n },\n [SET_INITIAL_PAGES](state, numPages) {\n state.pages.splice(0,state.pages.length)\n pdfPages.splice(0,pdfPages.length)\n for(var i=1;i<=numPages;i++){\n state.pages.splice(state.pages.length,0,{\n state:STATE_PENDING,\n numPage:i,\n width:0.,\n height:0.,\n visible:false,\n })\n pdfPages.splice(pdfPages.length,0,undefined)\n }\n \n \n },\n [CLEAN_PAGE](state, pageIndex) {\n state.pages[pageIndex-1].state='pending'\n pdfPages[pageIndex-1]=undefined;\n },\n [CLEAN_DOCUMENT](state) {\n if(pdfStore){\n pdfStore=undefined;\n }\n pdfPages.splice(0,pdfPages.length)\n state.pages.splice(0,state.pages.length)\n Object.assign(state,defaults)\n },\n [SET_LAST_VISIBLE_PAGE](state, pageIndex) {\n state.lastVisiblePage=pageIndex;\n },\n [SET_VISIBLE_INTERVAL](state) {\n var infinite=10000;\n var zero=0;\n var minPage=infinite;\n var maxPage=zero;\n for(var i=1;i<=state.pages.length;i++){\n const page=state.pages[i-1]\n if (page.visible){\n if(page.numPage > maxPage){\n maxPage=page.numPage\n }\n if(page.numPage < minPage){\n minPage=page.numPage\n }\n }\n }\n if(minPage==infinite) minPage=state.lastVisiblePage\n if(maxPage==zero) maxPage=state.lastVisiblePage\n var oldMiddleVisiblePage=state.middleVisiblePage\n state.minVisiblePage=minPage\n state.maxVisiblePage=maxPage\n state.middleVisiblePage=minPage+Math.ceil((maxPage-minPage)/2)\n var newVelocity=state.middleVisiblePage-oldMiddleVisiblePage\n if(newVelocity){\n state.velocity=newVelocity\n }\n },\n}\n\nconst setDocumentUrl = async ({ commit,dispatch }, url) => {\n commit(CLEAN_DOCUMENT)\n commit(SET_URL, url)\n return new Promise((resolve, reject) => {\n // Using import statement in this way allows Webpack\n // to treat pdf.js as an async dependency so we can\n // avoid adding it to one of the main bundles\n import(/* webpackChunkName: 'pdfjs-dist' */'pdfjs-dist/webpack').then(function(pdfjs){ \n let promise = pdfjs.getDocument(url).promise;\n promise.then(async (pdf)=>{\n pdfStore=pdf\n commit(SET_INITIAL_PAGES, pdf.numPages)\n await dispatch('fetchDocumentPage',1)\n await dispatch('setPageVisible',{numPage:1,visible:true})\n resolve(pdf);\n })\n \n }).catch(err => {\n reject(err);\n });\n });\n}\n\nconst cleanDocument = async ({ commit}) => {\n commit(CLEAN_DOCUMENT)\n commit(SET_URL, undefined) \n}\n\nconst fetchDocumentPage = async ({ commit }, pageIndex) => {\n commit(SET_PAGE_VALUES, {pageIndex, values:{state:STATE_DOWNLOADING}}) \n const page = await pdfStore.getPage(pageIndex)\n const {width,height} = page.getViewport({scale: 1.}); //TODO\n if(pageIndex==1){\n commit(SET_VALUES,{defaultWidth:width,defaultHeight:height,firstPageDownloaded:true})\n }\n //console.log(page)\n pdfPages[pageIndex-1]=page\n commit(SET_PAGE_VALUES, {pageIndex, values:{state:STATE_DOWNLOADED, width,height}}) \n\n}\n\nconst setPageValues = ({commit}, {pageIndex, values})=>\n{\n commit(SET_PAGE_VALUES, {pageIndex, values:values}) \n}\n\nconst getPDFPage = ({},numPage)=>{\n return new Promise((resolve, reject) => {\n // Do something here... lets say, a http call using vue-resource\n resolve(pdfPages[numPage-1])\n }) \n}\n\nconst setPageVisible = async ({commit,state,dispatch},{numPage,visible}) =>{\n commit(SET_PAGE_VALUES, {pageIndex:numPage, values:{visible}}) \n commit(SET_VISIBLE_INTERVAL, {}) \n if(visible){\n commit(SET_LAST_VISIBLE_PAGE, numPage) \n }\n for(var i=1;i<=state.pages.length;i++)\n {\n const currentPage=state.pages[i-1] \n if(currentPage.numPage >=(state.minVisiblePage-state.window) && currentPage.numPage <=(state.maxVisiblePage+state.window)){\n if(currentPage.state==STATE_PENDING){\n await dispatch('fetchDocumentPage',i)\n } \n }\n else{\n await dispatch('cleanPage',i)\n }\n }\n}\n\nconst cleanPage=({commit,state,dispatch},numPage)=>{\n if(numPage<=state.pages.length){\n const currentPage=state.pages[numPage-1]\n if(currentPage.state!=STATE_PENDING){\n if(pdfPages[numPage-1]){\n //pdfPages[numPage-1]._destroy() \n }\n commit(CLEAN_PAGE,numPage)\n } \n }else{\n console.log(`trying to clean page ${numPage} with length ${state.pages.length}`)\n }\n \n\n}\n\nconst actions = {\n setDocumentUrl,\n fetchDocumentPage,\n setPageValues,\n getPDFPage,\n setPageVisible,\n cleanPage,\n cleanDocument,\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","import { bus } from \"../../main.js\";\n\nconst emitTextClicked = ({ rootGetters }, index) => {\n bus.$emit(\n \"document-text-clicked\",\n rootGetters['documents/taggedText'][rootGetters['documents/currentPage'] - 1][index].word\n );\n};\n\nexport const actions = {\n emitTextClicked,\n};\nconst mutations = {}\nconst getters = {}\n\nexport default {\n namespaced: true,\n actions,\n getters,\n mutations,\n}","import { getField, updateField } from 'vuex-map-fields';\nimport { client } from \"@/api/client\";\n\nexport const SET_LOCATIONS = \"SET_LOCATIONS\";\nexport const SET_CDBTYPES = \"SET_CDBTYPES\";\n\nconst state = () => ({\n headers: [\n {\n align: 'start',\n text: 'Programa contable',\n value: 'cdb_type_name',\n sortable: false,\n },\n {\n text: 'Nombre',\n value: 'name',\n sortable: false,\n },\n // {\n // text: 'Tipo',\n // values: 'location_type__name',\n // sortable: false,\n // },\n {\n text: 'Ruta',\n value: 'path',\n sortable: false,\n },\n ],\n location_id: '',\n name: '',\n path: '',\n cdb_type: '',\n cdb_types: [],\n locations: [],\n});\n\nconst getters = {\n getField,\n}\n\nconst mutations = {\n updateField,\n [SET_CDBTYPES](state, cdb_types) {\n state.cdb_types = cdb_types;\n },\n [SET_LOCATIONS](state, locations) {\n state.locations = locations;\n },\n}\n\nconst getCdbTypes = ({ commit }) => {\n return new Promise((resolve, reject) => {\n client.get('get_locations_companydb_types/').then(response => {\n commit(SET_CDBTYPES, response.data['companydb_types']);\n resolve();\n }).catch(err => {\n console.error(err);\n reject();\n });\n });\n}\n\nconst getLocations = ({ commit }) => {\n return new Promise((resolve, reject) => {\n client.get('get_locations/').then(response => {\n commit(SET_LOCATIONS, response.data['results']);\n resolve();\n }).catch(err => {\n console.error(err);\n reject();\n });\n });\n}\n\nconst createLocation = ({ state }) => {\n return new Promise((resolve, reject) => {\n let params = {\n 'cdb_type': state.cdb_type,\n 'name': state.name,\n 'path': state.path,\n };\n client.post('create_location/', params).then(() => {\n resolve();\n }).catch(err => {\n console.error(err);\n reject();\n });\n });\n}\n\nconst updateLocation = ({ state }) => {\n return new Promise((resolve, reject) => {\n let params = {\n 'id': state.location_id,\n 'name': state.name,\n 'cdb_type': state.cdb_type,\n 'path': state.path,\n };\n client.patch('update_location/', params).then(() => {\n resolve();\n }).catch(err => {\n console.error(err);\n reject();\n });\n });\n}\n\nconst deleteLocation = ({ state }) => {\n return new Promise((resolve, reject) => {\n client.patch('delete_location/', { 'id': state.location_id }).then(() => {\n resolve();\n }).catch(err => {\n console.error(err);\n reject();\n });\n });\n}\n\nconst actions = {\n getCdbTypes,\n getLocations,\n createLocation,\n updateLocation,\n deleteLocation,\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","import { client } from \"./client\";\n\nconst ROUTES = {\n webhook: companyId => `/webhook/?companydb_id=${companyId}`,\n create: () => `/webhook/`,\n update: webhook_id => `/webhook/${webhook_id}/`,\n};\n\nexport const webhook = {\n getData: ({companyId}) => {\n return client.get(ROUTES.webhook(companyId));\n },\n create: ({form}) => {\n return client.post(ROUTES.create(), form);\n },\n update: ({webhookId, form}) => {\n return client.patch(ROUTES.update(webhookId), form);\n },\n};","\nimport { webhook } from \"@/api/webhook\";\nimport { getField, updateField } from 'vuex-map-fields';\n\n\nexport const SET_WEBHOOK = \"SET_WEBHOOK\";\nexport const SET_LOADING = \"SET_LOADING\";\nexport const SET_COMPANY = \"SET_COMPANY\";\nexport const SET_ERRORS = \"SET_ERRORS\";\n\nclass Webhook {\n constructor({ id, url, hearders, company_id}) {\n this.id = id;\n this.url = url;\n this.companydb = company_id;\n this.headers = hearders;\n this.loading = false;\n this.errors = {\n url: [],\n headers: []\n };\n }\n}\n\nconst models = {\n Webhook\n};\n\nconst defaultData = new Webhook({id: undefined, url: undefined, hearders: undefined, company_id: undefined});\n\nconst state = () => ({\n webhook: defaultData,\n});\n\nconst getData = ({ commit, dispatch, state, rootGetters, rootState }, { company_id }) => {\n return new Promise((resolve, reject) => {\n commit(SET_WEBHOOK, {companydb: company_id});\n commit(SET_LOADING, true);\n webhook.getData({companyId: company_id}).then(response => {\n if (response.data && response.data.count > 0) {\n commit(SET_WEBHOOK, response.data.results[0]);\n }\n commit(SET_LOADING, false);\n resolve();\n }).catch(error => {\n commit(SET_LOADING, false);\n reject();\n });\n });\n};\n\n\nconst save = ({commit, dispatch, state, rootGetters, rootState}) => {\n let params = {\n url: state.webhook.url,\n headers: state.webhook.headers,\n companydb: state.webhook.companydb\n };\n commit(SET_LOADING, true);\n commit(SET_ERRORS, {url: [], headers: []});\n let callbackOK = function(response) {\n commit(SET_WEBHOOK, response.data);\n commit(SET_LOADING, false);\n }\n let callbackError = function(error) {\n commit(SET_ERRORS, error.response.data);\n commit(SET_LOADING, false);\n }\n let promise;\n if (state.webhook.id) {\n promise = webhook.update({webhookId: state.webhook.id, form:params});\n } else {\n promise = webhook.create({form:params})\n }\n promise.then(callbackOK, callbackError);\n}\n\nexport const actions = {\n getData,\n save,\n};\n\nconst mutations = {\n updateField,\n [SET_WEBHOOK](state, webhook) {\n state.webhook.id = webhook.id;\n state.webhook.url = webhook.url;\n state.webhook.companydb = webhook.companydb;\n state.webhook.headers = webhook.headers;\n },\n [SET_LOADING](state, loading) {\n state.webhook.loading = loading;\n },\n [SET_COMPANY](state, companyId) {\n state.webhook.company_id=companyId;\n },\n [SET_ERRORS](state, errors) {\n if (errors.url) {\n state.webhook.errors.url = errors.url;\n }\n if (errors.headers) {\n state.webhook.errors.headers = errors.headers;\n }\n }\n}\n\nconst getters = {\n getField,\n webhook: state => state.webhook,\n};\n\nexport default {\n namespaced: true,\n state,\n actions,\n getters,\n mutations,\n models\n}","import { client } from \"./client\";\n\nconst ROUTES = {\n webhookRequest: ({companydb_id, limit, offset}) => `/webhook_request/?companydb_id=${companydb_id}&offset=${offset}&limit=${limit}`,\n};\n\nexport const webhookRequest = {\n getData: ({companydb_id, limit, offset}) => {\n return client.get(ROUTES.webhookRequest({companydb_id, limit, offset}));\n },\n};","import { webhookRequest } from \"@/api/webhook_request\";\nimport { getField, updateField } from 'vuex-map-fields';\n\n\nexport const SET_LIST = \"SET_LIST\";\nexport const SET_LOADING = \"SET_LOADING\";\nexport const SET_LIMIT = \"SET_LIMIT\";\nexport const SET_OFFSET = \"SET_OFFSET\";\nexport const SET_COMPANYDB = \"SET_COMPANYDB\"\n\nclass WebhookRequestList {\n constructor() {\n this.count = 0;\n this.next = undefined;\n this.previous = undefined;\n this.companydb_id = undefined;\n this.results = [];\n this.limit = 10;\n this.offset = 0;\n this.headers = [\n {\n text: 'Fecha',\n value: 'create_datetime',\n sortable: false\n },\n {\n text: 'Estado',\n value: 'state',\n sortable: false\n },\n {\n text: 'URL',\n value: 'url',\n sortable: false\n },\n {\n text: 'Código',\n value: 'code',\n sortable: false\n },\n {\n text: 'Respuesta',\n value: 'response',\n sortable: false\n },\n \n ];\n this.loading = false;\n }\n}\n\nconst models = {\n WebhookRequestList\n};\n\nconst defaultData = new WebhookRequestList();\n\nconst state = () => ({\n list: defaultData,\n});\n\nconst getData = ({ commit, dispatch, state, rootGetters, rootState }, { company_id }) => {\n return new Promise((resolve, reject) => {\n commit(SET_LOADING, true);\n commit(SET_COMPANYDB, company_id)\n webhookRequest.getData({companydb_id: company_id, limit: state.list.limit, offset: state.list.offset}).then(response => {\n commit(SET_LIST, response.data);\n commit(SET_LOADING, false);\n resolve();\n }).catch(err => {\n console.error(err);\n commit(SET_LOADING, false);\n reject();\n });\n });\n};\n\nconst getItemPerPage = ({commit, dispatch, state, rootGetters, rootState}, values) => {\n commit(SET_LIMIT, values);\n commit(SET_OFFSET, 0);\n getData({commit, dispatch, state, rootGetters, rootState}, {company_id: state.list.companydb_id});\n}\n\nconst setPage = ({commit, dispatch, state, rootGetters, rootState}, page) => {\n let offset = (page - 1) * state.list.limit;\n commit(SET_OFFSET, offset);\n getData({commit, dispatch, state, rootGetters, rootState}, {company_id: state.list.companydb_id});\n}\n\nexport const actions = {\n getData,\n getItemPerPage,\n setPage\n}\n\nconst mutations = {\n updateField,\n [SET_LIST](state, list) {\n state.list.count = list.count;\n state.list.next = list.next;\n state.list.previous = list.previous;\n state.list.results = list.results;\n },\n [SET_LOADING](state, loading) {\n state.list.loading = loading;\n },\n [SET_LIMIT](state, limit) {\n state.list.limit = limit;\n },\n [SET_OFFSET](state, offset) {\n state.list.offset = offset;\n },\n [SET_COMPANYDB](state, companydb_id) {\n state.list.companydb_id = companydb_id;\n }\n}\n\nconst getters = {\n getField,\n list: state => state.list,\n \n}\n\nexport default {\n namespaced: true,\n state,\n actions,\n getters,\n mutations,\n models\n}","import { getField, updateField } from 'vuex-map-fields';\n\n\nconst SET_SHOW = 'SET_SHOW';\n\nconst state = () => ({\n message: {\n text: 'El pago de su pedido se ha realizado con éxito. Muchas gracias por su compra.',\n center: true\n },\n title: {\n text: 'Pago realizado con éxito',\n show: true,\n },\n confirm_button: {\n text: 'Entendido',\n show: true\n },\n cancel_button: {\n show: false\n },\n question: {\n show: false\n },\n icon: 'mdi-receipt-text-check-outline',\n show: false,\n persistent: true\n})\n\nconst mutations = {\n [SET_SHOW]: (state, show) => {\n state.show = show;\n },\n updateField,\n}\n\nconst getters = {\n show: state => state.show,\n text: state => state.message.text,\n text_center: state => state.message.center,\n text_title: state => state.title.text,\n show_title: state => state.title.show,\n text_confirm_button: state => state.confirm_button.text,\n show_confirm_button: state => state.confirm_button.show,\n show_cancel_button: state => state.cancel_button.show,\n show_question: state => state.question.show,\n icon: state => state.icon,\n persistent: state => state.persistent,\n getField\n}\n\nconst openModal = ({ commit }) => {\n commit(SET_SHOW, true);\n}\n\nconst closeModal = ({ commit }) => {\n commit(SET_SHOW, false);\n}\n\nconst actions = {\n openModal,\n closeModal\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions\n}","import { getField, updateField } from 'vuex-map-fields';\n\n\nconst SET_SHOW = 'SET_SHOW';\n\nconst state = () => ({\n message: {\n text: 'Póngase en contacto con el departamento de soporte (soporte@inmatic.ai)',\n center: true\n },\n title: {\n text: 'Error al procesar el pago',\n show: true,\n },\n confirm_button: {\n text: 'Entendido',\n show: true\n },\n cancel_button: {\n show: false\n },\n question: {\n show: false\n },\n icon: 'mdi-alert-outline',\n show: false,\n persistent: true\n})\n\nconst mutations = {\n [SET_SHOW]: (state, show) => {\n state.show = show;\n },\n updateField,\n}\n\nconst getters = {\n show: state => state.show,\n text: state => state.message.text,\n text_center: state => state.message.center,\n text_title: state => state.title.text,\n show_title: state => state.title.show,\n text_confirm_button: state => state.confirm_button.text,\n show_confirm_button: state => state.confirm_button.show,\n show_cancel_button: state => state.cancel_button.show,\n show_question: state => state.question.show,\n icon: state => state.icon,\n persistent: state => state.persistent,\n getField\n}\n\nconst openModal = ({ commit }) => {\n commit(SET_SHOW, true);\n}\n\nconst closeModal = ({ commit }) => {\n commit(SET_SHOW, false);\n}\n\nconst actions = {\n openModal,\n closeModal\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions\n}\n","const SET_MODAL_CONTENT = 'SET_MODAL_CONTENT'\nconst SET_SHOW = 'SET_SHOW'\n\nconst state = () => ({\n message: {\n text: '',\n center: true,\n },\n\n title: {\n text: '',\n show: true,\n },\n\n confirmButton: {\n text: 'Aceptar',\n show: true,\n action: () => {}\n },\n\n cancelButton: {\n text: 'Cancelar',\n show: false,\n action: () => {}\n },\n\n question: {\n text: '',\n show: false,\n },\n\n icon: 'mdi-alert-outline',\n show: false,\n persistent: true,\n isHtml: false,\n})\n\nconst getters = {\n show: state => state.show,\n text: state => state.message.text,\n textCenter: state => state.message.center,\n textTitle: state => state.title.text,\n showTitle: state => state.title.show,\n textConfirmButton: state => state.confirmButton.text,\n showConfirmButton: state => state.confirmButton.show,\n actionConfirmButton: state => state.confirmButton.action,\n textCancelButton: state => state.cancelButton.text,\n showCancelButton: state => state.cancelButton.show,\n actionCancelButton: state => state.cancelButton.action,\n textQuestion: state => state.question.text,\n showQuestion: state => state.question.show,\n icon: state => state.icon,\n persistent: state => state.persistent,\n isHtml: state => state.isHtml\n}\n\nconst mutations = {\n [SET_SHOW]: (state, show) => {\n state.show = show\n },\n\n [SET_MODAL_CONTENT]: (state, modalContent) => {\n const {\n text,\n textTitle,\n showTitle,\n textConfirmButton,\n showConfirmButton,\n actionConfirmButton,\n textCancelButton,\n showCancelButton,\n actionCancelButton,\n textQuestion,\n showQuestion,\n icon,\n persistent,\n isHtml,\n } = {...modalContent}\n\n const setElementIfNotNull = (stateValue, newValue) => {\n if (typeof(newValue) !== 'undefined' && newValue !== null) {\n return newValue\n } \n return stateValue\n }\n\n state.message.text = setElementIfNotNull(state.message.text, text)\n state.title.text = setElementIfNotNull(state.title.text, textTitle)\n state.title.show = setElementIfNotNull(state.title.show, showTitle)\n state.confirmButton.text = setElementIfNotNull(state.confirmButton.text, textConfirmButton)\n state.confirmButton.show = setElementIfNotNull(state.confirmButton.show, showConfirmButton)\n state.confirmButton.action = setElementIfNotNull(state.confirmButton.action, actionConfirmButton)\n state.cancelButton.text = setElementIfNotNull(state.cancelButton.text, textCancelButton)\n state.cancelButton.show = setElementIfNotNull(state.cancelButton.show, showCancelButton)\n state.cancelButton.action = setElementIfNotNull(state.cancelButton.action, actionCancelButton)\n state.question.text = setElementIfNotNull(state.question.text, textQuestion)\n state.question.show = setElementIfNotNull(state.question.show, showQuestion)\n state.icon = setElementIfNotNull(state.icon, icon)\n state.persistent = setElementIfNotNull(state.persistent, persistent)\n state.isHtml = setElementIfNotNull(state.isHtml, isHtml)\n }\n}\n\nconst setModal = ({ commit }, modalContent) => {\n commit(SET_MODAL_CONTENT, modalContent)\n commit(SET_SHOW, true)\n}\n\nconst closeModal = ({ commit }) => {\n const modalContent = {\n text: '',\n textTitle: '',\n showTitle: true,\n textConfirmButton: 'Aceptar',\n showConfirmButton: true,\n actionConfirmButton: () => {},\n textCancelButton: 'Cancelar',\n showCancelButton: false,\n actionCancelButton: () => {},\n textQuestion: '',\n showQuestion: false,\n icon: 'mdi-alert-outline',\n persistent: true,\n isHtml: false,\n }\n\n commit(SET_SHOW, false)\n commit(SET_MODAL_CONTENT, modalContent)\n}\n\nconst actions = {\n setModal,\n closeModal,\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions\n}","import { client } from \"./client\";\n\nconst ROUTES = {\n getUsersPermissionsExtraTableData: () => `/get_users_permissions_table/extra/`,\n};\n\nexport const UsersPermissions = {\n getUsersPermissionsExtraTableData: () => {\n return client.get(ROUTES.getUsersPermissionsExtraTableData());\n }\n};","import { getField, updateField } from 'vuex-map-fields';\nimport { UsersPermissions } from \"@/api/users_permissions\";\n\n\nclass TableList { \n constructor({ url, footerItemsPerPageText}) { \n this.headers = [];\n this.searchFilters = ['companydb'],\n this.itemsPermissions = [];\n this.selectedCompanyies = [];\n this.selectedUsers = [];\n this.url = url;\n this.footerItemsPerPageText = footerItemsPerPageText;\n this.loading = false;\n this.hasPermissions = false;\n }\n}\n\nclass CheckboxData {\n constructor({ label }) {\n this.label = label;\n this.selected = false;\n }\n}\n\nclass ModalData {\n constructor() {\n this.items = [];\n this.selected = '';\n this.show = false;\n this.loading = false;\n }\n}\n\nconst models = {\n TableList,\n ModalData,\n CheckboxData\n};\n\n\nlet permissionsTable = new TableList({url: 'get_users_permissions_table/items/', footerItemsPerPageText: 'Empresas por página'});\nlet modalPermission = new ModalData();\nlet allCompanyiesCheckbox = new CheckboxData({ label: 'Todas las empresas' })\nlet allUsersCheckbox = new CheckboxData({label: 'Todos los usuarios'})\n\nconst state = () => ({\n permissions: permissionsTable,\n modalPermission: modalPermission,\n allCompanyiesCheckbox: allCompanyiesCheckbox,\n allUsersCheckbox: allUsersCheckbox,\n});\n\n\nconst getters = {\n permissions: state => state.permissions,\n headers: state => state.headers.slice(),\n modalPermission: state => state.modalPermission,\n allCompanyiesCheckbox: state => state.allUsersCheckbox,\n allUsersCheckbox: state => state.allUsersCheckbox,\n selectedCompanyiesIds: (state) => {\n let companyiesIds = [];\n for (var i = 0; i < state.permissions.selectedCompanyies.length; i++) {\n companyiesIds.push(state.permissions.selectedCompanyies[i].id);\n }\n return companyiesIds;\n },\n selectedUsersIds: (state) => {\n let usersIds = [];\n for (var i = 0; i < state.permissions.headers.length; i++) {\n if (state.permissions.headers[i].selected) {\n usersIds.push(state.permissions.headers[i].value);\n }\n }\n return usersIds;\n },\n getField\n};\n\n\nconst SET_PERMISSIONS_LOADING = 'SET_PERMISSIONS_LOADING';\nconst SET_PERMISSIONS_HEADERS = 'SET_PERMISSIONS_HEADERS';\nconst SET_PERMISSIONS_HEADER = 'SET_PERMISSIONS_HEADER';\nconst SET_PERMISSIONS_ITEMS_PERMISSIONS = 'SET_PERMISSIONS_ITEMS_PERMISSIONS';\nconst SET_PERMISSIONS_HAS_PERMISSION = 'SET_PERMISSIONS_HAS_PERMISSION';\nconst SET_MODAL_ITEMS = 'SET_MODAL_ITEMS';\nconst SET_MODAL_SHOW = 'SET_MODAL_SHOW';\nconst SET_MODAL_LOADING = 'SET_MODAL_LOADING';\nconst SET_ALL_USERS = 'SET_ALL_USERS';\nconst SET_SELECTED_USERS = 'SET_SELECTED_USERS';\nconst SET_ALL_COMPANYIES = 'SET_ALL_COMPANYIES';\nconst SET_SELECTED_COMPANYIES = 'SET_SELECTED_COMPANYIES';\nconst SET_MODAL_SELECTED = 'SET_MODAL_SELECTED';\nconst SELECTED_ALL_HEADERS = 'SELECTED_ALL_HEADERS';\n\nconst mutations = {\n [SET_PERMISSIONS_LOADING](state, loading) {\n state.permissions.loading = loading;\n },\n [SET_PERMISSIONS_HEADERS](state, headers) {\n state.permissions.headers = headers;\n },\n [SET_PERMISSIONS_HEADER](state, { header, value }) {\n header.selected = value;\n },\n [SET_PERMISSIONS_ITEMS_PERMISSIONS](state, itemsPermissions) {\n state.permissions.itemsPermissions = itemsPermissions;\n },\n [SET_PERMISSIONS_HAS_PERMISSION](state, hasPermissions) {\n state.permissions.hasPermissions = hasPermissions;\n },\n [SET_MODAL_ITEMS](state, items) {\n state.modalPermission.items = items;\n },\n [SET_MODAL_LOADING](state, loading) {\n state.modalPermission.loading = loading;\n },\n [SET_MODAL_SELECTED](state, selected) {\n state.modalPermission.selected = selected;\n },\n [SET_MODAL_SHOW](state, show) {\n state.modalPermission.show = show;\n },\n [SET_ALL_USERS](state, selected) {\n state.allUsersCheckbox.selected = selected;\n },\n [SET_ALL_COMPANYIES](state, selected) {\n state.allCompanyiesCheckbox.selected = selected;\n },\n [SET_SELECTED_COMPANYIES](state, items) {\n state.permissions.selectedCompanyies = items;\n },\n [SET_SELECTED_USERS](state, items) {\n state.permissions.selectedUsers = items;\n },\n [SELECTED_ALL_HEADERS](state) {\n for (var i = 0; i < state.permissions.headers.length; i++) {\n state.permissions.headers[i].selected = state.allUsersCheckbox.selected;\n }\n },\n updateField\n};\n\n\nconst initPermissionsTable = ({ commit, state }) => {\n return new Promise((resolve, reject) => { \n commit(SET_PERMISSIONS_LOADING, true);\n UsersPermissions.getUsersPermissionsExtraTableData().then(response => {\n commit(SET_PERMISSIONS_HEADERS, response.data['headers']);\n commit(SET_PERMISSIONS_ITEMS_PERMISSIONS, response.data['items_permission']);\n commit(SET_MODAL_ITEMS, response.data['friendship_kinds'])\n checkPermissions({commit, state});\n commit(SET_PERMISSIONS_LOADING, false);\n resolve()\n }).catch(error => {\n commit(SET_PERMISSIONS_LOADING, false);\n reject();\n });\n })\n}\n\nconst setPermissionsLoading = ({ commit }, loading) => {\n commit(SET_PERMISSIONS_LOADING, loading);\n}\n\nconst checkPermissions = ({ commit, state }) => {\n let hasPermissions = state.permissions.itemsPermissions.length > 1;\n commit(SET_PERMISSIONS_HAS_PERMISSION, hasPermissions);\n}\n\nconst selectCheckboxAllUsers = ({ commit, state }, ref) => {\n commit(SELECTED_ALL_HEADERS);\n}\n\nconst selectedUserPermission = ({ commit, state }, item) => {\n commit(SET_PERMISSIONS_HEADER, { header: item, value: !item.selected });\n}\n\nconst selectCheckboxAllCompanies = ({ commit, state }, ref) => {\n ref.selectedItems = [];\n if (state.allCompanyiesCheckbox.selected) {\n for (var i = 0; i < ref.items.length; i++) {\n ref.selectedItems.push(ref.items[i])\n }\n }\n commit(SET_SELECTED_COMPANYIES, ref.selectedItems);\n}\n\nconst selectedCompanyPermission = ({ commit, state }, { items, ref }) => {\n let check = ref.items.length == items.length;\n commit(SET_ALL_COMPANYIES, check);\n commit(SET_SELECTED_COMPANYIES, items);\n}\n\n\nconst openPermissionDialog = ({ commit, state, dispatch }) => {\n commit(SET_MODAL_SELECTED, '');\n commit(SET_MODAL_SHOW, true);\n} \n\nconst resetPermissionsTable = ({ commit, state, dispatch }, ref) => {\n commit(SET_ALL_COMPANYIES, false);\n commit(SET_ALL_USERS, false);\n dispatch(\"selectCheckboxAllCompanies\", ref);\n dispatch(\"selectCheckboxAllUsers\", ref);\n}\n\nconst closePermissionDialog = ({ commit, state, dispatch}, ref) => {\n dispatch(\"resetPermissionsTable\", ref);\n commit(SET_MODAL_SHOW, false);\n}\n\nconst setModalLoading = ({ commit, state }, loading) => {\n commit(SET_MODAL_LOADING, loading)\n}\n\nconst actions = {\n initPermissionsTable,\n setPermissionsLoading,\n checkPermissions,\n selectCheckboxAllUsers,\n selectCheckboxAllCompanies,\n selectedCompanyPermission,\n selectedUserPermission,\n closePermissionDialog,\n openPermissionDialog,\n setModalLoading,\n resetPermissionsTable,\n};\n\n\nexport default {\n namespaced: true,\n state,\n actions,\n getters,\n mutations,\n models\n}","import { parse } from 'mathjs';\nimport { getField, updateField } from 'vuex-map-fields';\n\nclass Modal {\n constructor({top, left, width, height, shiftX, shiftY}) {\n this.top= top\n this.left= left;\n this.width= width;\n this.height = height;\n this.shiftX = shiftX;\n this.shiftY = shiftY;\n }\n}\n\nconst models = {\n Modal\n};\n\nvar defaultThirdPartyModal = new Modal({width: '80%', height: '80%', shiftX: 0.5, shiftY: 0.5});\n\nconst KEYS_COOKIES = {\n third_party: {\n top: \"third_party_top\",\n left: \"third_party_left\",\n width: \"third_party_width\",\n height: \"third_party_height\",\n shift_x: 'third_party_shift_x',\n shift_y: 'third_party_shift_y'\n },\n}\n\nconst state = () => ({\n thirdPartyModal: defaultThirdPartyModal,\n});\n\n\nconst getters = {\n getField,\n};\n\nexport const SET_THIRD_PARTY_VALUES = 'SET_THIRD_PARTY_VALUES';\n\nconst mutations = {\n updateField,\n [SET_THIRD_PARTY_VALUES](state, { top, left, width, height, shiftX, shiftY}) { \n state.thirdPartyModal.top = top;\n state.thirdPartyModal.left = left; \n state.thirdPartyModal.width = (parseInt(width) >= 300) ? width : '80%';\n state.thirdPartyModal.height = (parseInt(height) >= 300) ? height : '80%';\n if (!isNaN(shiftX)) {\n state.thirdPartyModal.shiftX = parseFloat(shiftX);\n }\n if (!isNaN(shiftY)) {\n state.thirdPartyModal.shiftY = parseFloat(shiftY);\n }\n }\n};\n\nfunction getValueCookie(key) {\n var cookies = document.cookie.split(';');\n var value = undefined;\n for (var i = 0; i < cookies.length; i++) {\n var cookie = cookies[i].split('=')\n var keyCookie = cookie[0].replace(/^\\s+/g, '');\n if (keyCookie == key) {\n value = cookie[1];\n break;\n }\n }\n return value;\n}\n\nfunction setValueCookie(key, value) {\n document.cookie = key + '=' + value;\n}\n\nconst initialThirdPartyValuesModal = ({ state, commit }) => {\n var top = getValueCookie(KEYS_COOKIES.third_party.top);\n var left = getValueCookie(KEYS_COOKIES.third_party.left);\n var width = getValueCookie(KEYS_COOKIES.third_party.width);\n var height = getValueCookie(KEYS_COOKIES.third_party.height);\n var shiftX = getValueCookie(KEYS_COOKIES.third_party.shift_x);\n var shiftY = getValueCookie(KEYS_COOKIES.third_party.shift_y);\n var values = {\n width: '80%',\n height: '80%',\n shiftX: 0.5,\n shiftY: 0.5\n }\n if (top) {\n values['top'] = top;\n } \n if (left) {\n values['left'] = left;\n }\n if (width) {\n values['width'] = width;\n }\n if (height) {\n values['height'] = height;\n }\n if (shiftX && shiftX != 'NaN') {\n values['shiftX'] = shiftX;\n }\n if (shiftY && shiftY != 'NaN') {\n values['shiftY'] = shiftY;\n }\n commit(SET_THIRD_PARTY_VALUES, values);\n}\n\nconst setThirdPartyValues = ({ state, commit }) => {\n var modal = document.querySelector('div[data-modal]');\n if (modal) {\n var container = modal.nextElementSibling;\n var top = container.style.top;\n var left = container.style.left;\n var width = container.style.width;\n var height = container.style.height;\n var shiftX = ((parseInt(left) + parseInt(width)) / 2) / (modal.clientWidth - parseInt(width));\n shiftX = Math.round(shiftX*10)/10\n if (isNaN(shiftX)) {\n shiftX = 0.5;\n }\n var shiftY = Math.round((parseInt(top) / modal.clientHeight)*10)/10;\n if (isNaN(shiftY)) {\n shiftY = 0.5;\n }\n setValueCookie(KEYS_COOKIES.third_party.top, top);\n setValueCookie(KEYS_COOKIES.third_party.left, left);\n setValueCookie(KEYS_COOKIES.third_party.width, width);\n setValueCookie(KEYS_COOKIES.third_party.height, height);\n setValueCookie(KEYS_COOKIES.third_party.shift_x, shiftX);\n setValueCookie(KEYS_COOKIES.third_party.shift_y, shiftY);\n commit(SET_THIRD_PARTY_VALUES, { top, left, width, height, shiftX, shiftY });\n \n }\n}\n\nconst setThirdPartyPosition = ({ state, commit }) => {\n var modal = document.querySelector('div[data-modal]');\n if (modal) {\n var container = modal.nextElementSibling;\n if (state.thirdPartyModal.top) {\n container.style.top = state.thirdPartyModal.top;\n }\n if (state.thirdPartyModal.left) {\n container.style.left = state.thirdPartyModal.left;\n }\n }\n \n}\n\nconst actions = {\n initialThirdPartyValuesModal,\n setThirdPartyValues,\n setThirdPartyPosition\n};\n\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","import { Notification } from \"../domain/Notification\";\nimport { NotificationRepository } from \"../domain/NotificationRepository\";\n\nexport class UserNotificationsQuery {\n constructor(\n private readonly noti_repo: NotificationRepository,\n ) {}\n\n execute(): Promise<{ [key: string]: Notification[] | string[]; }> {\n return this.noti_repo.get_data();\n }\n}\n\n","import { NotificationRepository } from \"../domain/NotificationRepository\";\n\nexport class MarkAsReadNotificationCommand {\n constructor(\n private readonly noti_repo: NotificationRepository,\n ) {}\n\n run(user_id,noti_id): Promise<{ [key: string]: string; }> {\n return this.noti_repo.mark_as_read(user_id,noti_id);\n }\n}","import { Notification } from \"../domain/Notification\";\nimport { NotificationRepository } from \"../domain/NotificationRepository\";\nimport { client } from \"../../../api/client\";\n\nexport class APINotificationRepository implements NotificationRepository {\n async get_data(): Promise<{[key: string]: string[] | Notification[]} > {\n return await client\n .post(`query/`,{query:'user.notifications',args:{unread_only:true,type:'app'}})\n .then((response) => response.data);\n }\n async mark_as_read(user_id,noti_id): Promise<{[key: string]: string} > {\n return await client\n .post(`sync_command_bus/`,{command:{cmd_name:'mark.noti.as.read',user_id:user_id,noti_id:noti_id}})\n .then((response) => response.data);\n }\n}\n","import { MemoryNotificationRepository } from \"./memoryNotificationRepository\";\nimport { UserNotificationsQuery } from \"../application/UserNotificationsQuery\";\nimport { MarkAsReadNotificationCommand } from \"../application/MarkAsReadNotificationCommand\";\nimport { APINotificationRepository } from \"./apiNotificationRepository\";\n\nexport function getNotificationData(): UserNotificationsQuery {\n let noti_1 = {\n user_id:1,\n id:'fy2439rfyhui',\n read:false,\n message:'message bla bla',\n subject:'subject bla bla'\n }\n let noti_2 = {\n user_id:1,\n id:'jdkjfh894y',\n read:false,\n message:'message bli bli',\n subject:'subject bli bli'\n }\n let noti_3 = {\n user_id:1,\n id:'kfj33yg932',\n read:true,\n message:'message blo blo',\n subject:'subject blo blo'\n }\n \n const repository = new MemoryNotificationRepository([noti_1,noti_2,noti_3]);\n return new UserNotificationsQuery(repository);\n}\n\nexport function getNotificationDataApi(): UserNotificationsQuery {\n const repository = new APINotificationRepository();\n return new UserNotificationsQuery(repository);\n}\n\nexport function markAsReadNotificationApi(): MarkAsReadNotificationCommand{\n const repository = new APINotificationRepository();\n return new MarkAsReadNotificationCommand(repository);\n}\n","import { markAsReadNotificationApi,getNotificationDataApi } from '@/modules/notifications/infrastructure/NotificationUseCase';\nimport { getField, updateField } from 'vuex-map-fields';\n\nconst state = {\n notifications: []\n };\n \nconst getters = {\n getField,\n allNotifications: state => state.notifications\n};\n\n\nconst addNotification = ({ commit }, notification) => {\n commit('ADD_NOTIFICATION', notification);\n}\nconst removeNotification = async ({ commit }, {user_id,noti_id}) => {\n await markAsReadNotificationApi().run(user_id,noti_id)\n .then((response) => {\n commit('REMOVE_NOTIFICATION', noti_id);\n })\n .catch(error => {\n console.error('Error removing notification:', error);\n });\n \n}\nconst fetchNotifications = ({ commit }) => {\n return getNotificationDataApi().execute()\n .then(data => {\n commit('SET_NOTIFICATIONS', data);\n })\n .catch(error => {\n console.error('Error fetching notifications:', error);\n });\n }\n\nconst actions = {\n addNotification,\n removeNotification,\n fetchNotifications,\n}\n \nconst mutations = {\n updateField,\n ADD_NOTIFICATION(state, notification) {\n state.notifications.push(notification);\n },\n REMOVE_NOTIFICATION(state, notificationId) {\n state.notifications = state.notifications.filter(\n notification => notification.id !== notificationId\n );\n },\n SET_NOTIFICATIONS(state,notifications) {\n state.notifications = notifications;\n }\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n};","import { getField } from 'vuex-map-fields';\n\n// TYPES\n\nexport const SET_FILTERS_DATA_KEY = 'SET_FILTERS_DATA_KEY';\nexport const SET_FILTER_AMOUNT = \"SET_FILTER_AMOUNT\";\nexport const SET_FILTER_STATE = \"SET_FILTER_STATE\";\nexport const SET_FILTER_CONCEPT = \"SET_FILTER_CONCEPT\";\nexport const SET_FILTER_CONTRAPARTIDA = \"SET_FILTER_CONTRAPARTIDA\";\nexport const SET_FILTER_NOT_CONTRAPARTIDA = \"SET_FILTER_NOT_CONTRAPARTIDA\";\nexport const SET_FILTER_ASIENTO = \"SET_FILTER_ASIENTO\";\nexport const SET_FILTER_DATE_FROM = \"SET_FILTER_DATE_FROM\";\nexport const SET_FILTER_DATE_TO = \"SET_FILTER_DATE_TO\";\nexport const SET_FILTER_PUNTEADO = \"SET_FILTER_PUNTEADO\";\nexport const SET_FILTER_AMOUNT_FROM = \"SET_FILTER_AMOUNT_FROM\" \nexport const SET_FILTER_AMOUNT_TO = \"SET_FILTER_AMOUNT_TO\" \nexport const CLEAN_FILTER = \"CLEAN_FILTER\";\nexport const RESET_FILTERS = \"RESET_FILTERS\";\n\n\n// STATE\nconst state = () => ({\n listFilters: {\n // amount:{\n // 'name': 'amount',\n // 'label': 'Importe',\n // 'value': '',\n // 'type': 'number',\n // 'icon': 'mdi-cash',\n // },\n state: {\n 'name': 'state',\n 'label': 'Estado',\n 'values':[], // TODO: multiple?\n 'user_values': [\n { value: '', text: 'Todos'},\n { value: 'draft', text: 'Borrador'},\n { value: 'pending', text: 'Contabilizando'},\n { value: 'accounting', text: 'Contabilizando...'},\n { value: 'done', text: 'Contabilizado'},\n { value: 'not_done', text: 'No Contabilizado'},\n { value: 'done_imported', text: 'Contabilizado y importado'},\n { value: 'not_done_imported', text: 'No Contabilizado ni importado'},\n { value: 'pending_sync', text: 'Pte. de sincronización'},\n { value: 'imported', text: 'Importado'},\n { value: 'error', text: 'Error'},\n { value: 'downloaded', text: 'Descargado'}\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-chart',\n 'text':''\n },\n concept: {\n 'name': 'concept',\n 'label': 'Concepto',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-file-document',\n },\n contrapartida: {\n 'name': 'contrapartida',\n 'label': 'Contrapartida',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-file-document',\n },\n not_contrapartida: {\n 'name': 'not_contrapartida',\n 'label': 'Contrapartida distinta',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-file-document-remove',\n },\n \n // asiento: {\n // 'name': 'asiento',\n // 'label': 'Asiento',\n // 'value': '',\n // 'type': 'text',\n // 'icon': 'mdi-file-document',\n // },\n date_from: {\n 'name': 'date_from',\n 'label': 'Fecha desde',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n date_to: {\n 'name': 'date_to',\n 'label': 'Fecha hasta',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n punteado: {\n 'name': 'punteado',\n 'label': 'Revisado',\n 'values':[], // TODO: multiple?\n 'user_values': [\n { value: '', text: 'Todos'},\n { value: 'yes', text: 'Sí'},\n { value: 'no', text: 'No'},\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-chart',\n 'text':''\n },\n amount_from: {\n 'name': 'amount_from',\n 'label': 'Importe desde', \n 'value': '',\n 'type': 'number',\n 'icon': 'mdi-file-document',\n }, \n amount_to: {\n 'name': 'amount_to',\n 'label': 'Importe hasta', \n 'value': '',\n 'type': 'number',\n 'icon': 'mdi-file-document',\n }\n }\n});\n\n// GETTERS\nconst getters = {\n listFilters: state => state.listFilters,\n getField\n}\n\n// ACTIONS\n\nconst removeAllFilters = ({commit},p) => {\n let text=''\n let value=''\n commit(SET_FILTER_CONCEPT, value);\n commit(SET_FILTER_CONTRAPARTIDA, value);\n commit(SET_FILTER_NOT_CONTRAPARTIDA, value);\n commit(SET_FILTER_STATE, {value,text});\n commit(SET_FILTER_DATE_FROM, value);\n commit(SET_FILTER_DATE_TO, value);\n commit(SET_FILTER_PUNTEADO, {value,text});\n commit(SET_FILTER_AMOUNT_FROM, {value, text}); \n commit(SET_FILTER_AMOUNT_TO, {value, text}); \n}\n\nconst updateObject = ({commit}, {key,value,text}) => {\n if(key=='contrapartida')\n commit(SET_FILTER_CONTRAPARTIDA, value);\n if(key=='not_contrapartida')\n commit(SET_FILTER_NOT_CONTRAPARTIDA, value);\n if(key=='concept')\n commit(SET_FILTER_CONCEPT, value);\n if(key=='state')\n commit(SET_FILTER_STATE, {value,text});\n if(key=='date_from')\n commit(SET_FILTER_DATE_FROM, value);\n if(key=='date_to')\n commit(SET_FILTER_DATE_TO, value);\n if(key=='punteado')\n commit(SET_FILTER_PUNTEADO, {value,text});\n if(key=='amount_from')\n commit(SET_FILTER_AMOUNT_FROM, {value,text}); \n if(key=='amount_to')\n commit(SET_FILTER_AMOUNT_TO, {value,text}); \n \n};\n\nconst setFilterAmount = ({commit}, value) => {\n commit(SET_FILTER_AMOUNT, value);\n};\n\nconst setFilterState = ({commit}, value) => {\n commit(SET_FILTER_STATE, value);\n};\n\nconst setFilterConcept = ({commit}, value) => {\n commit(SET_FILTER_CONCEPT, value);\n};\n\nconst setFilterAsiento = ({commit}, value) => {\n commit(SET_FILTER_ASIENTO, value);\n};\n\nconst setFilterDateFrom = ({commit}, value) => {\n commit(SET_FILTER_DATE_FROM, value);\n};\nconst setFilterDateTo = ({commit}, value) => {\n commit(SET_FILTER_DATE_TO, value);\n};\n\nconst setFilterAmountFrom = ({commit}, value) => { \n commit(SET_FILTER_AMOUNT_FROM)\n}\nconst setFilterAmountTo = ({commit}, value) => { \n commit(SET_FILTER_AMOUNT_TO)\n}\n\nconst setFilter = ({commit}, {key, value}) => {\n commit(SET_FILTERS_DATA_KEY, {key, value});\n};\n\nconst cleanFilter = ({commit}, key) => {\n commit(CLEAN_FILTER, key);\n};\n\nconst resetFilters = ({commit}) => {\n commit(RESET_FILTERS);\n};\n\nexport const actions = {\n setFilterAmount,\n setFilterState,\n setFilterConcept,\n setFilterAsiento,\n setFilterDateFrom,\n setFilterDateTo,\n setFilterAmountFrom,\n setFilterAmountTo, \n setFilter,\n cleanFilter,\n resetFilters,\n updateObject,\n removeAllFilters,\n}\n\n// MUTATIONS\nconst mutations = {\n [SET_FILTERS_DATA_KEY](state, {key, value}) {\n state.listFilters[key].value = value;\n },\n [SET_FILTER_AMOUNT](state, {value}) {\n state.listFilters['amount'].value = value;\n },\n [SET_FILTER_STATE](state, {value,text}) {\n state.listFilters['state'].value = value;\n state.listFilters['state'].text = text;\n },\n [SET_FILTER_CONCEPT](state, value) {\n state.listFilters['concept'].value = value;\n },\n [SET_FILTER_CONTRAPARTIDA](state, value) {\n state.listFilters['contrapartida'].value = value;\n },\n [SET_FILTER_NOT_CONTRAPARTIDA](state, value) {\n state.listFilters['not_contrapartida'].value = value;\n },\n [SET_FILTER_ASIENTO](state, value) {\n state.listFilters['asiento'].value = value;\n },\n [SET_FILTER_DATE_FROM](state, value) {\n state.listFilters['date_from'].value = value;\n },\n [SET_FILTER_DATE_TO](state, value) {\n state.listFilters['date_to'].value = value;\n },\n [SET_FILTER_PUNTEADO](state, {value,text}) {\n state.listFilters['punteado'].value = value;\n state.listFilters['punteado'].text = text;\n },\n [SET_FILTER_AMOUNT_FROM](state, {value,text}){ \n state.listFilters['amount_from'].value = value;\n },\n [SET_FILTER_AMOUNT_TO](state, {value,text}){ \n state.listFilters['amount_to'].value = value;\n },\n [CLEAN_FILTER](state, key) {\n state.listFilters[key].value = '';\n },\n [RESET_FILTERS](state) {\n for (const key in state.listFilters) {\n state.listFilters[key].value = '';\n }\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}","import { getField } from 'vuex-map-fields';\n\n// TYPES\n\nexport const SET_FILTERS_DATA_KEY = 'SET_FILTERS_DATA_KEY';\nexport const SET_FILTER_STATE = \"SET_FILTER_STATE\";\nexport const SET_FILTER_CONCEPT = \"SET_FILTER_CONCEPT\";\nexport const SET_FILTER_DATE_FROM = \"SET_FILTER_DATE_FROM\";\nexport const SET_FILTER_DATE_TO = \"SET_FILTER_DATE_TO\";\nexport const SET_FILTER_EFFECT_TYPE = \"SET_FILTER_EFFECT_TYPE\";\nexport const SET_FILTER_ORIGIN = \"SET_FILTER_ORIGIN\";\nexport const CLEAN_FILTER = \"CLEAN_FILTER\";\nexport const RESET_FILTERS = \"RESET_FILTERS\";\n\n\n// STATE\nconst state = () => ({\n listFilters: { \n state: {\n 'name': 'state',\n 'label': 'Estado',\n 'values':[], // TODO: multiple?\n 'user_values': [\n { value: '', text: 'Todos'},\n { value: 'no_punteado', text: 'No punteado'},\n { value: 'punteado_parcial', text: 'Punteado Parcialmente'},\n { value: 'punteado', text: 'Punteado'},\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-chart',\n 'text':''\n },\n concept: {\n 'name': 'concept',\n 'label': 'Concepto',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-file-document',\n }, \n date_from: {\n 'name': 'date_from',\n 'label': 'Fecha desde',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n date_to: {\n 'name': 'date_to',\n 'label': 'Fecha hasta',\n 'value': '',\n 'type': 'date',\n 'icon': 'mdi-calendar',\n },\n effect_type: {\n 'name': 'effect_type',\n 'label': 'Tipo efecto',\n 'values':[], // TODO: multiple?\n 'user_values': [\n { value: '', text: 'Todos'},\n { value: 'payable_effect', text: 'Efecto de pago'},\n { value: 'receivable_effect', text: 'Efecto de cobro'},\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-file-chart',\n 'text':''\n },\n origin: {\n 'name': 'origin',\n 'label': 'Origen',\n 'values':[], // TODO: multiple?\n 'user_values': [\n { value: '', text: 'Todos'},\n { value: 'excel_effect', text: 'Excel'},\n { value: 'inmatic', text: 'Inmatic'},\n { value: 'accounting_program_effect', text: 'Programa Contable'},\n { value: 'manual', text: 'Manual'},\n ],\n 'multiple': false,\n 'value': '',\n 'type': 'select',\n 'icon': 'mdi-earth',\n 'text':''\n },\n }\n});\n\n// GETTERS\nconst getters = {\n listFilters: state => state.listFilters,\n getField\n}\n\n// ACTIONS\n\nconst removeAllFilters = ({commit},p) => {\n let value=''\n let text=''\n commit(SET_FILTER_CONCEPT, value); \n commit(SET_FILTER_STATE, {value,text});\n commit(SET_FILTER_DATE_FROM, value);\n commit(SET_FILTER_DATE_TO, value);\n commit(SET_FILTER_EFFECT_TYPE, {value,text});\n commit(SET_FILTER_ORIGIN, {value,text});\n}\n\nconst updateObject = ({commit}, {key,value,text}) => {\n if(key=='concept')\n commit(SET_FILTER_CONCEPT, value);\n if(key=='state')\n commit(SET_FILTER_STATE, {value,text});\n if(key=='date_from')\n commit(SET_FILTER_DATE_FROM, value);\n if(key=='date_to')\n commit(SET_FILTER_DATE_TO, value);\n if(key=='effect_type')\n commit(SET_FILTER_EFFECT_TYPE, {value,text});\n if(key=='origin')\n commit(SET_FILTER_ORIGIN, {value,text});\n \n};\n\nconst setFilterState = ({commit}, value) => {\n commit(SET_FILTER_STATE, value);\n};\n\nconst setFilterConcept = ({commit}, value) => {\n commit(SET_FILTER_CONCEPT, value);\n};\n\nconst setFilterDateFrom = ({commit}, value) => {\n commit(SET_FILTER_DATE_FROM, value);\n};\nconst setFilterDateTo = ({commit}, value) => {\n commit(SET_FILTER_DATE_TO, value);\n};\n\nconst setFilterEffectType = ({commit}, value) => {\n commit(SET_FILTER_EFFECT_TYPE, value);\n};\nconst setFilterOrigin = ({commit}, value) => {\n commit(SET_FILTER_ORIGIN, value);\n };\n\nconst setFilter = ({commit}, {key, value}) => {\n commit(SET_FILTERS_DATA_KEY, {key, value});\n};\n\nconst cleanFilter = ({commit}, key) => {\n commit(CLEAN_FILTER, key);\n};\n\nconst resetFilters = ({commit}) => {\n commit(RESET_FILTERS);\n};\n\nexport const actions = { \n setFilterState,\n setFilterConcept, \n setFilterDateFrom,\n setFilterDateTo,\n setFilterEffectType,\n setFilterOrigin,\n setFilter,\n cleanFilter,\n resetFilters,\n updateObject,\n removeAllFilters,\n}\n\n// MUTATIONS\nconst mutations = {\n [SET_FILTERS_DATA_KEY](state, {key, value}) {\n state.listFilters[key].value = value;\n }, \n [SET_FILTER_STATE](state, {value,text}) {\n state.listFilters['state'].value = value;\n state.listFilters['state'].text = text;\n },\n [SET_FILTER_CONCEPT](state, value) {\n state.listFilters['concept'].value = value;\n }, \n [SET_FILTER_DATE_FROM](state, value) {\n state.listFilters['date_from'].value = value;\n },\n [SET_FILTER_DATE_TO](state, value) {\n state.listFilters['date_to'].value = value;\n },\n [SET_FILTER_EFFECT_TYPE](state, {value,text}) {\n state.listFilters['effect_type'].value = value;\n state.listFilters['effect_type'].text = text;\n },\n [SET_FILTER_ORIGIN](state, {value,text}) {\n state.listFilters['origin'].value = value;\n state.listFilters['origin'].text = text;\n },\n [CLEAN_FILTER](state, key) {\n state.listFilters[key].value = '';\n },\n [RESET_FILTERS](state) {\n for (const key in state.listFilters) {\n state.listFilters[key].value = '';\n }\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}","import { getField } from 'vuex-map-fields';\n\n// TYPES\nexport const SET_FILTERS_DATA_KEY = 'SET_FILTERS_DATA_KEY';\nexport const SET_FILTER_DESCRIPTION = \"SET_FILTER_DESCRIPTION\";\nexport const SET_FILTER_CODE = \"SET_FILTER_CODE\";\nexport const CLEAN_FILTER = \"CLEAN_FILTER\";\nexport const RESET_FILTERS = \"RESET_FILTERS\";\n\n\n// STATE\nconst state = () => ({\n listFilters: { \n description: {\n 'name': 'description',\n 'label': 'Descripción',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-file-document',\n }, \n code: {\n 'name': 'code',\n 'label': 'Código',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-file-document',\n },\n }\n});\n\n// GETTERS\nconst getters = {\n listFilters: state => state.listFilters,\n getField\n}\n\n// ACTIONS\nconst removeAllFilters = ({commit},p) => {\n let value=''\n let text=''\n commit(SET_FILTER_DESCRIPTION, value); \n commit(SET_FILTER_CODE, value);\n}\n\nconst updateObject = ({commit}, {key,value,text}) => {\n if(key=='description')\n commit(SET_FILTER_DESCRIPTION, value);\n if(key=='code')\n commit(SET_FILTER_CODE, value);\n \n};\n\nconst setFilterDescription = ({commit}, value) => {\n commit(SET_FILTER_DESCRIPTION, value);\n};\n\nconst setFilterCode = ({commit}, value) => {\n commit(SET_FILTER_CODE, value);\n};\n\nconst setFilter = ({commit}, {key, value}) => {\n commit(SET_FILTERS_DATA_KEY, {key, value});\n};\n\nconst cleanFilter = ({commit}, key) => {\n commit(CLEAN_FILTER, key);\n};\n\nconst resetFilters = ({commit}) => {\n commit(RESET_FILTERS);\n};\n\nexport const actions = { \n setFilterDescription, \n setFilterCode,\n setFilter,\n cleanFilter,\n resetFilters,\n updateObject,\n removeAllFilters,\n}\n\n// MUTATIONS\nconst mutations = {\n [SET_FILTERS_DATA_KEY](state, {key, value}) {\n state.listFilters[key].value = value;\n }, \n [SET_FILTER_DESCRIPTION](state, value) {\n state.listFilters['description'].value = value;\n }, \n [SET_FILTER_CODE](state, value) {\n state.listFilters['code'].value = value;\n },\n [CLEAN_FILTER](state, key) {\n state.listFilters[key].value = '';\n },\n [RESET_FILTERS](state) {\n for (const key in state.listFilters) {\n state.listFilters[key].value = '';\n }\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}","import Vuex from 'vuex'\nimport Vue from 'vue'\n\nimport { STANDARD_LABELS, INFO_LABELS, TAXES_LABELS, BASES_LABELS } from \"./constants\";\nimport { buildStore } from \"./build_store\"\n\nimport countries from \"./modules/countries\";\nimport configuration from \"./modules/configuration\";\nimport me from \"./modules/me\";\nimport documents from \"./modules/documents\";\nimport deleted_documents from \"./modules/deleted_documents\";\nimport connector from \"./modules/connector\";\nimport accounts from \"./modules/accounts\";\nimport tutorial from \"./modules/tutorial\";\nimport permissions from './modules/permissions';\nimport tax_tab from \"./modules/tax_tab\";\nimport setting_repository from './modules/setting_repository';\nimport cru from \"./modules/cru\";\nimport dialog_contract from \"./modules/dialog_contract\";\nimport legal_contract from \"./modules/legal_contract\";\nimport dialog_payment from \"./modules/dialog_payment\";\nimport dialog_bank_rules from \"./modules/dialog_bank_rules\";\nimport kpis from \"./modules/kpis\";\nimport contracts from \"./modules/contracts\";\nimport network_drives from \"./modules/network_drives\";\nimport config from \"./modules/config\";\nimport pdf_data from \"./modules/pdf_data\";\nimport text_tags from \"./modules/text_tags\";\nimport locations from \"./modules/locations\";\nimport webhook from './modules/webhook';\nimport webhook_request from './modules/webhook_request';\nimport payment_ok_modal from './modules/payment_ok_modal';\nimport payment_error_modal from './modules/payment_error_modal';\nimport messageModal from './modules/messageModal';\nimport users_permissions from './modules/users_permissions';\nimport cookies from './modules/cookies';\nimport notifications from \"./modules/notifications\";\nimport axios from 'axios';\nimport transactions from \"./modules/transactions\";\nimport effects from \"./modules/effects\";\nimport products from \"./modules/products\";\n\n// import { getField, updateField } from 'vuex-map-fields';\nimport router from '@/router'\nimport {client, setHeaders} from \"@/api/client\";\n// import axios from 'axios';\n// import vuetify from '../plugins/vuetify';\n\nimport {Auth} from 'aws-amplify'\n\n\n\n\nconst debug = process.env.NODE_ENV !== 'production'\n\nVue.use(Vuex)\n\nconst store = buildStore(\n { //modules\n countries,\n configuration,\n me,\n documents,\n connector,\n accounts,\n tutorial,\n cru,\n kpis,\n contracts,\n permissions,\n network_drives,\n config,\n dialog_contract,\n legal_contract,\n dialog_payment,\n dialog_bank_rules,\n tax_tab,\n setting_repository,\n pdf_data,\n deleted_documents,\n text_tags,\n locations,\n webhook,\n webhook_request,\n payment_error_modal,\n payment_ok_modal,\n messageModal,\n users_permissions,\n cookies,\n notifications,\n transactions,\n effects, \n products\n },\n { //state\n router_name: '',\n\n // TODO: Move to documents\n currentPage: 1,\n // TODO: Move to configuration\n labels: {\n info_labels: INFO_LABELS,\n bases_labels: BASES_LABELS,\n taxes_labels: TAXES_LABELS,\n human: STANDARD_LABELS,\n human_payroll: [\n { name: \"fecha\", color: \"indigo\", text: \"Fecha\" },\n { name: \"num_ss\", color: \"red\", text: \"Núm. SS.\" },\n { name: \"nombre\", color: \"orange\", text: \"Nombre\" },\n { name: \"apellido1\", color: \"yellow\", text: \"Primer apellido\" },\n { name: \"apellido2\", color: \"green\", text: \"Segundo apellido\" },\n { name: \"sb\", color: \"blue\", text: \"Sueldo bruto\" },\n { name: \"total_ss\", color: \"purple\", text: \"SS Empresa\" },\n { name: \"dto_ss\", color: \"pink\", text: \"SS Empleado\" },\n { name: \"irpf\", color: \"brown\", text: \"IRPF\" },\n ],\n machine: STANDARD_LABELS,\n debug: STANDARD_LABELS,\n \"040_inv_number_tag\": [\n { name: \"\", color: \"red\", text: \"AlphaNum\" },\n { name: \"\", color: \"green\", text: \"Num\" },\n { name: \"\", color: \"blue\", text: \"Neighbour\" },\n { name: \"\", color: \"#CCCCCC\", text: \"Background\" },\n ],\n },\n // TODO: Move to configuration module\n \n docStates: [\n { value: 'done', text: 'Contabilizado'},\n { value: 'text_detected', text: 'Texto detectado'},\n { value: 'pending_connect', text: 'Contabilizando'},\n { value: 'accounting_aplifisa_fiscal', text: 'Contabilizando (fiscal)'},\n { value: 'accounting_invoice', text: 'Contabilizando (invoice)'},\n { value: 'uploading_bucket', text: 'Cargando'},\n { value: 'pending', text: 'En proceso'},\n { value: 'pending_review', text: 'Pendiente de revisión'},\n { value: 'error_supplier_not_found', text: 'Proveedor no encontrado'},\n { value: 'error_customer_not_found', text: 'Cliente no encontrado'},\n { value: 'error_document_duplicated', text: 'Factura duplicada'},\n { value: 'error_checking_taxes', text: 'Error de validación de importes'},\n { value: 'error_creating_moves', text: 'Error de creación de asiento'},\n { value: 'error_account_connector', text: 'Error de contabilización'},\n { value: 'error_validating_moves', text: 'Error de validación de asiento'},\n { value: 'error_validating_data', text: 'Error de validación de datos'},\n { value: 'error_text_detection', text: 'Error de detección de texto'},\n { value: 'error_insufficient_balance', text: 'Error de saldo insuficiente'},\n { value: 'assigned_contract', text: 'Contrato Asignado'},\n { value: 'error_format', text: 'Error de Formato'},\n { value: 'nif_detected', text: 'NIF Detected'},\n { value: 'nif_validated', text: 'NIF Validated'},\n { value: 'data_detected', text: 'Data Detected'},\n { value: 'data_formatted', text: 'Data Formatted'},\n { value: 'data_validated', text: 'Data Validated'},\n { value: 'move_created', text: 'Move Created'},\n { value: 'move_loaded', text: 'Move Loaded'},\n { value: 'check_duplicated_ok', text: 'Invoice number checked'},\n { value: 'error', text: 'Error'},\n { value: 'split', text: 'Separando'},\n { value: 'human_annotated', text: 'Human annotated'},\n { value: 'pending_review', text: 'Pendiente de revisión'},\n { value: 'not_supported', text: 'Formato no soportado'},\n { value: 'oriented', text: 'Oriented'},\n { value: 'move_validated', text: 'Move Validated'},\n { value: 'merging', text: 'Uniendo documentos'},\n { value: 'not_simulated', text: 'No simulado'},\n \n ],\n // TODO: End\n nextLabel: null,\n search_state: '',\n // selectedText: null,\n // writing: false,\n // creating_moves: false,\n // TODO: Move to configuration\n // annotationLayer: 'human',\n // selectedLabel: null,\n\n // TODO: Moved to documents module\n // docId: null,\n // currentDoc: null,\n // docFetched: false,\n // TODO: End\n\n companies: [],\n companydbs: [],\n suppliers: [],\n customers: [],\n nstpaths: [],\n jwtToken: '',\n isLogged: 'pending', // pending, yes, no\n isLoggedPromise: null,\n session_information: '',\n tags: [],\n currentCompany: null,\n // showModalSupplier: false,\n // showModalCustomer: false,\n retentionTypes: [],\n docRetentionTypes: [\n {'value': 'no_applies', 'text': 'N/A'},\n {'value': 'retention_professional_account', 'text': 'Profesional'},\n {'value': 'retention_professional_start_act_account', 'text': 'Profesional Inicio Act.'},\n {'value': 'retention_rental_account', 'text': 'Alquiler'},\n {'value': 'retention_paycheck_account', 'text': 'Nómina'},\n {'value': 'retention_agriculture_account', 'text': 'Agricultura y ganadería'},\n {'value': 'retention_livestock_account', 'text': 'Engorde porcino'},\n {'value': 'retention_capital_account', 'text': 'Capital mobiliario'},\n {'value': 'retention_transport_account', 'text': 'Transporte'}\n ],\n automaticPaymentAccountTypes: [\n {'value': 'na', 'text': 'N/A'},\n {'value': 'y', 'text': 'Sí'},\n {'value': 'n', 'text': 'No'},\n {'value': 'm', 'text': 'Manual'}\n ],\n thirdTypeTypes: [\n {'text': 'Persona física', 'value': 'fisica'},\n {'text': 'Persona jurídica', 'value': 'juridica'}\n ],\n fetching_companydbs: false,\n dashboard_data: undefined,\n supplierRowsPerPage: 10,\n customerRowsPerPage: 10,\n projects: [],\n channels: [],\n activities: [],\n expens_type: [],\n income_type: [],\n zones: [\n {\n heading: \"Documentos\",\n items: [\n {\n icon: \"mdi-file-document-outline\",\n text: \"Facturas\",\n link: \"/documents\",\n shouldShow: true,\n },\n ]\n },\n {\n heading: \"Empresas\",\n items: [\n {\n icon: \"mdi-card-account-details-outline\",\n text: \"Proveedores\",\n link: \"/suppliers\",\n shouldShow: true,\n },\n {\n icon: \"mdi-folder-account-outline\",\n text: \"Clientes\",\n link: \"/customers\",\n shouldShow: true,\n },\n ]\n },\n {\n heading: \"Ajustes\",\n items: [\n {\n icon: \"mdi-cog-outline\",\n text: \"Ajustes\",\n link: \"/settings\",\n shouldShow: false,\n },\n {\n icon: \"mdi-trash-can-outline\",\n text: \"Papelera\",\n link: \"/deleted-documents\",\n shouldShow: false,\n },\n ]\n }\n ],\n\n objectListOptions: {},\n objectListLoading: false,\n objectListBaseUrl: \"\",\n objectListFilters: \"\",\n objectListItems: [],\n objectListItemsLength: 0,\n objectListSelected: [],\n\n browserFilts: \"\",\n browserFiltersValues: [],\n browserFunctions: [],\n user_items: [],\n menu: false,\n sellTermsDialog: false,\n show_accounting_critical_error_msg: false,\n\n downloadJobState: 'done',\n asyncJobId: 0,\n\n strange_order_fields: {\n 'credit_account': 'credit_account_integer',\n 'income_account': 'income_account_integer',\n },\n oauth_url:'',\n oauth_msg: 'A continuación se redireccionará a A3 Innuva para reconectar su cuenta. ¿Está seguro?',\n default_activity: undefined,\n oauth_params_storage: undefined,\n exe_link: '',\n },debug,\n { //extra getters\n router() {\n return router\n },\n },\n {//extra actions\n createUI({commit, state, getters, dispatch, rootGetters}) {\n let userData = rootGetters[\"me/userData\"];\n let permission = rootGetters[\"permissions/permission\"];\n let ui = [\n {\n title: 'Cerrar Sesión', click: ()=>{\n commit(\"SET_MENU\", false);\n dispatch(\"signOut\").then(() => {\n router.replace({name: 'login'}, () => {\n window.location.reload();\n });\n })\n }\n },\n ];\n\n // ui.unshift({\n // title: 'Formación', click: ()=>{\n // commit(\"SET_MENU\", false);\n // window.open('https://inmatic.ai/webinar/pildoras/formulario', '_blank');\n // }\n // });\n \n if (permission.general && permission.general.can_admin && userData && ['docunecta', 'glasof'].indexOf(userData.sender_docs_user_distributor_code)== -1 &&\n !userData.available_features.feature_hide_invoices) {\n ui.unshift({\n title: 'Novedades',\n click: () => {\n commit(\"SET_MENU\", false);\n window.open('https://inmatic.ai/novedades/', '_blank');\n }\n });\n }\n /*\n if (permission.general && permission.general.can_admin && userData && userData.username && userData.sender_docs_user_distributor_code!='docunecta') {\n ui.unshift({\n title: 'Formación',\n click: () => {\n commit(\"SET_MENU\", false);\n window.open('https://inmatic.ai/recursos/formacion/?usuario=' + userData.username, '_blank');\n }\n });\n }*/\n if (userData && (userData.is_staff || (state.session_information && userData.username && state.session_information.username != userData.username) || (permission.general && permission.general.can_admin && userData.available_features && userData.available_features.feature_network_drives))&&\n !userData.available_features.feature_hide_invoices) {\n ui.unshift({\n title: 'Unidades de Red',\n click: () => {\n commit(\"SET_MENU\", false);\n router.push({name: 'network-drives'});\n }\n });\n }\n if (userData.available_features && permission.general && permission.general.can_admin &&\n !userData.available_features.feature_hide_invoices) {\n if (userData.available_features['feature_config_locations']) {\n ui.unshift({\n title: 'Ubicaciones',\n click: () => {\n commit(\"SET_MENU\", false);\n router.push({name: 'locations'});\n }\n });\n }\n if (userData.available_features.feature_download_client && state.exe_link) {\n ui.unshift({\n title: 'Descargar Cliente',\n click: () => {\n commit(\"SET_MENU\", false);\n window.open(state.exe_link, '_blank');\n }\n });\n }\n if ((userData.is_staff || (state.session_information && state.session_information.username != userData.username)) && !getters.is_mobile) {\n ui.unshift({\n title: 'Registro de acceso',\n click: ()=>{\n commit(\"SET_MENU\", false);\n router.push({name: 'access-registers'});\n }\n });\n }\n if (rootGetters.got_feature('feature_config_users') && !getters.is_mobile &&\n !userData.available_features.feature_hide_invoices) {\n ui.unshift({\n title: 'Usuarios',\n click: ()=>{\n commit(\"SET_MENU\", false);\n router.push({name: 'users-permissions'});\n }\n });\n }\n }\n \n if (userData.is_staff) { \n // ui.splice(2, 0, {\n ui.unshift({\n title: 'KPIs', click: ()=>{\n // router.push({name: 'kpis'});\n let routeData = router.resolve({name: 'kpis'});\n window.open(routeData.href, '_blank');\n }\n });\n\n \n }\n if (userData.username == 'gemma.demo' || userData.username == 'support.gemma' || userData.username == 'support.rosana' || \n userData.username == 'soporte.joan' || userData.username == 'support.carlos' || userData.username == 'support.daniel_luna') { \n ui.unshift({\n title: 'Información Onboard', click: ()=>{\n let routeData = router.resolve({name: 'onboard-information'});\n window.open(routeData.href, '_blank');\n }\n });\n \n }\n if (userData && (userData.is_staff || (state.session_information && userData.username && state.session_information.username != userData.username))) { \n ui.unshift({\n title: 'Funcionalidades', click: ()=>{\n let routeData = router.resolve({name: 'features'});\n window.open(routeData.href, '_blank');\n }\n });\n\n ui.unshift({\n title: 'Guidelines', click: ()=>{\n // router.push({name: 'kpis'});\n let routeData = router.resolve({name: 'guidelines-list'});\n window.open(routeData.href, '_blank');\n }\n });\n \n }\n \n if (!getters.is_mobile &&\n (!userData.available_features.feature_hide_invoices || (state.session_information && userData.username && state.session_information.username != userData.username))) {\n ui.unshift({\n title: 'Mis Datos',\n click: () => {\n commit(\"SET_MENU\", false);\n router.push({ name: 'profile' });\n }\n });\n if(userData && userData.available_features.feature_reports){\n ui.unshift({\n title: 'Informes', click: ()=>{\n commit(\"SET_MENU\", false);\n router.push({name: 'reports'});\n }\n });\n }\n\n if (permission.general && (permission.general.can_admin || permission.is_employee) &&\n !userData.available_features.feature_hide_invoices) {\n ui.unshift({\n title: 'Configuración',\n click: () => {\n commit(\"SET_MENU\", false);\n router.push({ name: 'user-configuration' });\n }\n });\n ui.unshift({\n title: 'Cuadro Resumen Contabilidad', click: ()=>{\n commit(\"SET_MENU\", false);\n // router.push({name: 'dashboard'});\n let routeData = router.resolve({name: 'dashboard'});\n window.open(routeData.href, '_blank');\n }\n });\n }\n\n if (permission.general && (permission.general.can_admin || permission.is_employee) \n && userData.can_view_banks && !rootGetters.got_feature('feature_hide_banks') && userData.has_active_bank_contract) {\n ui.unshift({\n title: 'Cuadro Resumen Bancos', click: ()=>{\n commit(\"SET_MENU\", false);\n let routeData = router.resolve({name: 'dashboard-bank'});\n window.open(routeData.href, '_blank');\n }\n });\n }\n if (!permission.is_readonly && userData.available_features && userData.available_features.feature_other_documents &&\n !userData.available_features.feature_hide_invoices){\n ui.unshift({\n title: 'Cuadro Resumen Gestor', click: ()=>{\n commit(\"SET_MENU\", false);\n let routeData = router.resolve({name: 'dashboard-gestor'});\n window.open(routeData.href, '_blank');\n }\n });\n }\n if(!userData.available_features.feature_hide_invoices){\n ui.unshift({\n title: 'Mis Empresas', click: ()=>{\n commit(\"SET_MENU\", false);\n router.push({name: 'connectors'});\n }\n });\n }\n }\n if (permission.is_readonly){\n dispatch(\"setActivities\", state.currentCompany.id);\n dispatch(\"setProjects\", state.currentCompany.id);\n dispatch(\"setChannels\", state.currentCompany.id);\n dispatch(\"setExpensIncomeType\", state.currentCompany.id);\n }\n commit(\"SET_USER_ITEMS\", ui)\n },\n\n createUICerrarSesion({commit, state, getters, dispatch, rootGetters}) {\n let ui = [\n {\n title: 'Cerrar Sesión', click: ()=>{\n commit(\"SET_MENU\", false);\n dispatch(\"signOut\").then(() => {\n router.replace({name: 'login'}, () => {\n window.location.reload();\n });\n })\n }\n },\n ];\n commit(\"SET_USER_ITEMS\", ui)\n },\n\n\n async setAfterLogged({ commit, state, getters, dispatch, rootGetters }) {\n dispatch(\"createUICerrarSesion\");\n await dispatch('setCompanydbs');\n let cdb = get_cdb();\n if(cdb)\n await dispatch('resetCurrentCompany',{new_company: {'id':cdb.id}});\n await dispatch(\"me/refreshUserData\");\n if(cdb) {\n await dispatch('setZones', cdb.id);\n }\n await dispatch('setExeLink');\n let userData = rootGetters[\"me/userData\"];\n //Aviso para usuarios bloqueados\n if (userData && userData.hasOwnProperty('blocked') && userData.blocked) {\n let msg_user_blocked = 'Usuario bloqueado temporalmente. Contacte con su asesor.';\n dispatch(\"messageModal/setModal\", {'text': msg_user_blocked, 'showConfirmButton': false});\n dispatch(\"signOut\");\n if(userData.hasOwnProperty('username') && state.session_information && state.session_information.hasOwnProperty('username') && state.session_information.username != userData.username) {\n let unset_loginas_params = {\n 'logged_username': state.session_information.username,\n 'loginas_username': userData.username,\n };\n dispatch(\"unsetLoginas\", unset_loginas_params);\n }\n }\n let alert_about_expiry = false;\n if (getters.router.currentRoute.path == '/initial' && \"about_expiry\" in getters.router.currentRoute.query) { \n alert_about_expiry = true;\n }\n else if (getters.router.currentRoute.name == 'login') {\n try {\n if (sessionStorage.getItem('inmatic_about_expiry')) {\n sessionStorage.removeItem('inmatic_about_expiry');\n alert_about_expiry = true ; \n }\n } catch (e) {} \n } \n showAlertContractIfNeeded(alert_about_expiry);\n dispatch(\"setChoices\");\n // dispatch(\"setDocRetentionTypes\");\n // dispatch(\"setAutomaticPaymentAccountTypes\");\n dispatch(\"notifications/fetchNotifications\");\n if (getters.router.currentRoute.path == '/initial'){\n if(cdb){\n if(userData.available_features.feature_hide_invoices)\n getters.router.push({'name': 'generic-document-list', 'params': { 'companydb_id': cdb.id }})\n else\n getters.router.push({'name': 'document-list', 'params': { 'companydb_id': cdb.id }})\n \n }\n else if (userData.kind == 'organization')\n getters.router.push({'name': 'connectors'});\n }\n if (userData.can_see_training_documents) {\n dispatch(\"documents/setIsTrainerMode\", true);\n } \n if (userData.can_debug_documents) {\n dispatch(\"documents/setIsDebuggerMode\", true);\n } \n \n function get_cdb() {\n let cdb;\n if(getters.router.currentRoute.name != 'document-detail'){\n \n if ('companydb_id' in getters.router.currentRoute.params && getters.router.currentRoute.params['companydb_id']) {\n let companydb_id = getters.router.currentRoute.params['companydb_id'];\n cdb = getters.get_companydbs.find((element) => element.id == companydb_id);\n }\n if (!cdb) {\n let keyLastCompany = getters['setting_repository/keyLastCompany'];\n let lastCompany_id = getters['setting_repository/getSettings'](keyLastCompany);\n cdb = getters.get_companydbs.find((element) => element.id == lastCompany_id);\n }\n if (!cdb)\n cdb = getters.get_companydbs[0];\n }\n return cdb;\n }\n\n function showAlertContractIfNeeded(alert_about_expiry=false) {\n if ((userData.available_features.feature_defaulter_user || userData.available_features.feature_bank_contract_finished) && userData.available_features.feature_payment_on_inmatic && !userData.sender_docs_user_distributor_code) {\n // $route.name\n if (getters.router.currentRoute.name && !['create-upgrate-contract', 'payment-error', 'payment-ok'].includes(getters.router.currentRoute.name)) {\n dispatch(\"dialog_payment/openContractModal\", {'msg': 'Tu contrato ha expirado o ha excedido el número máximo de documentos.', 'distributor': false, 'facturae_client': false});\n }\n // setInterval(function () {\n // if (getters.router.currentRoute.name && !['create-upgrate-contract', 'payment-error', 'payment-ok'].includes(getters.router.currentRoute.name)) {\n // dispatch(\"dialog_payment/openContractModal\", 'Tu contrato ha expirado o ha excedido el número máximo de documentos.');\n // }\n // }, 3 * 60 * 1000);\n }\n else if (alert_about_expiry && userData.available_features.feature_contract_is_going_to_finish && userData.available_features.feature_payment_on_inmatic) {\n dispatch(\"dialog_payment/openContractModal\", {'msg': 'Tu contrato está a punto de expirar o de exceder el número máximo de documentos.', 'distributor': false, 'facturae_client': false});\n }\n else if (alert_about_expiry && userData.available_features.feature_trial_contract_is_finished && userData.available_features.feature_payment_on_inmatic) {\n dispatch(\"dialog_payment/openContractModal\", {'msg': 'Tu contrato es de prueba, cuando expire el periodo de prueba o se excedan el número de documentos de prueba necesitarás contratar un plan.', 'distributor': false, 'facturae_client': false});\n }\n }\n //----------------------------------------------SHOULD NOT BE HERE------------------------------------------------------------\n //----------------------------------------------------------------------------------------------------------------------------\n \n // await dispatch('permissions/getPermissions', state.currentCompany.id);\n // let company = (await dispatch('connector/fetchConnector', state.currentCompany)).data;\n // commit('SET_CURRENT_COMPANY', company);\n // commit('SET_DEFAULT_ACTIVITY', state.currentCompany.configuration.actividad, { root: true })\n \n // if (userData.available_features && userData.available_features.feature_filter_by_ejercicio) {\n // if (state.currentCompany.links.length) {\n // let link = {\n // 'id': 0,\n // 'min_date': '1900-01-01',\n // };\n // for (let i in state.currentCompany.links) {\n // if (state.currentCompany.links[i].active && state.currentCompany.links[i].min_date > link['min_date']) {\n // link = state.currentCompany.links[i];\n // }\n // }\n // if (link['id']) {\n // dispatch(\"documents/setFilterDataEjercicioValue\", link['id']);\n // dispatch(\"documents/generateFilters\");\n // }\n // }\n // }\n // dispatch(\"documents/setCurrentStateChip\", false);\n // dispatch(\"documents/setAllCurrentsFilters\", false);\n // dispatch(\"documents/refreshData\"); \n // dispatch(\"refreshData\", '');\n // dispatch(\"createUI\");\n \n // await dispatch(\"documents/getHeader\");\n\n // try{ \n // let currentDoc = rootGetters[\"documents/currentDocument\"]\n // if (currentDoc) {\n // dispatch(\"setSuppliers\", this.currentDoc.companydb);\n // dispatch(\"setCustomers\", this.currentDoc.companydb);\n // dispatch(\"setProjects\", this.currentDoc.companydb);\n // dispatch(\"setChannels\", this,currentDoc.companydb);\n // dispatch(\"setActivities\", this.currentDoc.companydb);\n // } else {\n // dispatch(\"setProjects\", state.currentCompany.id);\n // dispatch(\"setChannels\", state.currentCompany.id);\n // dispatch(\"setActivities\", state.currentCompany.id);\n // }\n // }catch(error){\n // if (state.currentCompany) {\n // dispatch(\"setProjects\", state.currentCompany.id);\n // dispatch(\"setChannels\", state.currentCompany.id);\n // dispatch(\"setActivities\", state.currentCompany.id);\n // }\n // }\n //----------------------------------------------------------------------------------------------------------------------------\n //----------------------------------------------------------------------------------------------------------------------------\n \n },\n\n setCompanydbs(context) {\n return new Promise((resolve, reject) => {\n context.commit('FETCHING_COMPANY_DBS', true)\n client.get('get_companydbs/').then(response => {\n let cdbs = [];\n for (let i in response.data.results) {\n if (response.data.results[i]['name'] !== null) {\n cdbs.push(response.data.results[i])\n }\n }\n\n context.commit('SET_COMPANY_DBS', cdbs)\n context.commit('FETCHING_COMPANY_DBS', false)\n //----------------------------------------------SHOULD NOT BE HERE------------------------------------------------------------\n //----------------------------------------------------------------------------------------------------------------------------\n \n // if (!context.state.currentCompany) {\n // let keyLastCompany = context.getters['setting_repository/keyLastCompany'];\n // let lastCompany = context.getters['setting_repository/getSettings'](keyLastCompany);\n // let companydb_id;\n // if ('companydb_id' in context.getters.router.currentRoute.params && context.getters.router.currentRoute.params['companydb_id']) {\n // companydb_id = context.getters.router.currentRoute.params['companydb_id'];\n // }\n // else if ('id' in context.getters.router.currentRoute.params && context.getters.router.currentRoute.params['id']) {\n // companydb_id = context.getters.router.currentRoute.params['id'];\n // }\n // else {\n // let userData = context.rootGetters[\"me/userData\"];\n // if (!userData.is_staff)\n // companydb_id = lastCompany;\n // }\n // context.dispatch(\"connector/checkCompanyApi\", { company_id: companydb_id, route: context.getters.router.currentRoute.path }).then((response) => {\n // if (response.data && response.data.type == 'redirect') {\n // context.dispatch(\"setOauthUrl\",{url : response.data.url})\n // }\n // }, function(error) {});\n // let conep = 0;\n // for (let i in response.data.results) {\n // if (companydb_id && response.data.results[i].id == companydb_id) {\n // conep = i;\n // } \n // }\n // if (response && response.data && response.data.results && response.data.results.length > 0) {\n // context.dispatch('setCurrentCompany', response.data.results[conep]); //aaaaaaaaaa needs checking\n // if (context.getters.router.currentRoute.path == '/initial' || context.getters.router.currentRoute.path == '/documents'){\n // if (response.data.results && response.data.results.length > 0) {\n // }\n // if (response.data.results[conep]) {\n // context.getters.router.push({'name': 'document-list', 'params': { 'companydb_id': response.data.results[conep].id }})\n // } else {\n // context.getters.router.push({'name': 'document-list', 'params': {'companydb_id': response.data.results[0].id}})\n // }\n // }\n // } else {\n // context.dispatch('me/refreshUserData').then(() => {\n // let userData = context.rootGetters[\"me/userData\"];\n // if (userData.kind == 'organization') {\n // context.getters.router.push({'name': 'connectors'});\n // }\n // });\n // }\n // } else {\n // for (let i in response.data.results) {\n // if (response.data.results[i].id == context.state.currentCompany.id) {\n // context.dispatch('setCurrentCompany', response.data.results[i])\n // }\n // }\n // }\n //----------------------------------------------------------------------------------------------------------------------------\n //----------------------------------------------------------------------------------------------------------------------------\n \n resolve();\n }).catch(error => { \n reject(error)\n });\n })\n },\n\n setCompanydbs2(context) {\n return new Promise((resolve, reject) => {\n context.commit('FETCHING_COMPANY_DBS', true);\n client.get('get_companydbs/').then(response => {\n let cdbs = [];\n for (let i in response.data.results) {\n if (response.data.results[i]['name'] !== null) {\n cdbs.push(response.data.results[i]);\n }\n }\n context.commit('SET_COMPANY_DBS', cdbs);\n context.commit('FETCHING_COMPANY_DBS', false);\n if (!context.state.currentCompany) {\n let keyLastCompany = context.getters['setting_repository/keyLastCompany'];\n let lastCompany = context.getters['setting_repository/getSettings'](keyLastCompany);\n let companydb_id;\n if (lastCompany && !context.getters.router.currentRoute.params.companydb_id) {\n companydb_id = lastCompany;\n } else {\n companydb_id = context.getters.router.currentRoute.params.companydb_id;\n }\n let conep = 0;\n for (let i in response.data.results) {\n if (companydb_id && response.data.results[i].id == companydb_id) {\n conep = i;\n }\n }\n if (response && response.data && response.data.results && response.data.results.length > 0) {\n context.dispatch('resetCurrentCompany', {new_company:response.data.results[conep]}); \n if (context.getters.router.currentRoute.path == '/initial' || context.getters.router.currentRoute.path == '/documents'){\n if (response.data.results && response.data.results.length > 0) {\n }\n if (response.data.results[conep]) {\n context.getters.router.push({'name': 'document-list', 'params': { 'companydb_id': response.data.results[conep].id }})\n } else {\n context.getters.router.push({'name': 'document-list', 'params': {'companydb_id': response.data.results[0].id}})\n }\n }\n } else {\n context.dispatch('permissions/getPermissions', companydb_id).then(() => {\n let permission = context.rootGetters[\"permissions/permission\"];\n if (permission.can_write) {\n context.getters.router.push({'name': 'connectors'});\n }\n });\n }\n }\n else{\n let found = false;\n for (let i in response.data.results) {\n if (response.data.results[i].id == context.state.currentCompany.id) {\n found = true;\n }\n }\n if(!found){\n context.dispatch('resetCurrentCompany', {new_company:response.data.results[0]});\n }\n }\n resolve();\n }).catch(error => { \n reject(error)\n });\n })\n },\n\n async resetCurrentCompany({commit, state, dispatch, rootState, rootGetters,getters}, {new_company}) {\n dispatch(\"documents/setCurrentLoading\", true);\n commit('SET_OBJECT_LIST_LOADING', true);\n new_company=(await dispatch('connector/fetchConnector', new_company)).data;\n await dispatch('permissions/getPermissions', new_company.id);\n let old_company = state.currentCompany;\n dispatch('setCurrentCompany', new_company);\n dispatch(\"createUI\");\n dispatch('setProjects', new_company.id);\n dispatch('setChannels', new_company.id)\n dispatch('setActivities', new_company.id);\n dispatch('setExpensIncomeType', new_company.id)\n dispatch('setZones', new_company.id);\n dispatch(\"documents/getHeader\");\n dispatch(\"documents/getHeaderSupplierDBUser\");\n dispatch(\"documents/getHeaderCustomerDBUser\");\n let userData = rootGetters[\"me/userData\"];\n let permission = rootGetters[\"permissions/permission\"];\n let refresh_called = false;\n if (userData.available_features && userData.available_features.feature_filter_by_ejercicio) {\n if (new_company.links.length) {\n let link = {\n 'id': 0,\n 'min_date': '1900-01-01',\n };\n for (let i in new_company.links) {\n if (new_company.links[i].active && new_company.links[i].min_date > link['min_date']) {\n link = new_company.links[i];\n }\n }\n if (link['id']) {\n dispatch(\"documents/setFilterDataEjercicioValue\", link['id']);\n dispatch(\"documents/generateFilters\");\n refresh_called = true;\n }\n }\n }\n dispatch(\"documents/setAllCurrentsFilters\", false);\n dispatch(\"documents/setCurrentStateChip\", false);\n if (permission.can_write) {\n dispatch(\"connector/checkCompanyApi\", {company_id: new_company.id, route: getters.router.currentRoute.path }).then((response) => {\n if (response.data && response.data.type == 'redirect') {\n dispatch(\"setOauthUrl\",{url : response.data.url});\n dispatch(\"setOauthMsg\", { msg: response.data.msg });\n }\n }, function(error) {});\n }\n if(!refresh_called){\n dispatch(\"documents/refreshData\");\n }\n dispatch(\"deleted_documents/resetDeletedDocuments\")\n dispatch('refreshData');\n dispatch(\"documents/setCurrentLoading\", false);\n commit('SET_OBJECT_LIST_LOADING', false);\n\n let got_feature = rootGetters[\"got_feature\"];\n let urls_bank = ['bank-accounts', 'bank-transactions', 'create-bank-accounts'];\n if ((!got_feature('feature_can_user_bank_account') && !got_feature('feature_bank_csv')) && urls_bank.indexOf(getters.router.currentRoute.name) > -1) {\n getters.router.push({'name': 'document-list', 'params': {'companydb_id': new_company.id}});\n }\n else if (getters.router.currentRoute.name == 'bank-transactions' && old_company && new_company.id != old_company.id) {\n getters.router.push({'name': 'bank-accounts', 'params': {'company_id': new_company.id}});\n }\n },\n }\n)\n\nfunction init(result){\n store.dispatch('setJWTToken', result);\n store.dispatch('waitForLoggedIn').then(isLogged => {\n if (isLogged) {\n store.dispatch('setAfterLogged');\n }\n });\n}\n\nfunction cognitoError(error){\n console.error(\"Not logged in\")\n store.commit('SET_IS_LOGGED','no');\n // router.push(\"login\");\n}\n\nstore.commit('SET_IS_LOGGED_PROMISE',Auth.currentAuthenticatedUser())\n\nstore.state.isLoggedPromise.then(init,cognitoError);\n\nexport default store;\n","import Vue from 'vue'\nimport Router from 'vue-router'\nimport Home from './views/Home.vue'\nimport store from \"@/store\";\n\n\n\nVue.use(Router)\n\nfunction default_page(to, from, next) {\n\t//next(\"/documents\");\n\t// Initially load a list of countries\n\t// This can be done on a function that \n\t// setups the initial data of the app\n\t// if (!store.getters[\"countries/countriesLoaded\"]) {\n\t// \tstore.dispatch(\"countries/getCountries\")\n\t// }\n\tif (\"about_expiry\" in to.query) {\n\t\tnext({path:\"/initial\", query: {about_expiry: true}});\n\t}\n\telse {\n\t\tnext(\"/initial\");\n\t}\n}\n\nfunction staff_only(to, from, next) {\n\tstore.dispatch(\"waitForLoggedIn\").then(isLogged => {\n\t\tif (isLogged) {\n\t\t\tstore.dispatch(\"me/refreshUserData\").then(() => {\n\t\t\t\tif (!store.state[\"me\"].userData.is_staff) {\n\t\t\t\t\tnext(\"/initial\");\n\t\t\t\t} else {\n\t\t\t\t\tnext();\n\t\t\t\t}\n\t\t\t})\n\t\t} \n\t})\n}\n\nfunction staff_or_loginas(to, from, next) {\n\tstore.dispatch(\"waitForLoggedIn\").then(isLogged => {\n\t\tif (isLogged) {\n\t\t\tstore.dispatch(\"me/refreshUserData\").then(() => {\n\t\t\t\tlet userData = store.state[\"me\"].userData\n\t\t\t\tlet state = store.state\n\t\t\t\tif (userData && (userData.is_staff || (state.session_information && userData.username && state.session_information.username != userData.username))) {\n\t\t\t\t\tnext();\n\t\t\t\t} else {\n\t\t\t\t\tnext(\"/initial\");\n\t\t\t\t}\n\t\t\t})\n\t\t} \n\t})\n}\n\nconst router = new Router({\n\tmode: 'history',\n\tbase: process.env.BASE_URL,\n\troutes: [\n\t\t{\n\t\t\tpath: '/',\n\t\t\tname: 'home',\n\t\t\tcomponent: Home,\n\t\t\tbeforeEnter: default_page\n\t\t},\n\t\t{\n\t\t\tpath: '/welcome',\n\t\t\tname: 'welcome',\n\t\t\tcomponent: () => import('./views/WelcomeSteps.vue')\n\t\t},\n\t\t// {\n\t\t// \tpath: '/update',\n\t\t// \tname: 'update',\n\t\t// \tcomponent: () => import('./views/UpdateProcess.vue')\n\t\t// },\n\t\t// {\n\t\t// \tpath: '/about',\n\t\t// \tname: 'about',\n\t\t// \t// route level code-splitting\n\t\t// \t// this generates a separate chunk (about.[hash].js) for this route\n\t\t// \t// which is lazy-loaded when the route is visited.\n\t\t// \tcomponent: () =>\n\t\t// \t\timport(/* webpackChunkName: \"about\" */ './views/About.vue')\n\t\t// },\n\t\t{\n\t\t\tpath: '/login',\n\t\t\tname: 'login',\n\t\t\tcomponent: () => import('./views/Login.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/:white_brand/login', \n\t\t\tname: 'white_brand',\n\t\t\tcomponent: () => import('./views/Login.vue'),\n\t\t},\n\t\t{\n\t\t\tpath: '/signup/:distributor_code?',\n\t\t\tname: 'signup',\n\t\t\tcomponent: () => import('./views/SignUp.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/signup-2',\n\t\t\tname: 'signup-2',\n\t\t\tcomponent: () => import('./views/SignUp2.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/password/reset',\n\t\t\tname: 'password-reset',\n\t\t\tcomponent: () => import('./views/PasswordReset.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/password/reset/key/:uidb36-:key',\n\t\t\tname: 'password-reset-key',\n\t\t\tcomponent: () => import('./views/PasswordResetKey.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/confirm-email',\n\t\t\tname: 'confirm-email',\n\t\t\tcomponent: () => import('./views/ConfirmEmail.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/install-schedule',\n\t\t\tname: 'install-schedule',\n\t\t\tcomponent: () => import('./views/InstallSchedule.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/connectors',\n\t\t\tname: 'connectors',\n\t\t\tcomponent: () => import('./views/ConnectorList.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/create-connector',\n\t\t\tname: 'connector-create',\n\t\t\tcomponent: () => import('./views/ConnectorDetail.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/connector/:id',\n\t\t\tname: 'connector-update',\n\t\t\tcomponent: () => import('./views/ConnectorDetail.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/user-configuration',\n\t\t\tname: 'user-configuration',\n\t\t\tcomponent: () => import('./views/UserConfiguration.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/profile',\n\t\t\tname: 'profile',\n\t\t\tcomponent: () => import('./views/Profile.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/dashboard',\n\t\t\tname: 'dashboard',\n\t\t\tcomponent: () => import('./views/DashboardCompanyDB.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/dashboard-bank',\n\t\t\tname: 'dashboard-bank',\n\t\t\tcomponent: () => import('./views/DashboardBank.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/dashboard-gestor',\n\t\t\tname: 'dashboard-gestor',\n\t\t\tcomponent: () => import('./views/DashboardGestor.vue')\n\t\t},\n\t\t// {\n\t\t// \tpath: '/loginas/:username',\n\t\t// \tname: 'loginas-dashboard',\n\t\t// \tcomponent: () => import('./views/DashboardCompanyDB.vue'),\n\t\t// \tprops: true\n\t\t// },\n\n\t\t{\n\t\t\tpath: '/kpis',\n\t\t\tname: 'kpis',\n\t\t\tcomponent: () => import('./views/KPIS.vue'),\n\t\t\tbeforeEnter: staff_only\n\t\t},\n\t\t{\n\t\t\tpath: '/features',\n\t\t\tname: 'features',\n\t\t\tcomponent: () => import('./views/FeaturesVisualizer.vue'),\n\t\t\t//beforeEnter: staff_only\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/invoice-trial',\n\t\t\tname: 'invoice-trial',\n\t\t\tcomponent: () => import('./views/InvoiceTrial.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/invoice-list',\n\t\t\tname: 'invoice-list',\n\t\t\tcomponent: () => import('./views/InvoiceList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/budget-list',\n\t\t\tname: 'budget-list',\n\t\t\tcomponent: () => import('./views/BudgetList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/delivery-note-list',\n\t\t\tname: 'delivery-note-list',\n\t\t\tcomponent: () => import('./views/DeliveryNoteList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/invoice-editor/:invoice_id?',\n\t\t\tname: 'invoice-editor',\n\t\t\tcomponent: () => import('./views/InvoiceEditor.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/budget-editor/:budget_id?',\n\t\t\tname: 'budget-editor',\n\t\t\tcomponent: () => import('./views/BudgetEditor.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/delivery-note-editor/:delivery_note_id?',\n name: 'delivery-note-editor',\n component: () => import('./views/DeliveryNoteEditor.vue'),\n props: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/invoice-to-print/:invoiceable_id',\n\t\t\tname: 'invoice-to-print',\n\t\t\tcomponent: () => import('./views/InvoiceToPrint.vue'),\n\t\t\t//beforeEnter: staff_only\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/report-invoice',\n name: 'report-invoice',\n component: () => import('./modules/facturae/infra/pdf_view/ReportFacturae.vue'),\n\t\t\t// beforeEnter: staff_only,\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/recurring-invoice-list',\n\t\t\tname: 'recurring-invoice-list',\n\t\t\tcomponent: () => import('./modules/facturae/infra/RecurringInvoiceList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/recurring-invoice-editor/:recurring_invoice_id?',\n\t\t\tname: 'recurring-invoice-editor',\n\t\t\tcomponent: () => import('./modules/facturae/infra/RecurringInvoiceEditor.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/reports',\n name: 'reports',\n component: () => import('./modules/reporting/infrastructure/Reports.vue'),\n\t\t},\n\t\t{\n\t\t\tpath: '/guidelines-list',\n\t\t\tname: 'guidelines-list',\n\t\t\tcomponent: () => import('./views/GuidelinesList.vue'),\n\t\t\tbeforeEnter: staff_or_loginas,\n\t\t},\n\t\t{\n\t\t\tpath: '/guideline-editor/:guideline_id?',\n\t\t\tname: 'guideline-editor',\n\t\t\tcomponent: () => import('./views/GuidelineEditor.vue'),\n\t\t\tbeforeEnter: staff_or_loginas,\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/other-doc-detail/:other_document_id',\n\t\t\tname: 'other-doc-detail',\n\t\t\tcomponent: () => import('./views/OtherDocDetail.vue'),\n\t\t\t//beforeEnter: staff_only\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/product-list',\n\t\t\tname: 'product-list',\n\t\t\tcomponent: () => import('./views/ProductList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/remittance-list',\n\t\t\tname: 'remittance-list',\n\t\t\tcomponent: () => import('./views/RemittanceList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/kpi_errors',\n\t\t\tname: 'kpi-errors',\n\t\t\tcomponent: () => import('./views/KPIDocErrors.vue'),\n\t\t\tbeforeEnter: staff_only\n\t\t},\n\t\t{\n\t\t\tpath: '/access-registers',\n\t\t\tname: 'access-registers',\n\t\t\tcomponent: () => import('./views/AccessRegistersList.vue'),\n\t\t\tprops: true\n\t\t\t// beforeEnter: staff_only\n\t\t},\n\t\t{\n\t\t\tpath: '/onboard-information',\n\t\t\tname: 'onboard-information',\n\t\t\tcomponent: () => import('./views/OnboardInformation.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/users-permissions',\n\t\t\tname: 'users-permissions',\n\t\t\tcomponent: () => import('./views/UsersPermissions.vue'),\n\t\t\tprops: true\n\t\t\t// beforeEnter: staff_only\n\t\t},\n\n\t\t// {\n\t\t// \tpath: '/speach-loader',\n\t\t// \tname: 'speach-loader',\n\t\t// \tcomponent: () => import('./views/SpeachLoader.vue')\n\t\t// },\n\t\t{\n\t\t\tpath: '/:companydb_id/document-loader',\n\t\t\tname: 'document-loader',\n\t\t\tcomponent: () => import('./views/DocumentLoader.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/documents', \n\t\t\tname: 'document-list',\n\t\t\tcomponent: () => import('./views/DocumentList.vue'),\n\t\t\t// children:[\n\t\t\t// \t{\n\t\t\t// \t\tpath: 'documents',\n\t\t\t\t\t\n\t\t\t// \t\t//props: true\n\t\t\t// \t}\n\t\t\t// ]\n\t\t},\n\n\n\t\t{\n\t\t\tpath: '/:companydb_id/generic-document-loader',\n\t\t\tname: 'generic-document-loader',\n\t\t\tprops: true,\n\t\t\tcomponent: () => import('./views/GenericDocumentLoader.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/generic-documents/', \n\t\t\tname: 'generic-document-list',\n\t\t\tprops: true,\n\t\t\tcomponent: () => import('./views/GenericDocumentList.vue'),\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/workflow-list',\n\t\t\tname: 'workflow-list',\n\t\t\tprops: true,\n\t\t\tcomponent: () => import('./views/WorkflowList.vue'),\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/workflow-editor/:workflow_id?',\n\t\t\tname: 'workflow-editor',\n\t\t\tprops: true,\n\t\t\tcomponent: () => import('./views/WorkflowEditor.vue'),\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/entities-list',\n\t\t\tname: 'entities-list',\n\t\t\tprops: true,\n\t\t\tcomponent: () => import('./views/EntitiesList.vue'),\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/entities-list-v0/:entity_type_id?',\n\t\t\tname: 'entities-list2',\n\t\t\tprops: true,\n\t\t\tcomponent: () => import('./views/EntitiesListUIs.vue'),\n\t\t},// sergi\n\t\t{\n\t\t\tpath: '/:companydb_id/entity-type-editor/:entity_type_id?',\n name: 'entity-type-editor',\n props: true,\n component: () => import('./views/EntityTypeEditor.vue'),\n\t\t},\n\n\t\t{\n\t\t\tpath: '/:companydb_id/entity-instance-editor/:entity_instance_id?',\n\t\t\tname: 'entity-instance-editor',\n\t\t\tprops: true,\n\t\t\tcomponent: () => import('./views/EntityInstanceEditor.vue'),\n\t\t},\n\n\t\t// {\n\t\t// \tpath: '/documents-suppliers',\n\t\t// \tname: 'document-list-suppliers',\n\t\t// \tcomponent: () => import('./views/DocumentList.vue'),\n\t\t// \tprops: true\n\t\t// },\n\t\t// {\n\t\t// \tpath: '/documents-customers',\n\t\t// \tname: 'document-list-customers',\n\t\t// \tcomponent: () => import('./views/DocumentList.vue'),\n\t\t// \tprops: true,\n\t\t// },\n\t\t{\n\t\t\tpath: '/:companydb_id/documents/:document',\n\t\t\tname: 'document-detail',\n\t\t\tcomponent: () => import('./views/DocumentDetail.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/deleted-documents/',\n\t\t\tname: 'deleted-documents',\n\t\t\tcomponent: () => import('./views/DeletedDocumentList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/document-stats',\n\t\t\tname: 'document-stats',\n\t\t\tcomponent: () => import('./views/DocumentStats.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/companies',\n\t\t\tname: 'company-list',\n\t\t\tcomponent: () => import('./views/CompanyList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/create-company',\n\t\t\tname: 'company-create',\n\t\t\tcomponent: () => import('./views/CreateCompany.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/companies/:company',\n\t\t\tname: 'company-update',\n\t\t\tcomponent: () => import('./views/CreateCompany.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/suppliers',\n\t\t\tname: 'supplier-list',\n\t\t\tcomponent: () => import('./views/SupplierList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/create-supplier',\n\t\t\tname: 'supplier-create',\n\t\t\tcomponent: () => import('./views/CreateSupplier.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/suppliers/:supplier',\n\t\t\tname: 'supplier-update',\n\t\t\tcomponent: () => import('./views/CreateSupplier.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/customers',\n\t\t\tname: 'customer-list',\n\t\t\tcomponent: () => import('./views/CustomerList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/bank-creation',\n\t\t\tname: 'bank-creation',\n\t\t\tcomponent: () => import('./views/AfterbanksWidget.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/bank-redirect',\n\t\t\tname: 'bank-redirect',\n\t\t\tcomponent: () => import('./views/BankRedirect.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/bank-accounts',\n\t\t\tname: 'bank-accounts',\n\t\t\tcomponent: () => import('./views/BankAccountList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/bank-accounts/:bank_account_id/',\n\t\t\tname: 'bank-transactions',\n\t\t\tcomponent: () => import('./views/BankTransactionList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/create-bank-accounts',\n\t\t\tname: 'create-bank-accounts',\n\t\t\tcomponent: () => import('./views/CreateBankAccount.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/effects',\n\t\t\tname: 'bank-effects',\n\t\t\tcomponent: () => import('./views/BankEffectList.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/create-customer',\n\t\t\tname: 'customer-create',\n\t\t\tcomponent: () => import('./views/CreateCustomer.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/:companydb_id/customers/:customer',\n\t\t\tname: 'customer-update',\n\t\t\tcomponent: () => import('./views/CreateCustomer.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{ \n\t\t\tpath: '/debug',\n\t\t\tname: 'debug',\n\t\t\tcomponent: () => import('./views/Debug.vue'),\n\t\t\tprops: true,\n\t\t},\n\t\t{\n\t\t\tpath: '/loginas/:username',\n\t\t\tname: 'loginas-debug',\n\t\t\tcomponent: () => import('./views/Debug.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/select_upgrade_create',\n\t\t\tname: 'select-upgrade-create',\n\t\t\tcomponent: () => import('./views/SelectUpgradeCreateContract.vue'),\n\t\t\tprops: true,\n\t\t},\n\t\t{\n\t\t\tpath: '/create_contract',\n\t\t\tname: 'create-contract',\n\t\t\tcomponent: () => import('./views/CreateNewContract.vue'),\n\t\t\tprops: true,\n\t\t},\n\t\t{\n\t\t\tpath: '/upgrade_contract',\n\t\t\tname: 'upgrade-contract',\n\t\t\tcomponent: () => import('./views/UpgradeContract.vue'),\n\t\t\tprops: true,\n\t\t},\n\t\t{\n\t\t\tpath: '/create_upgrate_contract',\n\t\t\tname: 'create-upgrate-contract',\n\t\t\tcomponent: () => import('./views/CreateUpgrateContract.vue'),\n\t\t\tprops: true,\n\t\t},\n\t\t{\n\t\t\tpath: '/payment_error',\n\t\t\tname: 'payment-error-dashboard',\n\t\t\tcomponent: () => import('./views/DashboardCompanyDB.vue')\n\t\t\t\n\t\t},\n\t\t{\n\t\t\tpath: '/payment_ok',\n\t\t\tname: 'payment-ok-dashboard',\n\t\t\tcomponent: () => import('./views/DashboardCompanyDB.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/performing-update',\n\t\t\tname: 'performing-update',\n\t\t\tcomponent: () => import('./views/PerformingUpdate.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/performing-updates',\n\t\t\tname: 'performing-updates',\n\t\t\tcomponent: () => import('./views/PerformingUpdateV2.vue')\n\t\t},\n\t\t{\n\t\t\tpath: '/network-drives',\n\t\t\tname: 'network-drives',\n\t\t\tcomponent: () => import('./views/NetworkDrives.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/settings',\n\t\t\tname: 'settings',\n\t\t\tcomponent: () => import('./views/Config.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/locations',\n\t\t\tname: 'locations',\n\t\t\tcomponent: () => import('./views/Location.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/oauth/:app',\n\t\t\tname: 'oauth-flow',\n\t\t},\n\t\t{\n\t\t\tpath: '/responsible-declaration',\n\t\t\tname: 'responsible-declaration',\n\t\t\tcomponent: () => import('./views/ResposibleDeclaration.vue'),\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/signin_by_token/:token/:company_id',\n name: 'login-token',\n component: () => import('./modules/users/infra/LoginToken.vue'),\n\t\t\t// beforeEnter: staff_only,\n\t\t\tprops: true\n\t\t},\n\t\t{\n\t\t\tpath: '/signin/:company_id',\n name: 'login-signin',\n component: () => import('./modules/users/infra/LoginToken.vue'),\n\t\t\t// beforeEnter: staff_only,\n\t\t\tprops: true\n\t\t},\n\t\t\n\t\t// {\n\t\t// \tpath: '/chat-stats',\n\t\t// \tname: 'chat-stats',\n\t\t// \tcomponent: () => import('./views/ChatStats.vue')\n\t\t// },\n\t\t// {\n\t\t// \tpath: '/call-log',\n\t\t// \tname: 'call-log',\n\t\t// \tcomponent: () => import('./views/CallLog.vue')\n\t\t// },\n\t\t// {\n\t\t// \tpath: '/speech-analytics',\n\t\t// \tname: 'speech-analytics',\n\t\t// \tcomponent: () => import('./views/SpeechAnalytics.vue')\n\t\t// },\n\t\t// {\n\t\t// \tpath: '/live-chats',\n\t\t// \tname: 'live-chats',\n\t\t// \tcomponent: () => import('./views/LiveChats.vue')\n\t\t// },\n\t]\n});\n\nfunction getDistribInnuvaURL(params, name, url) {\n\tconst newStateValue = stateParam.replace('_'+name, '');\n\tparams.set('state', newStateValue);\n\tconst newURL = url + `innuva_oauth#${params.toString()}`;\n\twindow.location.href = newURL;\n\treturn;\n}\n\nrouter.beforeEach(async (to, from, next) => {\n\ttry {\n\t\tif ('/innuva_oauth' == to.path) {\n\t\t\tconst currentURL = window.location.href;\n\t\t\tconst hashParams = currentURL.split('#')[1];\n\t\t\tconst params = new URLSearchParams(hashParams);\n\t\t\tconst stateParam = params.get('state');\n\t\t\tif (stateParam.includes('_docunecta')) {\n\t\t\t\t// const newStateValue = stateParam.replace('_docunecta', '');\n\t\t\t\t// params.set('state', newStateValue);\n\t\t\t\t// const newURL = `https://docuxtract.docunecta.com/innuva_oauth#${params.toString()}`;\n\t\t\t\t// window.location.href = newURL;\n\t\t\t\t// return;\n\t\t\t\treturn getDistribInnuvaURL(params, 'docunecta', 'https://docuxtract.docunecta.com/')\n\t\t\t} else if (stateParam.includes('_glasof')) {\n\t\t\t\treturn getDistribInnuvaURL(params, 'glasof', 'https://gscan.glasof.com/')\n\t\t\t}\n\t\t}\n\t\tawait store.dispatch('waitForLoggedIn')\n\t\tif (store.state.isLogged == 'no') {\n\t\t\tif (!['login', 'signup','signup-2','password-reset', 'password-reset-key','white_brand', 'report-invoice','login-token'].includes(to.name)) {\t\t\t\n\t\t\t\tif (to.name == 'home' && \"about_expiry\" in to.query) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tsessionStorage.setItem('inmatic_about_expiry', true)\n\t\t\t\t\t} catch(e) {}\n\t\t\t\t}\n\t\t\t\tnext('/login');\t\t\t\t\n\t\t\t} else {\n\t\t\t\tnext();\n\t\t\t}\n\t\t} else {\n\t\t\tawait store.dispatch('me/refreshUserData');\n\t\t\tlet userData = store.getters['me/userData'];\n\t\t\tlet session_information = store.state.session_information;\n\t\t\tif ('/innuva_oauth' == to.path) {\n\t\t\t\tlet hash = to.hash;\n\t\t\t\tif (hash[0]=='#') {\n\t\t\t\t\thash = hash.substring(1);\n\t\t\t\t}\n\t\t\t\tlet oauth_params = { 'params': hash };\n\t\t\t\tlet state = await store.dispatch('connector/setOauthData', oauth_params);\n let redirect_uri = '/create-connector';\n\t\t\t\tif (state.match('^\\\\/\\\\d+\\\\/[\\\\w-]+$')) redirect_uri = state;\n next({\n path: redirect_uri,\n\t\t\t\t});\n\t\t\t} \n\t\t\telse if ('oauth-flow' == to.name) {\n\t\t\t\tlet oauth_params = {'params':to.query ,'type': to.params.app};\n\t\t\t\tlet state = await store.dispatch('setOauthDataStorage', oauth_params);\n let redirect_uri = `/connector/${state}`;\n next({\n path: redirect_uri,\n\t\t\t\t});\n\t\t\t}\n\t\t\telse if (store.getters['me/userData'].is_staff) {\n\t\t\t\tnext();\n\t\t\t} else if (userData.available_features.feature_performing_update && to.path != '/performing_update' && !(userData.hasOwnProperty('username') && session_information.hasOwnProperty('username') && (session_information.username != userData.username))) {\n\t\t\t\tnext('/performing_update');\n\t\t\t} else if (store.getters['me/pendingEmailVerification'] && to.path != '/confirm-email' && !(userData.hasOwnProperty('username') && session_information.hasOwnProperty('username') && (session_information.username != userData.username))) {\n\t\t\t\tnext('/confirm-email')\n\t\t\t} else if (store.getters['me/isWelcomeProcess'] && to.path != '/welcome' && !(userData.hasOwnProperty('username') && session_information.hasOwnProperty('username') && (session_information.username != userData.username))) {\n\t\t\t\tnext('/welcome');\n\t\t\t} else if (to.path == '/performing_update' && !userData.available_features.feature_performing_update) {\n\t\t\t\tnext('/initial');\n\t\t\t} else if (['/login', '/signup'].includes(to.path)) {\n\t\t\t\tnext('/initial');\n\t\t\t} else if (to.path == '/confirm-email' && !store.getters['me/pendingEmailVerification']) {\t\t\t\t\n\t\t\t\tnext('/initial');\n\t\t\t} else if (to.path == '/welcome' && !store.getters['me/isWelcomeProcess']) {\n\t\t\t\tnext('/initial');\n\t\t\t} else if (to.path == '/debug' && !(store.getters['me/userData'].is_staff || (userData.hasOwnProperty('username') && session_information.hasOwnProperty('username') && (session_information.username != userData.username)))) {\n\t\t\t\tnext('/initial');\n\t\t\t} else if (['/create_upgrate_contract', '/payment_error', '/payment_ok'].includes(to.path) && !userData.available_features.feature_payment_on_inmatic) {\n\t\t\t\tnext('/initial');\n\t\t\t} else {\n\t\t\t\tnext();\n\t\t\t}\n\t\t}\n\t} catch {\n\t\tnext();\n\t}\n});\n\nexport default router;\n","import Vue from 'vue'\nimport App from './App.vue'\nimport vuetify from './plugins/vuetify'\nimport Chat from 'vue-beautiful-chat'\nimport Vuex from 'vuex'\nimport router from './router'\nimport store from './store'\nimport Amplify, { Auth } from 'aws-amplify';\nimport awsconfig from './aws-exports';\nimport VueTour from 'vue-tour';\nimport vmodal from 'vue-js-modal';\nimport VueMeta from 'vue-meta'\nimport JsonSchemaEditor from 'json-schema-editor-vue'\n// import * as Sentry from \"@sentry/vue\";\n// import { BrowserTracing } from \"@sentry/tracing\";\n// import Profiler from \"./utils/profiler\"\n\nrequire('vue-tour/dist/vue-tour.css')\n\nAmplify.configure(awsconfig);\n//Vue.mixin(Profiler)\nVue.use(Chat)\nVue.use(Vuex)\nVue.use(VueTour)\nVue.use(vmodal)\nVue.use(VueMeta)\nVue.use(JsonSchemaEditor)\n\n// Sentry.init({\n// \tVue,\n// \tdsn: \"https://02ba0865bd0e4c2a82be8ad1c1e955cf@o1182848.ingest.sentry.io/6301142\",\n// \tintegrations: [\n// \t new BrowserTracing({\n// \t\troutingInstrumentation: Sentry.vueRouterInstrumentation(router),\n// \t\ttracingOrigins: [\"app.inmatic.ai\", /^\\//],\n// \t }),\n// \t],\n// \t// Set tracesSampleRate to 1.0 to capture 100%\n// \t// of transactions for performance monitoring.\n// \t// We recommend adjusting this value in production\n// \ttracesSampleRate: 0.01,\n// });\n\nVue.config.productionTip = false\nexport const bus = new Vue();\nnew Vue({\n\tstore,\n\tvuetify,\n\trouter,\n\trender: h => h(App)\n}).$mount('#app')\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./DetailReferenceSimple.vue?vue&type=style&index=0&id=744abff0&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-col',{staticClass:\"ma-0\",class:_vm.computedSpacing,attrs:{\"cols\":_vm.cols,\"xs\":_vm.xs,\"sm\":_vm.sm,\"md\":_vm.md,\"lg\":_vm.lg,\"xl\":_vm.xl,\"order\":_vm.order}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppCol.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppCol.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppCol.vue?vue&type=template&id=43b38c1a&scoped=true&\"\nimport script from \"./AppCol.vue?vue&type=script&lang=js&\"\nexport * from \"./AppCol.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppCol.vue?vue&type=style&index=0&id=43b38c1a&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 \"43b38c1a\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-simple-table',{staticClass:\"rounded-lg simple-table elevation-1\",class:!_vm.$slots['action-bar'] ? 'simple-table--round-top' : '',attrs:{\"dense\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',[_c('tr',_vm._l((_vm.headers),function(header,index){return _c('th',{key:index,staticClass:\"text-left\"},[_vm._v(\"\\n \"+_vm._s(header.text)+\"\\n \")])}),0)]),_c('tbody',_vm._l((_vm.items),function(item){return _c('tr',{key:item.id},_vm._l((_vm.headers),function(header,index){return _c('td',{key:index},[(header.type && header.type == 'html')?[_c('p',[_c('span',{domProps:{\"innerHTML\":_vm._s(item[header.value])}})])]:(header.value == 'actions')?_vm._l((_vm.actionBtnList),function(actionBtn){return _c('v-tooltip',{key:actionBtn.action,attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(actionBtn.is_svg)?_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.clickColActionBtn(actionBtn.action, item)}}},'v-btn',attrs,false),on),[(actionBtn.is_svg)?_c('img',{attrs:{\"src\":require((\"@/assets/\" + (actionBtn.icon)))},on:{\"click\":function($event){return _vm.clickColActionBtn(actionBtn.action, item)}}}):_vm._e()]):_c('v-btn',_vm._g(_vm._b({attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.clickColActionBtn(actionBtn.action, item)}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(_vm._s(actionBtn.icon))])],1)]}}],null,true)},[_c('span',[_vm._v(_vm._s(actionBtn.name))])])}):(header.type && header.type == 'link' && header.link_text)?[(item[header.value])?_c('p',[_c('a',{attrs:{\"href\":item[header.value]}},[_vm._v(_vm._s(header.link_text))])]):_vm._e()]:(header.type && header.type == 'blob_link' && header.link_text)?[(item[header.value])?_c('p',[_c('a',{on:{\"click\":function($event){return _vm.clicked_link(item)}}},[_vm._v(_vm._s(header.link_text))])]):_vm._e()]:(header.type && header.type == 'nested_property')?[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.getSplitedItem(item, header.value))+\"\\n \")])]:(header.type && header.type == 'nested_property_link')?[(_vm.getSplitedItem(item, header.value))?_c('a',{attrs:{\"href\":_vm.getSplitedItem(item, header.value)}},[_vm._v(\"\\n \"+_vm._s(header.link_text)+\"\\n \")]):_vm._e()]:(header.type && header.type == 'nested_property_link')?[_c('a',{attrs:{\"href\":_vm.getSplitedItem(item, header.value)}},[_vm._v(\"\\n \"+_vm._s(header.link_text)+\"\\n \")])]:[_vm._v(\"\\n \"+_vm._s(item[header.value])+\"\\n \")]],2)}),0)}),0)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppSimpleTableWithApi2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppSimpleTableWithApi2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppSimpleTableWithApi2.vue?vue&type=template&id=5ba32f82&scoped=true&\"\nimport script from \"./AppSimpleTableWithApi2.vue?vue&type=script&lang=js&\"\nexport * from \"./AppSimpleTableWithApi2.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppSimpleTableWithApi2.vue?vue&type=style&index=0&id=5ba32f82&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 \"5ba32f82\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VIcon,VSimpleTable,VTooltip})\n","import { OtherDocumentRepository} from \"../domain/OtherDocumentRepository\";\nimport { query_dispatcher_get, sync_command_dispatcher, async_command_dispatcher } from \"@/api/client\";\nimport { CommandDispatcher } from \"@/modules/shared/domain/CommandDispatcher\";\nimport { QueryDispatcher } from \"@/modules/shared/domain/QueryDispatcher\";\n\n\nexport class ApiOtherDocumentRepository implements OtherDocumentRepository{\n \n query_dispatcher: QueryDispatcher\n sync_command_dispatcher: CommandDispatcher\n async_command_dispatcher: CommandDispatcher\n constructor() {\n this.query_dispatcher = query_dispatcher_get\n this.sync_command_dispatcher = sync_command_dispatcher\n this.async_command_dispatcher = async_command_dispatcher\n }\n\n async get_documents(args: any): Promise {\n try {\n let res = await this.query_dispatcher.dispatch('filtered.documents', args)\n return res\n } catch (error) {\n console.error(error)\n return null\n }\n }\n\n async get_document_url(id){\n let res = await this.query_dispatcher.dispatch('get.other.doc.url', { doc_id: id })\n return res.url\n }\n\n async get_cropped_document_url(id: any): Promise {\n try {\n let res = await this.query_dispatcher.dispatch('get.cropped.doc.url', { doc_id: id })\n return res.url\n } catch (error) {\n console.error(error)\n return ''\n }\n }\n\n async get_original_document_url(id: any): Promise {\n try {\n let res = await this.query_dispatcher.dispatch('get.original.doc.url', { doc_id: id })\n return res.url\n } catch (error) {\n console.error(error)\n return ''\n }\n }\n\n async find_by_id(id: any): Promise {\n try {\n let res = await this.query_dispatcher.dispatch('get.document', { id: id })\n console.log(res)\n return res\n } catch (error) {\n console.error(error)\n return null\n }\n }\n\n async aproveDocument(id: any): Promise {\n try {\n let res = await this.sync_command_dispatcher.dispatch('approve.document', { doc_id: id })\n return res\n } catch (error) {\n console.error(error)\n return null\n }\n }\n\n async rejectDocument(id: any): Promise {\n try {\n let res = await this.sync_command_dispatcher.dispatch('reject.document', { doc_id: id })\n return res\n } catch (error) {\n console.error(error)\n return null\n }\n }\n\n async saveDocumentComments(args: any): Promise {\n try {\n await this.sync_command_dispatcher.dispatch('save.document.comments', args);\n } catch (error) {\n console.error(error)\n }\n }\n\n async getAvailableTypes(): Promise {\n try {\n let res = await this.query_dispatcher.dispatch('get.document.types', {})\n return res\n } catch (error) {\n console.error(error)\n return []\n }\n }\n\n async saveDocumentTypes(types: Array): Promise {\n let args = { types: types }\n try {\n await this.sync_command_dispatcher.dispatch('save.document.types', args);\n } catch (error) {\n console.error(error)\n }\n }\n \n async deleteDocuments(args: any): Promise {\n // let args = { document_ids: document_ids }\n try {\n await this.sync_command_dispatcher.dispatch('delete.documents', args);\n } catch (error) {\n console.error(error)\n }\n }\n\n async downloadDocuments(args: any): Promise {\n // let args = { doc_ids: doc_ids }\n try {\n let res = await this.async_command_dispatcher.dispatch('download.document', args)\n return res\n } catch (error) {\n console.error(error)\n return null\n }\n }\n\n async changeDocsWorkflow(args: any): Promise {\n try {\n let res = await this.sync_command_dispatcher.dispatch('modify.document.workflow', args)\n return res\n } catch (error) {\n console.error(error)\n return null\n }\n }\n\n async callContinueWorkflow(args: any): Promise {\n try {\n let res = await this.sync_command_dispatcher.dispatch('continue.workflow', args)\n return res\n } catch (error) {\n console.error(error)\n return null\n }\n }\n}\n\nexport class MemoryOtherDocumentRepository implements OtherDocumentRepository {\n documents: Array = []\n\n constructor(data) {\n this.documents = data\n }\n\n async get_documents(args: any): Promise {\n let company_id = args['company_id']\n let res = await this.documents.filter(doc => doc.company_id == company_id)\n return {data: res, count: res.length}\n }\n\n async get_document_url(id){\n let res = this.documents.find((doc: { id: any }) => doc.id == id)\n return res['path']\n }\n\n async get_cropped_document_url(id: any): Promise {\n let res = this.documents.find(doc => doc.id == id)\n return res['cropped_path']\n }\n\n async get_original_document_url(id: any): Promise {\n let res = this.documents.find(doc => doc.id == id)\n return res['original_path']\n }\n\n async find_by_id(id: any): Promise {\n let res = this.documents.find(doc => doc.id == id)\n return res\n }\n\n async aproveDocument(id: any): Promise {\n let res = this.documents.find(doc => doc.id == id)\n res['status'] = 'approved'\n return res\n }\n\n async rejectDocument(id: any): Promise {\n let res = this.documents.find(doc => doc.id == id)\n res['status'] = 'rejected'\n return res\n }\n\n async saveDocumentComments(args: any): Promise {\n this.documents.push(args)\n }\n\n async getAvailableTypes(): Promise {\n let res = ['contract', 'bill']\n return res\n }\n\n async saveDocumentTypes(types: Array): Promise {\n return\n }\n\n async deleteDocuments(args: any): Promise {\n this.documents = this.documents.filter(doc => !args.document_ids.includes(doc.id))\n }\n\n async downloadDocuments(args: any): Promise {\n return\n }\n\n async changeDocsWorkflow(args: any): Promise {\n let res = this.documents.find(doc => doc.id == args.doc_id)\n res['workflow'] = args.workflow\n return res\n }\n\n async callContinueWorkflow(args: any): Promise {\n return\n }\n\n}","module.exports = __webpack_public_path__ + \"img/add_info.bf99771c.svg\";","module.exports = __webpack_public_path__ + \"img/reconcile.4f9a03d4.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ma-0 pa-0\"},[_c('app-modal-row',{staticClass:\"justify-center mb-4\"},[_c('v-icon',{attrs:{\"size\":\"55\",\"color\":\"primary\"}},[_vm._v(_vm._s(_vm.titleIcon))])],1),(_vm.showTitle && _vm.textTitle)?_c('app-modal-row',{staticClass:\"justify-center mb-4\"},[_c('h3',{staticClass:\"black--text app-confirm-modal__title\"},[_vm._v(_vm._s(_vm.textTitle))])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppConfirmModalTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppConfirmModalTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppConfirmModalTitle.vue?vue&type=template&id=5693657b&scoped=true&\"\nimport script from \"./AppConfirmModalTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./AppConfirmModalTitle.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppConfirmModalTitle.vue?vue&type=style&index=0&id=5693657b&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 \"5693657b\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VIcon})\n","module.exports = __webpack_public_path__ + \"img/created_invoices.17ccf08a.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"value\":_vm.value,\"max-width\":_vm.maxWidth,\"persistent\":_vm.persistent},on:{\"input\":function (e) { return _vm.$emit('input', e); }}},[_c('v-card',{staticClass:\"rounded-xl pa-8\"},[_c('v-card-text',{staticClass:\"pa-0 ma-0\"},[_c('app-modal-container',[_c('app-confirm-modal-title',{attrs:{\"title-icon\":_vm.titleIcon,\"show-title\":_vm.showTitle,\"text-title\":_vm.textTitle}}),(_vm.isHtml)?_c('app-modal-row',{class:{ 'text-center': _vm.textCenterMsg, 'mb-2': _vm.showTextQuestion}},[_c('p',{staticClass:\"ma-0 justify-center black--text app-confirm-modal__body\",class:{ 'text-center': _vm.textCenterMsg, 'mb-2': _vm.showTextQuestion},domProps:{\"innerHTML\":_vm._s(_vm.textMsg)}})]):_c('app-modal-row',{staticClass:\"justify-center black--text app-confirm-modal__body\",class:{ 'text-center': _vm.textCenterMsg, 'mb-2': _vm.showTextQuestion}},[_vm._v(\"\\n \"+_vm._s(_vm.textMsg)+\"\\n \")]),(_vm.showTextQuestion)?_c('app-modal-row',{staticClass:\"justify-center black--text app-confirm-modal__question\"},[_c('span',[_vm._v(_vm._s(_vm.textQuestion))])]):_vm._e()],1)],1),_c('v-card-actions',{staticClass:\"mt-8 mb-0 mx-0 pa-0\"},[_c('app-modal-container',[_c('app-modal-row',{staticClass:\"ma-0 pa-0\",class:_vm.showCancelButton && _vm.showConfirmButton ? 'justify-space-between' : 'justify-center'},[_vm._t(\"modal_buttons\",function(){return [(_vm.showCancelButton)?_c('app-modal-col',{staticClass:\"ma-0 pa-0 d-flex\",class:_vm.showCancelButton && _vm.showConfirmButton ? 'justify-start' : 'justify-center',attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('app-btn',{attrs:{\"large\":\"\",\"block\":_vm.$vuetify.breakpoint.xs,\"outlined\":\"\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\"\\n \"+_vm._s(_vm.textCancelButton)+\"\\n \")])],1):_vm._e(),(_vm.showConfirmButton)?_c('app-modal-col',{staticClass:\"ma-0 pa-0 d-flex\",class:_vm.showCancelButton && _vm.showConfirmButton ? 'justify-end' : 'justify-center',attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('app-btn',{attrs:{\"large\":\"\",\"block\":_vm.$vuetify.breakpoint.xs,\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.$emit('confirm')}}},[_vm._v(\"\\n \"+_vm._s(_vm.textConfirmButton)+\"\\n \")])],1):_vm._e()]})],2)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppConfirmModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppConfirmModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppConfirmModal.vue?vue&type=template&id=9a1d9c34&scoped=true&\"\nimport script from \"./AppConfirmModal.vue?vue&type=script&lang=js&\"\nexport * from \"./AppConfirmModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppConfirmModal.vue?vue&type=style&index=0&id=9a1d9c34&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 \"9a1d9c34\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\ninstallComponents(component, {VCard,VCardActions,VCardText,VDialog})\n","import { ConsequenceTemplate } from \"@/modules/guidelines/domain/Guideline\";\nimport { dateIsInPaths } from '@/utils'\n\nexport function canEditAccountMove(invoice, user, feature_repo){\n if (invoice.prorate) {\n if (feature_repo.got_feature('feature_editar_asiento_pago',user)) {\n return 'No es posible editar el asiento con las prorratas activadas.'; \n }\n return 'No es posible editar los asientos con las prorratas activadas.';\n }\n console.log(invoice.state,feature_repo.got_feature('feature_only_edit_move_pending_review',user))\n if(invoice.state!='pending_review' && feature_repo.got_feature('feature_only_edit_move_pending_review',user)){\n return 'Solo se pueden editar los asientos cuando la factura está en estado \"Pendiente de revisión\".';\n }\n if(invoice.static_invoice){\n return 'No es posible editar los asientos de eFacturas .';\n }\n\n for (let key in invoice.metadata) {\n if (key.startsWith('ret_base_'))\n return \"No se puede editar el asiento si se especifican bases de retención.\"\n }\n\n return ''\n}\n\n\nexport function isTotalAmountCorrect(balance,tolerancy, user, feature_repo){\n if(feature_repo.got_feature('feature_tolerancy_not_applies_total_amount', user)){\n if(balance!=0)\n return false\n }\n else{\n if(balance<-tolerancy || balance>tolerancy)\n return false\n }\n return true\n}\n\nexport function showErrorRetentionType(invoice){\n if (invoice.state=='error_missing_fields' && invoice.missing_fields.includes('retention_type_name') && invoice.retention_type_name == 'no_applies' && (Boolean(invoice.retention_percent) || Boolean(invoice.retention_amount))){\n return true\n }\n else{\n return false\n }\n\n}\n\n// ---\n// convert Date to 'YYYY-MM-DD'\nexport function formatDate(date: Date): string {\n \n const year = date.getFullYear()\n const month = (date.getMonth() + 1).toString().padStart(2, '0') // add needed 0s before ('1' becomes '01')\n const day = date.getDate().toString().padStart(2, '0') // same for days\n return year + '-' + month + '-' + day \n}\n\n// ---\nfunction inAccountingPeriod(dt, document_paths) {\n try {\n if (dt === null) return false\n let date_hyphen = formatDate(dt)\n return dateIsInPaths(date_hyphen, document_paths)\n } catch (error) {\n console.error(\"inAccountingPeriod() error: \", error)\n }\n return false \n}\n\n// ---\nfunction getConfiguratedDate(inv_date, sel_date, config): Date {\n switch (config) {\n case 'invoice_date':\n return parseSlashSeparatedDate(inv_date)\n break\n case 'today':\n let dt = new Date()\n dt.setHours(0,0,0,0) // set time to 0\n return dt\n break\n case 'configurated':\n return parseSlashSeparatedDate(sel_date)\n break\n default:\n console.error(\"config field has an unexpected value ; value:\" + config)\n return null\n }\n}\n\n// ---\nexport function diff5Years(date_inv, date_acc, acc_config) {\n let dt_inv = parseSlashSeparatedDate(date_inv)\n let dt_acc = getConfiguratedDate(date_inv, date_acc, acc_config)\n if (dt_inv === null || dt_acc === null) return null\n if (isNaN(dt_inv.getTime()) || isNaN(dt_acc.getTime())) return null\n if ((dt_acc.getTime() - dt_inv.getTime()) > 157766400000) return true\n else return false\n}\n\n// ---\nexport function invoiceDateErrors(inv_date, acc_date, acc_config, reg_date, reg_config) {\n let date_errors = {invoice : false, accounting : false, registro : false}\n let dt_inv = parseSlashSeparatedDate(inv_date)\n let dt_acc = getConfiguratedDate(inv_date, acc_date, acc_config)\n let dt_reg = getConfiguratedDate(inv_date, reg_date, reg_config)\n\n if (dt_inv === null) date_errors.invoice = true\n if (dt_acc === null || dt_acc < dt_inv) date_errors.accounting = true\n if (dt_reg === null || dt_reg < dt_acc || dt_reg < dt_inv) date_errors.registro = true\n return date_errors\n}\n\n// ---\nexport function inAccountingPeriodErrors(inv_date, acc_date, acc_config, reg_date, reg_config, document_paths) {\n \n let dt_inv = parseSlashSeparatedDate(inv_date)\n let dt_acc = getConfiguratedDate(inv_date, acc_date, acc_config)\n let dt_reg = getConfiguratedDate(inv_date, reg_date, reg_config)\n\n let inAccounting_errors = {\n invoice : !inAccountingPeriod(dt_inv, document_paths),\n accounting : !inAccountingPeriod(dt_acc, document_paths),\n registro : !inAccountingPeriod(dt_reg, document_paths)\n }\n\n return inAccounting_errors\n}\n\n// ---\nfunction splitAndCheckValidDate(str_date) {\n let regex = /^(0?[1-9]|[1-2][0-9]|3[01])\\/(0?[1-9]|1[0-2])\\/[0-9]{4}$/;\n if (!regex.test(str_date)) return null\n else {\n let date_fields = str_date.split('/')\n if (date_fields.length != 3) return null\n \n let day = parseInt(date_fields[0])\n let month = parseInt(date_fields[1])\n let year = parseInt(date_fields[2])\n\n let daysList = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]\n if (month == 1 || month >= 3) {\n if (day > daysList[month - 1]) return null\n }\n else if (month == 2) { // february\n if ( (!(year % 4) && year % 100) || !(year % 400) ) {\n if (day > 29) return null\n }\n else if (day > 28) return null\n }\n return date_fields\n } \n}\n\n\n\n// ****************************************\n// check if str_date (or today) is in the [max_date, min_date] of any element in document_paths\nexport function date_inAccountingPeriod(acc_date_config:string, str_date:string, document_paths) {\n let date\n try {\n // 'invoice_date', \"2025/12/31\",[ { max_date: \"2025-12-31\", min_date: \"2025-01-01\" }, { max_date: today.getFullYear() + \"-12-31\", min_date: today.getFullYear() + \"-01-01\" } ]\n if (acc_date_config == 'invoice_date' || acc_date_config == 'configurated') {\n let date_fields = str_date.split('/')\n if (date_fields.length == 3) {\n date = date_fields[2] + '-' + date_fields[1] + '-' + date_fields[0]\n }\n }\n else if (acc_date_config == 'today') {\n const today = new Date();\n date = formatDate(today)\n }\n return dateIsInPaths(date, document_paths)\n } catch (error) {\n console.error(\"date_inAccountingPeriod error: \", error)\n }\n return false\n}\n\nexport function accountingBeforeInvoice(str_accounting:string, str_invoice:string) {\n \n function parseDate(str_date) {\n // parses date from format \"DD/MM/YYYY\"\n let regex = new RegExp('[0-9]+\\/[0-9]+\\/[0-9]+')\n if (!regex.test(str_date)) return null\n\n let date_fields = str_date.split('/')\n let year = parseInt(date_fields[2])\n let month = parseInt(date_fields[1]) - 1\n let day = parseInt(date_fields[0])\n\n let d = new Date(year, month, day)\n return d\n }\n \n let dt_accounting = parseDate(str_accounting)\n let dt_invoice = parseDate(str_invoice)\n return dt_accounting < dt_invoice\n}\n\nexport function removeDuplicates(screen_data, feature_repo, alert){\n const got_feature = feature_repo.got_feature('feature_limit_files_upload')\n if (screen_data.files.length > 1) {\n let uniqueFiles = screen_data.files.filter((item, index, array) => array.findIndex(t => t.name == item.name && t.size == item.size) == index);\n if (uniqueFiles.length != screen_data.files.length) {\n alert(\"Los archivos duplicados solo se subirán una vez\");\n }\n if (!got_feature && uniqueFiles.length > screen_data.limit_batch) {\n alert(\"Solo se permiten subir \" + screen_data.limit_batch + \" ficheros a la vez. Si quieres subir más archivos de una sola vez, utiliza un archivo comprimido zip/rar/7z que contenga múltiples archivos.\");\n uniqueFiles = uniqueFiles.slice(0, screen_data.limit_batch);\n }\n screen_data.files.length = 0;\n screen_data.files.push(...uniqueFiles);\n }\n}\n\nexport function checkActivityStatus(screen_data, default_activity, currentCompany){\n console.log(default_activity)\n if (currentCompany.configuration && currentCompany.companydb_type.params.show && currentCompany.companydb_type.params.show.includes('actividad') && !default_activity) {\n screen_data.empty_actividad = true;\n }else{\n screen_data.empty_actividad = false;\n }\n}\n\nexport function date_to_string(date){\n var mm = date.getMonth() + 1; // getMonth() is zero-based\n var dd = date.getDate();\n\n return [(dd>9 ? '' : '0') + dd,\n (mm>9 ? '' : '0') + mm,\n date.getFullYear()\n ].join('/');\n}\n\nexport function isValidDate(d_str){\n let res = false\n try{\n let d_str_split = d_str.split('/')\n let d = new Date(d_str_split[1]+'/'+d_str_split[0]+'/'+d_str_split[2]);\n if (!isNaN(d.getTime())){\n res = true\n }\n if(d_str_split[2].length<2 || d_str_split[2].length>4 || d_str_split[0].length>2 || d_str_split[1].length>2){\n res = false\n }\n }\n catch(err){\n res = false\n }\n return res\n}\n\nexport function processDateConfig(config, dateValue) {\n if ( config === 'configurated') {\n if (isValidDate(dateValue)) {\n let d_str_split = dateValue.split('/');\n let d = new Date(`${d_str_split[1]}/${d_str_split[0]}/${d_str_split[2]}`);\n return { date: date_to_string(d), invalid: false };\n } else {\n return { date: \"\", invalid: true };\n }\n }\n return { date: dateValue, invalid: false };\n}\n\nexport function processBothDateConfig(\n screen_data,\n feature_repo\n){\n let got_feature = feature_repo.got_feature(\"feature_fecha_registro\");\n let resultAccounting = processDateConfig(screen_data.accounting_date_config, screen_data.default_accounting_date)\n if (got_feature) {\n let resultRegistro = processDateConfig(screen_data.registro_date_config, screen_data.default_registro_date)\n screen_data.default_accounting_date = resultAccounting.date, \n screen_data.invalid_default_accounting_date = resultAccounting.invalid,\n screen_data.default_registro_date = resultRegistro.date, \n screen_data.invalid_default_registro_date = resultRegistro.invalid\n } else {\n screen_data.default_accounting_date = resultAccounting.date, \n screen_data.invalid_default_accounting_date = resultAccounting.invalid,\n screen_data.default_registro_date = \"\", \n screen_data.invalid_default_registro_date = false\n }\n}\n\nexport function beforeUploadFiles(screen_data, feature_repo, alert, currentCompany, default_activity){\n removeDuplicates(screen_data, feature_repo, alert)\n checkActivityStatus(screen_data, default_activity, currentCompany)\n processBothDateConfig(screen_data, feature_repo)\n}\n\nexport function isValidExtension(ext, userData){\n let valid_ext = ['pdf','jpg','jpeg','png','zip','rar','7z','tiff']\n if(userData.available_features['feature_upload_excel']){\n valid_ext = valid_ext.concat(['xls', 'xlsx', 'xlsm', 'ods'])\n valid_ext = valid_ext.concat(['xml','xsig'])\n }\n if(userData.available_features['feature_upload_office']){\n valid_ext = valid_ext.concat(['docx', 'doc', 'odt'])\n }\n return valid_ext.includes(ext.toLowerCase())\n}\n\nexport function excelFileChosen(files, userData){\n let excel_in_files = false\n for (let i in files) {\n let fname = files[i].name.toLowerCase()\n if (fname.endsWith('.xls') || fname.endsWith('.xlsm') || fname.endsWith('.ods') || fname.endsWith('.xlsx')){\n excel_in_files =true\n }\n }\n return userData.available_features['feature_upload_excel'] && files && files.length && excel_in_files;\n}\n\nexport function setSnackbar(screen_data, color, text) {\n screen_data.snackbar.text = text\n screen_data.snackbar.color = color\n screen_data.snackbar.isVisible = true\n}\n\nexport async function afterCheckDatesForUploadingFiles(\n screen_data,\n ccc, \n userData, \n uuidv4,\n processFile,\n createDocumentBatch,\n){\n if(!screen_data.empty_kind && !screen_data.empty_actividad && !screen_data.invalid_default_accounting_date && !screen_data.invalid_default_registro_date){\n for (let i in screen_data.files) {\n screen_data.uploaded_files[screen_data.files[i].name] = false;\n }\n screen_data.uploading = true\n screen_data.uploading_percent = 0\n const cc = await ccc()\n screen_data.invalid_ext = []\n for (let i = 0; i < screen_data.files.length; i++) {\n const ext = screen_data.files[i].name.split('.').pop()\n if(!isValidExtension(ext, userData)){\n screen_data.invalid_ext.push(screen_data.files[i].name)\n }\n }\n let mult_ex_list = false\n if(excelFileChosen(screen_data.files, userData) && screen_data.files.length>1 && screen_data.excel_kind == 'excel_list'){\n mult_ex_list = true\n }\n if(screen_data.invalid_ext.length==0 && !mult_ex_list){\n try {\n let batch_info = []\n for (let i = 0; i < screen_data.files.length; i++) {\n const extension = screen_data.files[i].name.split('.').pop();\n const uuid = uuidv4();\n const file_name = `private/${cc.identityId}/pdfs/${uuid}.${extension}`\n batch_info.push({name: screen_data.files[i].name, \n size: screen_data.files[i].size, \n uuid: uuid,\n extension: extension,\n s3_key: file_name})\n screen_data.uploaded_files[screen_data.uploading_file] = true;\n }\n await createDocumentBatch(batch_info);\n\n for (let i = 0; i < batch_info.length; i++) {\n screen_data.uploading_file = screen_data.files[i].name;\n screen_data.uploading_percent = i * 100 / screen_data.files.length;\n const extension = batch_info[i].extension;\n const uuid = batch_info[i].uuid;\n await processFile(screen_data.files[i], uuid, extension, cc.identityId, i+1);\n }\n screen_data.uploading_file = '';\n screen_data.uploaded_files = {};\n\n setSnackbar(screen_data,'success', 'Fichero(s) procesado(s) correctamente');\n screen_data.files = null;\n screen_data.uploading = false;\n screen_data.uploading_percent = 100;\n } catch (error) {\n console.error(error);\n if(error.name=='RequestTimeTooSkewed'){\n screen_data.confirm_title = 'Los siguientes ficheros no se han subido correctamente. Parece que la configuración de la franja horaria de su ordenador no es la correcta.'\n }else{\n screen_data.confirm_title = 'Los siguientes ficheros no se han subido correctamente'\n }\n screen_data.error_dialog = true;\n screen_data.error_uploading = true;\n screen_data.uploading = false;\n }\n }else{\n if(mult_ex_list){\n screen_data.dialog_err_txt = \"Los listados excel deben subirse de uno en uno.\"\n }\n screen_data.error_dialog_ext = true;\n screen_data.uploading = false\n }\n }\n}\n\nexport async function lastFunctionUploadingFiles(screen_data, feature_repo, currentCompany, cc, userData, uuidv4, processFile, createDocumentBatch, default_activity){\n screen_data.empty_kind=false\n screen_data.empty_actividad=false\n screen_data.invalid_default_accounting_date=false\n screen_data.invalid_default_registro_date=false\n if(!screen_data.kind)\n screen_data.empty_kind=true\n \n await beforeUploadFiles(screen_data,feature_repo,alert, currentCompany, default_activity)\n\n await afterCheckDatesForUploadingFiles(screen_data, cc, userData, uuidv4, processFile, createDocumentBatch)\n}\n\n// ---\nfunction parseSlashSeparatedDate(slashDate:string) {\n let date_fields = splitAndCheckValidDate(slashDate)\n if (date_fields === null || date_fields.length != 3) return null\n else {\n let hyphenDate = date_fields[2] + '-' + date_fields[1] + '-' + date_fields[0]\n let d = new Date(hyphenDate)\n d.setHours(0,0,0,0)\n return d\n }\n}\n\n// accepts date strings in format \"DD/MM/YYYY\" or Date objects\nexport function dateIsBefore(date1, date2) {\n let dt1 = date1\n let dt2 = date2\n if (typeof date1 === \"string\") {\n dt1 = parseSlashSeparatedDate(date1)\n }\n if (typeof date2 === \"string\") {\n dt2 = parseSlashSeparatedDate(date2)\n }\n if (dt1 === null || dt2 === null) return null\n else {\n dt1.setHours(0,0,0,0)\n dt2.setHours(0,0,0,0)\n return dt1 < dt2\n }\n}\n\n\nexport const taxes = {\n 'igic_7': {coef: 0.07, type: 'igic', label: '7%', color: \"blue\", text: \"IGIC 7%\"},\n 'igic_5': {coef: 0.05, type: 'igic', label: '5%', color: \"blue\", text: \"IGIC 5%\"},\n 'igic_3': {coef: 0.03, type: 'igic', label: '3%', color: \"blue\", text: \"IGIC 3%\"}, \n 'igic_ne_0': {coef: 0., type: 'igic', label: '0%', color: \"blue\", text: \"IGIC 0%\"},\n 'igic_ns_0': {coef: 0., type: 'igic', label: '0% NS', color: \"blue\", text: \"IGIC 0% NS\"},\n 'igic_0': {coef: 0., type: 'igic', label: '0% Ex.', color: \"blue\", text: \"IGIC 0% Ex.\"},\n 'igic_95': {coef: 0.095, type: 'igic', label: '9.5%', color: \"blue\", text: \"IGIC 9.5%\"},\n 'igic_15': {coef: 0.15, type: 'igic', label: '15%', color: \"blue\", text: \"IGIC 15%\"},\n 'igic_20': {coef: 0.2, type: 'igic', label: '20%', color: \"blue\", text: \"IGIC 20%\"}, \n 'vat_21': {coef: 0.21, type: 'vat', label: '21%', color: \"blue\", text: \"IVA 21%\"},\n 'vat_12': {coef: 0.12, type: 'vat', label: '12%', color: \"blue\", text: \"IVA 12%\"},\n 'vat_10_5': {coef: 0.105, type: 'vat', label: '10.5%', color: \"blue\", text: \"IVA 10.5%\"}, \n 'vat_10': {coef: 0.1, type: 'vat', label: '10%', color: \"green\", text: \"IVA 10%\"},\n 'vat_75': {coef: 0.075, type: 'vat', label: '7.5%', color: \"green\", text: \"IVA 7.5%\"},\n 'vat_5': {coef: 0.05, type: 'vat', label: '5%', color: \"yellow\", text: \"IVA 5%\"},\n 'vat_4': {coef: 0.04, type: 'vat', label: '4%', color: \"yellow\", text: \"IVA 4%\"},\n 'vat_2': {coef: 0.02, type: 'vat', label: '2%', color: \"yellow\", text: \"IVA 2%\"},\n 'vat_ne_0': {coef: 0.0, type: 'vat', label: '0%', color: \"yellow\", text: \"IVA 0%\"},\n 'vat_ns_0': {coef: 0.0, type: 'vat', label: '0% NS', color: \"yellow\", text: \"IVA 0% NS\"},\n 'vat_0': {coef: 0.0, type: 'vat', label: '0% Ex.', color: \"yellow\", text: \"IVA 0% Ex.\"},\n 'vat_re_5': {coef: 0.005, type: 'vat', label: 'RE 0.5%', color: \"blue\", text: \"RE 0.5%\"},\n 'vat_re_625': {coef: 0.0062, type: 'vat', label: 'RE 0.62%', color: \"blue\", text: \"RE 0.62%\"},\n 'vat_re_4': {coef: 0.014, type: 'vat', label: 'RE 1.4%', color: \"blue\", text: \"RE 1.4%\"},\n 'vat_re_2': {coef: 0.052, type: 'vat', label: 'RE 5.2%', color: \"blue\", text: \"RE 5.2%\"},\n 'vat_re_1_75': {coef: 0.0175, type: 'vat', label: 'RE 1.75%', color: \"blue\", text: \"RE 1.75%\"},\n 'vat_re_1': {coef: 0.01, type: 'vat', label: 'RE 1%', color: \"blue\", text: \"RE 1%\"},\n 'vat_re_026': {coef: 0.0026, type: 'vat', label: 'RE 0.26%', color: \"blue\", text: \"RE 0.26%\"},\n 'igi_9_5': {coef: 0.095, type: 'igi', label: '9.5%', color: \"blue\", text: \"IGI 9.5%\"},\n 'igi_4_5': {coef: 0.045, type: 'igi', label: '4.5%', color: \"blue\", text: \"IGI 4.5%\"},\n 'igi_2_5': {coef: 0.025, type: 'igi', label: '2.5%', color: \"blue\", text: \"IGI 2.5%\"},\n 'igi_1': {coef: 0.01, type: 'igi', label: '1%', color: \"blue\", text: \"IGI 1%\"},\n 'igi_0': {coef: 0, type: 'igi', label: '0%', color: \"blue\", text: \"IGI 0%\"},\n 'igi_ex_0': {coef: 0, type: 'igi', label: '0% Ex.', color: \"blue\", text: \"IGI 0% Ex.\"},\n 'igic2019_6_5': {coef: 0.065, type: 'igic2019', label: '6.5%', color: \"blue\", text: \"IGIC 6.5%\"},\n 'igic2019_3': {coef: 0.03, type: 'igic2019', label: '3%', color: \"blue\", text: \"IGIC 3%\"}, \n 'igic2019_13_5': {coef: 0.135, type: 'igic2019', label: '13.5%', color: \"blue\", text: \"IGIC 13.5%\"}, \n \n}\n\nexport const iva_order_company = [\n \"igic_ne_0\",\"igic_ns_0\",\"igic_0\",\"igic_3\", \"igic_5\", \"igic_7\",\"igic_95\",\"igic_15\",\"igic_20\",\n \"vat_ne_0\",\"vat_ns_0\",\"vat_0\",\"vat_2\",\"vat_4\",\"vat_5\",\"vat_75\",\"vat_10\",\"vat_10_5\",\"vat_12\",\"vat_21\",\n \"vat_0_0\",\"vat_4_5\",\"vat_5_625\",\"vat_26_2\",'vat_75_1', 'vat_2_026',\"vat_11_4\",\n \"vat_re_5\",\"vat_re_625\",\"vat_re_2\",\"vat_re_4\",\"vat_re_1_75\", \"vat_re_1\", \"vat_re_026\",\n \"igic_cm_3\",\"igic_cm_5\",\"igic_cm_7\",\"igic_cm_95\",\"igic_cm_15\",\"igic_cm_20\",\n \"igi_0\",\"igi_ex_0\",\"igi_1\",\"igi_2_5\",\"igi_4_5\",\"igi_9_5\",\"igic2019_3\",\"igic2019_6_5\", 'igic2019_13_5'\n ]\n\nexport let vats = {\n formTag: {\n inv_number: '',\n supplier: '',\n vat_supplier: '',\n customer: '',\n vat_customer: '',\n invoice_date: '',\n due_date: '',\n retention_type: '',\n retention_amount: '',\n total_amount: '',\n other_amounts: ''\n }\n}\n\nObject.keys(taxes).forEach(k => {\n let e = taxes[k]\n if(!(Object.keys(vats).includes(e.type))){\n vats[e.type] = []\n }\n e['vat'] = k\n vats[e.type].push(e)\n \n});\n\n\nfunction myParseFloat(e){\n if(e)\n return parseFloat(e.toString().replace(',','.'))\n else\n return e\n\n}\n\nexport class Amounts {\n metadata: any;\n\n constructor(metadata){\n this.metadata = metadata\n }\n\n error_total_amount_retention(fieldKey, feature_repo, there_is_base, tolerancy, isTotalAmountCorrect, suma_ret, balance, user, required){\n let error = false\n if(fieldKey=='total_amount'){\n let allow_no_bases = feature_repo.got_feature('feature_allow_no_bases');\n if((!there_is_base && !allow_no_bases) || !isTotalAmountCorrect(balance,tolerancy,user,feature_repo)){\n error=true\n }\n \n }\n else if(['retention_amount','retention_type'].includes(fieldKey)){\n if(required){\n let ret_calc = Math.abs(suma_ret) * Math.abs(myParseFloat(this.metadata['retention_type'])) / 100.0 * 100;\n let decimals_calc = Math.round((ret_calc-Math.trunc(ret_calc))*100)/100;\n let tolerance = 0;\n if (decimals_calc == 0.5) {\n tolerance = 0.01; //Con 0.005 decimales, permitimos redondeo hacia arriba y hacia abajo.\n }\n let ret_calc_round = Math.round(ret_calc) / 100;\n let ret_amount_round = Math.round(Math.abs(myParseFloat(this.metadata['retention_amount'])) * 100) / 100;\n if(!this.metadata['retention_type'] ||\n (ret_calc_round > Math.round((ret_amount_round+tolerance)*100)/100) || \n (ret_calc_round < Math.round((ret_amount_round-tolerance)*100)/100) || \n (this.metadata['retention_type'] && !this.metadata['retention_amount']) || \n (!this.metadata['retention_type'] && this.metadata['retention_amount'])){\n error=true\n }\n }\n }\n return error\n }\n\n suma_bases_cuotas(fieldKey, feature_repo, tabs, typeCheckRet){\n let suma_bases=0.0;\n let suma_ret=0.0;\n let suma_cuotas=0.0;\n let there_is_base=false;\n if(['total_amount'].includes(fieldKey)) {\n ({ there_is_base, suma_cuotas, suma_bases } = this.suma_bases_cuotas_total_amount(this.metadata, feature_repo, tabs));\n }\n if(['retention_amount', 'retention_type'].includes(fieldKey)) {\n suma_ret = this.suma_bases_cuotas_retention(this.metadata, feature_repo, tabs, typeCheckRet);\n }\n return [suma_bases, suma_cuotas, suma_ret, there_is_base]; \n\n }\n\n suma_bases_cuotas_total_amount(metadata, feature_repo, tabs) {\n let there_is_base = false;\n let suma_cuotas = 0.0\n let suma_bases = 0.0\n let check_total_all_decimals = feature_repo.got_feature('feature_a3_descuadre_fix') && !['', undefined].includes(metadata['retention_amount']);\n for (var tab in tabs) {\n for (var e in tabs[tab].vats) {\n ({ there_is_base, suma_cuotas, suma_bases } = this.suma_base_cuota_total_amount(tabs, tab, e, metadata, there_is_base, check_total_all_decimals, suma_cuotas, suma_bases));\n }\n }\n return { there_is_base, suma_cuotas, suma_bases };\n }\n \n\n private suma_base_cuota_total_amount(tabs: any, tab: string, e: string, metadata: any, there_is_base: boolean, check_total_all_decimals: boolean, suma_cuotas: number, suma_bases: number) {\n let met_field = tabs[tab].vats[e].vat;\n let base_field = 'base_' + met_field;\n if (!['', undefined].includes(metadata[met_field]) && !['', undefined].includes(metadata[base_field]))\n there_is_base = true;\n if (metadata[met_field]) {\n if (check_total_all_decimals) {\n suma_cuotas = suma_cuotas + myParseFloat(metadata['base_' + met_field]) * taxes[met_field]['coef'];\n }\n else {\n suma_cuotas = suma_cuotas + myParseFloat(metadata[met_field]);\n }\n }\n if (!base_field.includes('_re_') && metadata[base_field]) {\n suma_bases = suma_bases + myParseFloat(metadata['base_' + met_field]);\n }\n ({ suma_cuotas, suma_bases } = this.suma_base_total_amount_detail(metadata, met_field, suma_cuotas, base_field, suma_bases));\n return { there_is_base, suma_cuotas, suma_bases };\n }\n\n private suma_base_total_amount_detail(metadata: any, met_field: any, suma_cuotas: number, base_field: string, suma_bases: number) {\n if (metadata['detail_' + met_field] && metadata['detail_' + met_field].length > 0) {\n for (let i in metadata['detail_' + met_field]) {\n if (metadata['detail_' + met_field][i][met_field])\n suma_cuotas = suma_cuotas + myParseFloat(metadata['detail_' + met_field][i][met_field]);\n if (!base_field.includes('_re_')) {\n if (metadata['detail_' + met_field][i][base_field]) {\n suma_bases = suma_bases + myParseFloat(metadata['detail_' + met_field][i][base_field]);\n }\n }\n }\n }\n return { suma_cuotas, suma_bases };\n }\n\n suma_bases_cuotas_retention(metadata, feature_repo, tabs, typeCheckRet) {\n let suma_ret = 0.0\n let type_check_ret = typeCheckRet;\n for (var tab in tabs) {\n for (var e in tabs[tab].vats) {\n suma_ret = this.suma_base_cuota_retention(tabs, tab, e, type_check_ret, metadata, suma_ret);\n }\n }\n return suma_ret;\n }\n \n \n\n private suma_base_cuota_retention(tabs: any, tab: string, e: string, type_check_ret: any, metadata: any, suma_ret: number) {\n let met_field = tabs[tab].vats[e].vat;\n let base_field = 'base_' + met_field;\n let ret_base_field = 'ret_base_' + met_field;\n let not_ret_check = 'not_ret_' + met_field; //branca mauro aplifisa\n let not_apl_ret = 'not_apl_ret_' + met_field; //branca narcís A3\n if (type_check_ret != 'checkbox' || !(not_ret_check in metadata) || !(metadata[not_ret_check])) { //tipus check amb check no marcat no cal sumar res\n if (type_check_ret == 'base' && (metadata[ret_base_field] || metadata[ret_base_field] === 0)) { //si es tipus base amb ret base alimentada sumem aquesta base\n if (metadata[ret_base_field]) {\n suma_ret += myParseFloat(metadata[ret_base_field]);\n }\n }\n else {\n if (((met_field == 'vat_12' || met_field == 'vat_10_5') && metadata[met_field]) && !metadata[not_apl_ret]) {\n suma_ret += myParseFloat(metadata[met_field]);\n }\n if (!base_field.includes('_re_') && metadata[base_field]) {\n if (!metadata[not_apl_ret]) {\n suma_ret += myParseFloat(metadata['base_' + met_field]);\n }\n }\n\n if (type_check_ret == 'detail' && metadata['detail_' + met_field] && metadata['detail_' + met_field].length > 0) {\n for (let i in metadata['detail_' + met_field]) {\n if (!base_field.includes('_re_') && metadata['detail_' + met_field][i][base_field] && !metadata['detail_' + met_field][i]['not_apl_ret_' + met_field]) {\n suma_ret += myParseFloat(metadata['detail_' + met_field][i][base_field]);\n if ((met_field == 'vat_12' || met_field == 'vat_10_5') && metadata[met_field]) {\n suma_ret = suma_ret + myParseFloat(metadata['detail_' + met_field][i][met_field]);\n }\n }\n }\n }\n }\n }\n return suma_ret;\n }\n}\n\nexport function setType0metadata(tax_type, third_info, metadata, commit, SET_IVA_0_FROM_TO) {\n let from = undefined;\n let to = undefined;\n if (tax_type == 'igi') {\n if (third_info.dry_0_percent && !metadata['base_igi_0']) {\n to = 'igi_0';\n if (metadata['base_igi_ex_0']) {\n from = 'igi_ex_0';\n }\n }\n if (!third_info.dry_0_percent && !metadata['base_igi_ex_0']) {\n to = 'igi_ex_0';\n if (metadata['base_igi_0']) {\n from = 'igi_0';\n }\n }\n \n if (from && to) {\n console.log('calling commit')\n commit(SET_IVA_0_FROM_TO, { from, to });\n }\n return\n }\n if (tax_type != 'iva') {\n if (third_info.no_sujeta && !metadata['base_igic_ns_0']) {\n to = 'igic_ns_0';\n if (metadata['base_igic_0'] && !metadata['base_igic_ne_0']) {\n from = 'igic_0';\n }\n else if (!metadata['base_igic_0'] && metadata['base_igic_ne_0']) {\n from = 'igic_ne_0';\n }\n }\n else if (third_info.dry_0_percent && !metadata['base_igic_ne_0']) {\n to = 'igic_ne_0';\n if (metadata['base_igic_0'] && !metadata['base_igic_ns_0']) {\n from = 'igic_0';\n }\n else if (!metadata['base_igic_0'] && metadata['base_igic_ns_0']) {\n from = 'igic_ns_0';\n }\n }\n else if (!third_info.no_sujeta && !third_info.dry_0_percent && !metadata['base_igic_0']) {\n to = 'igic_0';\n if (metadata['base_igic_ns_0'] && !metadata['base_igic_ne_0']) {\n from = 'igic_ns_0';\n }\n else if (!metadata['base_igic_ns_0'] && metadata['base_igic_ne_0']) {\n from = 'igic_ne_0';\n }\n }\n if (from && to) {\n commit(SET_IVA_0_FROM_TO, { from, to });\n }\n }\n if (tax_type != 'igic') {\n from = undefined;\n to = undefined;\n if (third_info.no_sujeta && !metadata['base_vat_ns_0']) {\n to = 'vat_ns_0';\n if (metadata['base_vat_0'] && !metadata['base_vat_ne_0']) {\n from = 'vat_0';\n }\n else if (!metadata['base_vat_0'] && metadata['base_vat_ne_0']) {\n from = 'vat_ne_0';\n }\n }\n else if (third_info.dry_0_percent && !metadata['base_vat_ne_0']) {\n to = 'vat_ne_0';\n if (metadata['base_vat_0'] && !metadata['base_vat_ns_0']) {\n from = 'vat_0';\n }\n else if (!metadata['base_vat_0'] && metadata['base_vat_ns_0']) {\n from = 'vat_ns_0';\n }\n }\n else if (!third_info.no_sujeta && !third_info.dry_0_percent && !metadata['base_vat_0']) {\n to = 'vat_0';\n if (metadata['base_vat_ns_0'] && !metadata['base_vat_ne_0']) {\n from = 'vat_ns_0';\n }\n else if (!metadata['base_vat_ns_0'] && metadata['base_vat_ne_0']) {\n from = 'vat_ne_0';\n }\n }\n else if (third_info.inversion_sujeto_pasivo_igic && !metadata['base_igic_0'] && tax_type == 'iva_igic') {\n to = 'igic_0';\n if (metadata['base_vat_0']) {\n from = 'vat_0';\n }\n }\n if (from && to) {\n commit(SET_IVA_0_FROM_TO, { from, to });\n }\n }\n }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',_vm._g(_vm._b({staticClass:\"rounded-lg px-7 py-2 app-btn\",class:!_vm.outlined ? 'white--text' : '',attrs:{\"depressed\":\"\",\"x-small\":_vm.xSmall,\"small\":_vm.small,\"large\":_vm.large,\"x-large\":_vm.xLarge,\"outlined\":_vm.outlined,\"loading\":_vm.loading,\"color\":_vm.color,\"disabled\":_vm.disabled,\"height\":_vm.height,\"block\":_vm.block},on:{\"click\":function (e) { return _vm.$emit('click', e); }}},'v-btn',_vm.vbind,false),_vm.von),[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppBtn.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppBtn.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppBtn.vue?vue&type=template&id=300c9ee7&scoped=true&\"\nimport script from \"./AppBtn.vue?vue&type=script&lang=js&\"\nexport * from \"./AppBtn.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppBtn.vue?vue&type=style&index=0&id=300c9ee7&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 \"300c9ee7\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\ninstallComponents(component, {VBtn})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{attrs:{\"no-gutters\":\"\",\"justify\":_vm.justify,\"align\":_vm.align}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppRow.vue?vue&type=template&id=7b259392&\"\nimport script from \"./AppRow.vue?vue&type=script&lang=js&\"\nexport * from \"./AppRow.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VRow})\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./TrainerTagsInfo.vue?vue&type=style&index=0&id=556828c4&scoped=true&lang=css&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./DetailAccounts.vue?vue&type=style&index=1&id=2120f9ca&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{staticClass:\"ma-0 pa-0\",attrs:{\"justify\":_vm.justify,\"align\":_vm.align}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModalRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModalRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppModalRow.vue?vue&type=template&id=603af896&\"\nimport script from \"./AppModalRow.vue?vue&type=script&lang=js&\"\nexport * from \"./AppModalRow.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VRow})\n","module.exports = __webpack_public_path__ + \"img/bank-assert-rule.2cd1f946.svg\";","module.exports = __webpack_public_path__ + \"img/bank-asiento.11afd0f6.svg\";","module.exports = __webpack_public_path__ + \"img/mark_as_paid_disabled.aee9e376.svg\";","module.exports = __webpack_public_path__ + \"img/upload_excel.ae5ae041.svg\";","module.exports = __webpack_public_path__ + \"img/sign_invoice.3c6e6fd4.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./DetailReferenceAccounts.vue?vue&type=style&index=1&id=5b60e5f3&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/add_box.e01f75d0.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./ViesValidator.vue?vue&type=style&index=0&id=4c4e96e9&scoped=true&lang=css&\"","import { query_dispatcher_get, sync_command_dispatcher, async_command_dispatcher } from \"@/api/client\";\nimport { QueryDispatcher } from \"@/modules/shared/domain/QueryDispatcher\";\nimport { WorkflowTemplateRepository } from \"../domain/WorkflowTemplateRepository\";\nimport { nameToClass, UploadAsInvoice, WaitForApproval, WorkflowTemplate, AskAI, AddDocumentRepresentationToConversation,LookupAndMatchInstance, LookupAndMatchMultipleInstances,SendThroughEmail, SendEmailWithTemplate,RunCommand, SendDataToEndpoint, NotifyCounterpart, ExtractInstanceFromRawData, CreateInstanceFromContext,CompleteConversation,AddInstanceToList,CreateInstance,CreateInstancesFromList,ModifyContext,RunScript } from \"../domain/WorkflowTemplate\";\n\nfunction objectToDict(obj: any): Record {\n const dict: Record = {};\n\n for (const key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n const value = obj[key];\n if (typeof value === 'object' && value !== null && !Array.isArray(value)) {\n // Recursively convert nested object\n dict[key] = objectToDict(value);\n } else {\n dict[key] = value;\n }\n }\n }\n\n return dict;\n}\n\n\nexport class ApiWorkflowTemplateRepository implements WorkflowTemplateRepository{\n \n query_dispatcher: QueryDispatcher\n sync_command_dispatcher: QueryDispatcher\n constructor() {\n this.query_dispatcher = query_dispatcher_get\n this.sync_command_dispatcher = sync_command_dispatcher\n }\n\n api_to_domain(wf) {\n let id = wf.id\n let name = wf.name\n let stages = wf.stages.map(stage => {\n console.log(stage)\n let my_class = nameToClass[stage.name]\n if( stage.name == 'AskAI' ){\n stage['save_as_key'] = stage['key']\n }\n const instance = Object.assign(new my_class, stage);\n console.log(instance);\n return instance\n }\n )\n let doc_types = wf.default_doc_types\n let trigger_entity_type_uuid = wf.trigger_entity_type_uuid\n return new WorkflowTemplate(id, stages, name, doc_types, trigger_entity_type_uuid)\n }\n\n domain_to_api(wf: WorkflowTemplate) {\n return JSON.parse(JSON.stringify(objectToDict(wf)));\n }\n\n async find_by_id(wf_id: number): Promise {\n try {\n let res = await this.query_dispatcher.dispatch('workflow.template.query', { wf_id: wf_id })\n if (res) {\n return this.api_to_domain(res)\n }\n return null\n } catch (error) {\n console.error(error)\n return null\n }\n }\n\n async get_workflow_template(): Promise {\n try {\n let res = await this.query_dispatcher.dispatch('workflow.templates.query', {})\n return res\n } catch (error) {\n console.error(error)\n return null\n }\n }\n\n async save_workflow_template(wf: WorkflowTemplate): Promise {\n let wf_data = this.domain_to_api(wf)\n try {\n let res = await this.sync_command_dispatcher.dispatch('save.workflow.template', {wf: wf_data});\n if (res) {\n return res.output\n }\n return null\n } catch (error) {\n return null\n }\n }\n\n async filter_by_company_id(company_id: Number,ordering, limit, offset): Promise {\n let query_args = {}//{ company_id: company_id}\n let args = {args: query_args}\n if (ordering) {\n args['ordering'] = ordering\n }\n if (limit) {\n args['limit'] = limit\n }\n if (offset) {\n args['offset'] = offset\n }\n let inv_data = await this.query_dispatcher.dispatch('workflow.templates.query', args)\n let count = inv_data.count\n inv_data = inv_data.results || []\n let inv_list = []\n for (let inv in inv_data) {\n inv_list.push(this.api_to_domain(inv_data[inv]))\n }\n if(!count){\n count = inv_list.length\n }\n return {results:inv_list, count: count}\n }\n \n async get_available_users(): Promise {\n try {\n let query_args = {}//{ company_id: company_id}\n let args = {args: query_args}\n args['ordering'] = '-id' //si no hi ha args fa POST i em lia els tipus de return\n args['limit'] = 1000\n let res = await this.query_dispatcher.dispatch('available.users.query', args)\n return res.results\n } catch (error) {\n console.error(error)\n return\n }\n }\n\n // async get_all_schemas(exclude_template_id=null): Promise {\n // let args = {exclude_template_id: exclude_template_id}\n // let res = await this.query_dispatcher.dispatch('all.schemas', args)\n // return res\n // }\n}\n\nexport class MemoryWorkflowTemplateRepository implements WorkflowTemplateRepository{\n wf_templates: WorkflowTemplate[] = []\n\n constructor(wfs: WorkflowTemplate[]) {\n this.wf_templates = wfs\n }\n async find_by_id(wf_id: number): Promise {\n let wf = this.wf_templates.find(wf => wf.id === wf_id)\n return wf\n }\n\n async get_workflow_template(): Promise {\n return this.wf_templates\n }\n\n async save_workflow_template(wf: WorkflowTemplate): Promise {\n this.wf_templates.push(wf)\n return wf\n }\n\n async filter_by_company_id(company_id: Number,ordering, limit, offset): Promise {\n let wf_templates = this.wf_templates\n let count = wf_templates.length\n return {results:wf_templates, count: count}\n }\n\n async get_available_users(): Promise {\n return []\n }\n\n async get_all_schemas(exclude_template_id=null): Promise {\n return []\n }\n\n}","module.exports = __webpack_public_path__ + \"img/bank-mark-as-reviewed.a1dfc8d7.svg\";","export interface Token {\n token: string;\n}\n\nexport class TokenValue implements Token{\n token: string;\n constructor(token:string){\n this.token=token;\n } \n}","import { Token, TokenValue } from \"../domain/token\";\nimport { TokenRepository } from \"../domain/tokenRepository\";\nimport { client } from \"../../../api/client\";\n\nexport function createApiTokenRepository(): TokenRepository {\n return {\n copy,\n get,\n getOrCreate,\n };\n}\n\nasync function copy(token: string) {\n navigator.clipboard.writeText(token);\n}\n\nasync function get() {\n const token = await client.get(`get_user_token/`).then(\n (response) => response.data as Promise\n );\n return token;\n}\n\nasync function getOrCreate() {\n const resp=await client.post(`activate_link/`);\n const token = new TokenValue(resp.data.key)\n return token;\n}\n\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:\"rounded-lg app-creation-object-section-card\",attrs:{\"outlined\":\"\"}},[_c('v-card-title',{staticClass:\"primary--text pt-5 pb-0\"},[_vm._t(\"title\")],2),_c('v-card-text',[_vm._t(\"default\")],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppCreationObjectSectionCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppCreationObjectSectionCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppCreationObjectSectionCard.vue?vue&type=template&id=1786137a&\"\nimport script from \"./AppCreationObjectSectionCard.vue?vue&type=script&lang=js&\"\nexport * from \"./AppCreationObjectSectionCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppCreationObjectSectionCard.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\ninstallComponents(component, {VCard,VCardText,VCardTitle})\n","module.exports = __webpack_public_path__ + \"img/split_view_mode.cf7b2906.svg\";","module.exports = __webpack_public_path__ + \"img/mark_as_paid.252ce63a.svg\";","module.exports = __webpack_public_path__ + \"img/bank-assert-rules.aba269e2.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{staticClass:\"pa-0 ma-0\"},[(_vm.enable_account_types && this.currentCompany['companydb_type'].value != 'diezsoftware_nube_au')?_c('v-col',{class:_vm.enable_account_types && this.currentCompany['companydb_type'].value!='diezsoftware_nube_au' && _vm.$vuetify.breakpoint.smAndUp ? 'pa-0 ma-0 pr-4' : 'pa-0 ma-0',attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('app-select',{staticClass:\"pt-0 mt-0 rounded-lg app-select-no-border\",attrs:{\"label\":\"Tipo de cuenta\",\"items\":_vm.account_types,\"hide-details\":true},on:{\"change\":_vm.fillAccountByType},model:{value:(_vm.account_type),callback:function ($$v) {_vm.account_type=$$v},expression:\"account_type\"}})],1):_vm._e(),_c('v-col',{class:_vm.enable_account_types && this.currentCompany['companydb_type'].value!='diezsoftware_nube_au' && _vm.$vuetify.breakpoint.smAndUp ? 'pa-0 ma-0 pl-4' : 'pa-0 ma-0',attrs:{\"cols\":(_vm.enable_account_types && this.currentCompany['companydb_type'].value!='diezsoftware_nube_au' && _vm.$vuetify.breakpoint.smAndUp)?'6':'12'}},[(_vm.kind=='boolean')?_c('div',[(!(_vm.myValue===undefined))?_c('v-checkbox',{staticStyle:{\"margin-top\":\"0px\"},attrs:{\"input-value\":_vm.myValue,\"value\":_vm.myValue,\"true-value\":false,\"false-value\":true,\"disabled\":_vm.disabled,\"hide-details\":\"\",\"dense\":_vm.dense},on:{\"change\":_vm.myInput}}):_c('v-checkbox',{staticStyle:{\"margin-top\":\"0px\"},attrs:{\"input-value\":false,\"value\":_vm.myValue,\"true-value\":false,\"false-value\":true,\"disabled\":_vm.disabled,\"hide-details\":\"\",\"dense\":_vm.dense},on:{\"change\":_vm.myInput}})],1):(_vm.kind=='account_am')?_c('app-combobox',{class:_vm.computedClass,attrs:{\"error\":(_vm.bck_error || _vm.computedError || _vm.error),\"value\":_vm.myValue,\"readonly\":Boolean(_vm.readonly),\"required\":_vm.required,\"autocomplete\":\"off\",\"label\":_vm.label,\"dense\":_vm.dense,\"hide-details\":_vm.myHideDetails,\"disabled\":_vm.disabled,\"rules\":_vm.myRules,\"items\":_vm.items,\"item-text\":\"account\",\"item-value\":\"account\",\"append-icon\":\"\",\"filter\":_vm.filterBy,\"errorMessages\":_vm.errorMessages},on:{\"change\":_vm.myChange,\"input\":_vm.myInput,\"mouseup\":_vm.setFocused,\"click\":_vm.myClick,\"blur\":_vm.myBlur,\"keydown\":_vm.handleKeyDown},nativeOn:{\"input\":function($event){return _vm.myNativeInput.apply(null, arguments)}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.account)+\" - \"+_vm._s(data.item.description)+\"\\n \")]}}])}):_c('app-text-field',{class:_vm.computedClass,attrs:{\"autocomplete\":\"off\",\"value\":_vm.myValue,\"label\":_vm.label,\"error\":(_vm.bck_error || _vm.computedError || _vm.error),\"readonly\":Boolean(_vm.readonly),\"required\":_vm.required,\"dense\":_vm.dense,\"hide-details\":_vm.hideDetails,\"disabled\":_vm.disabled,\"hint\":_vm.hint,\"rules\":_vm.myRules,\"append-icon\":_vm.appendIcon,\"append-icon-tooltip-text\":_vm.appendIconTooltipText,\"error-messages\":_vm.errorMessages,\"type\":_vm.type},on:{\"change\":_vm.myChange,\"focus\":_vm.setFocused,\"input\":_vm.myInput,\"click:append\":function (e) { return _vm.$emit('click:append', e); },\"keydown\":_vm.handleKeyDown}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppDocTextField.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppDocTextField.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppDocTextField.vue?vue&type=template&id=9947105a&scoped=true&\"\nimport script from \"./AppDocTextField.vue?vue&type=script&lang=js&\"\nexport * from \"./AppDocTextField.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppDocTextField.vue?vue&type=style&index=0&id=9947105a&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 \"9947105a\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCheckbox,VCol,VRow})\n","module.exports = __webpack_public_path__ + \"img/start_contract.eead0bd0.svg\";","module.exports = __webpack_public_path__ + \"img/bank-assert-rules-disabled.34b07d60.svg\";","module.exports = __webpack_public_path__ + \"img/import-bank.51e82849.svg\";","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppCreationObjectSectionCard.vue?vue&type=style&index=0&lang=css&\"","module.exports = __webpack_public_path__ + \"img/einvoice-info-black.ebf7a4ed.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{domProps:{\"innerHTML\":_vm._s(_vm.content)}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContratoTratamientoDatos.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContratoTratamientoDatos.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContratoTratamientoDatos.vue?vue&type=template&id=9e432ef8&\"\nimport script from \"./ContratoTratamientoDatos.vue?vue&type=script&lang=js&\"\nexport * from \"./ContratoTratamientoDatos.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","module.exports = __webpack_public_path__ + \"img/bank-uncheck-reviewed-disabled.089b6dd9.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.can_add_new)?_c('v-combobox',_vm._g(_vm._b({class:_vm.classes,attrs:{\"autocomplete\":\"off\",\"label\":(!_vm.stylev2) ? _vm.label : undefined,\"value\":_vm.myValue,\"items\":_vm.items,\"disabled\":_vm.disabled,\"background-color\":_vm.bck_color,\"item-text\":_vm.item_text,\"item-value\":_vm.item_value,\"return-object\":_vm.return_object,\"loading\":_vm.loading,\"search-input\":_vm.search,\"filter\":_vm.filterBy,\"outlined\":_vm.stylev2,\"dense\":_vm.stylev2,\"append-icon\":(_vm.stylev2) ? 'mdi-chevron-down' : undefined},on:{\"update:searchInput\":function($event){_vm.search=$event},\"update:search-input\":function($event){_vm.search=$event},\"input\":_vm.myInput,\"change\":_vm.myChange},nativeOn:{\"input\":function($event){return _vm.myNativeInput.apply(null, arguments)}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item[_vm.item_search_field])+\"\\n \")]}},(_vm.stylev2)?{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(_vm._s(_vm.label))])]},proxy:true}:null],null,true)},'v-combobox',_vm.vbind,false),_vm.von)):_c('v-autocomplete',_vm._g(_vm._b({class:(_vm.stylev2) ? 'select-invoice-stylev2' : '',attrs:{\"autocomplete\":\"off\",\"label\":(!_vm.stylev2) ? _vm.label : undefined,\"value\":_vm.myValue,\"items\":_vm.items,\"disabled\":_vm.disabled,\"background-color\":_vm.bck_color,\"item-text\":_vm.item_text,\"item-value\":_vm.item_value,\"return-object\":_vm.return_object,\"loading\":_vm.loading,\"search-input\":_vm.search,\"filter\":_vm.filterBy,\"outlined\":_vm.stylev2,\"dense\":_vm.stylev2,\"append-icon\":(_vm.stylev2) ? 'mdi-chevron-down' : undefined},on:{\"input\":_vm.myInput,\"update:searchInput\":function($event){_vm.search=$event},\"update:search-input\":function($event){_vm.search=$event}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item[_vm.item_search_field])+\"\\n \")]}},(_vm.stylev2)?{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(_vm._s(_vm.label))])]},proxy:true}:null],null,true)},'v-autocomplete',_vm.vbind,false),_vm.von))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AutocompleteWithApi.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AutocompleteWithApi.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AutocompleteWithApi.vue?vue&type=template&id=2500e408&scoped=true&\"\nimport script from \"./AutocompleteWithApi.vue?vue&type=script&lang=js&\"\nexport * from \"./AutocompleteWithApi.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AutocompleteWithApi.vue?vue&type=style&index=0&id=2500e408&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 \"2500e408\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VCombobox } from 'vuetify/lib/components/VCombobox';\ninstallComponents(component, {VAutocomplete,VCombobox})\n","import { getField, updateField } from 'vuex-map-fields';\nimport { client } from \"@/api/client\";\n\nexport const SET_CONTRACT_TYPES = \"SET_CONTRACT_TYPES\";\nexport const SET_SERVICE_PLAN = \"SET_SERVICE_PLAN\";\nexport const SET_PROMOTIONAL_CODE = 'SET_PROMOTIONAL_CODE';\n\nconst state = () => ({\n contract_types: [],\n service_plan: undefined,\n promotional_code:undefined\n});\n\nconst getters = {\n getField,\n}\n\nconst mutations = {\n updateField,\n [SET_CONTRACT_TYPES](state, contract_types) {\n state.contract_types = contract_types;\n },\n [SET_SERVICE_PLAN](state, service_plan) {\n state.service_plan = service_plan\n },\n [SET_PROMOTIONAL_CODE](state, promotional_code) {\n state.promotional_code = promotional_code;\n }\n}\n\nconst getContractTypes = ({ commit, state, dispatch }) => {\n return new Promise((resolve, reject) => {\n client.get('contract_types/').then(response => {\n commit(SET_CONTRACT_TYPES, response.data.results.filter(\n item => item.is_tpv_payable == true\n ));\n resolve();\n }).catch(err=>{\n console.debug(err)\n reject();\n });\n\n });\n}\n\nconst setServicePlan = ({ commit }, service_plan) => {\n commit(SET_SERVICE_PLAN, service_plan)\n}\n\nconst setPromotionalCode = ({ commit }, promotional_code) => {\n commit(SET_PROMOTIONAL_CODE, promotional_code);\n}\n\nconst createContract = ({ state }) => {\n return new Promise((resolve, reject) => {\n let params = {\n 'contract_type_id': state.service_plan\n }\n if (state.promotional_code) {\n params['promotional_code'] = state.promotional_code;\n }\n client.post('create_contract/', params).then(resp => {\n resolve(resp.data);\n }).catch(err => {\n console.debug(err);\n reject();\n });\n });\n}\n\nconst upgradeContract = ({ state }) => {\n return new Promise((resolve, reject) => {\n client.post('upgrade_contract/', { 'contract_type_id': state.service_plan }).then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject();\n });\n });\n}\n\nconst upgradeTrialContract = ({ state }) => {\n return new Promise((resolve, reject) => {\n client.post('upgrade_trial_contract/', { 'contract_type_id': state.service_plan }).then((response) => {\n resolve(response.data);\n }).catch(err => {\n console.debug(err);\n reject();\n });\n });\n}\n\nconst isTransactionOk = ({}, contract_id) => {\n return new Promise((resolve, reject) => {\n client.post('is_transaction_ok/', { 'contract_id': contract_id }).then(response => {\n resolve(response);\n }).catch(err => {\n console.debug(err);\n reject();\n });\n });\n}\n\nconst isValidPromotionalCode = ({}, promotional_code) => {\n return new Promise((resolve, reject)=> {\n let url = 'is_valid_promotional_code/?promotional_code=' + encodeURIComponent(promotional_code);\n client.get(url).then(resp => {\n resolve(resp.data['is_valid']);\n }).catch(err => {\n console.debug(err);\n reject();\n })\n });\n}\n\nconst emitPaymentSignal = ({}) => {\n return new Promise((resolve, reject) => {\n client.post('emit_payment_signal/').then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject();\n });\n });\n}\n\nconst emitPaymentErrorSignal = ({}) => {\n return new Promise((resolve, reject) => {\n client.post('emit_payment_signal_error/').then(() => {\n resolve();\n }).catch(err => {\n console.debug(err);\n reject();\n });\n });\n}\n\nconst actions = {\n getContractTypes,\n createContract,\n upgradeContract,\n upgradeTrialContract,\n isTransactionOk,\n isValidPromotionalCode,\n emitPaymentSignal,\n emitPaymentErrorSignal,\n setServicePlan,\n setPromotionalCode\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n}","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./AccountMove.vue?vue&type=style&index=0&id=4afdc981&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/download_xml.86f552a8.svg\";","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppCombobox.vue?vue&type=style&index=0&lang=css&\"","module.exports = __webpack_public_path__ + \"img/bank-config.013ab38e.svg\";","module.exports = __webpack_public_path__ + \"img/transacciones-new.96e6fb17.svg\";","module.exports = __webpack_public_path__ + \"img/logo.63a7d78d.svg\";","export class EntityType {\n uuid: string;\n name: string;\n schema: Object;\n user_id: number;\n is_visible: boolean;\n ui_config: Object;\n kind: string;\n\n constructor(\n uuid: string = '',\n name: string = '',\n schema: Object = {},\n user_id: number = 0,\n is_visible: boolean = false,\n ui_config: Object = {},\n kind: string = null\n ) {\n this.uuid = uuid;\n this.name = name;\n this.schema = schema;\n this.user_id = user_id;\n this.is_visible = is_visible;\n if (ui_config === null) {\n ui_config = {'entity_editor': '', 'entity_viewer': '', 'entity_list_editor': '', 'entity_list_viewer': ''}; \n }\n this.ui_config = ui_config;\n this.kind = kind;\n }\n}\n\nexport class EntityInstance {\n uuid: string;\n entity_type_id: string;\n company_id: number;\n payload: Object;\n satisfies_schema: boolean;\n created: string;\n download_date: string;\n\n constructor(\n uuid: string = '',\n entity_type_id: string = '',\n company_id: number = 0,\n payload: Object = {},\n //satisfies_schema: boolean = false,\n created: string = new Date().toISOString(),\n download_date: string = ''\n ) {\n this.uuid = uuid;\n this.entity_type_id = entity_type_id;\n this.company_id = company_id;\n if (payload === null) {\n payload = {};\n }\n this.payload = payload;\n //this.satisfies_schema = satisfies_schema;\n this.created = created;\n this.download_date = download_date;\n }\n}\n\n\nexport interface EntityTypeRepository {\n get_my_types(): Promise;\n get_aux_workflow_editor_types(): Promise;\n get_type_by_id(type_id: string, explicit:boolean): Promise;\n save(entity_type: EntityType): Promise;\n create_empty_entity_type(): EntityType;\n get_UI_types(): Promise;\n get_available_UIs(type_id: string): Promise;\n}\n\nexport interface EntityInstanceRepository {\n get_instances_by_type(company_id:number, entity_type_id:string, filters:Array): Promise;\n save(entity_instance: EntityInstance): Promise;\n create_empty_entity_instance(company_id:number, entity_type:EntityType): EntityInstance;\n get_instance_by_id(instance_id: string): Promise;\n delete_instances(instance_ids:string[]): Promise;\n download_instances(instance_ids:string[]): Promise;\n}","import { EntityType, EntityInstance, EntityTypeRepository, EntityInstanceRepository } from '../domain/Entities';\nimport { query_dispatcher_get, sync_command_dispatcher, async_command_dispatcher } from \"@/api/client\";\nimport { CommandDispatcher } from \"@/modules/shared/domain/CommandDispatcher\";\nimport { QueryDispatcher } from \"@/modules/shared/domain/QueryDispatcher\";\nimport { v4 as uuidv4 } from 'uuid';\n\n\nfunction objectToDict(obj: any): Record {\n const dict: Record = {};\n\n for (const key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n const value = obj[key];\n if (typeof value === 'object' && value !== null && !Array.isArray(value)) {\n // Recursively convert nested object\n dict[key] = objectToDict(value);\n } else {\n dict[key] = value;\n }\n }\n }\n\n return dict;\n}\n\nexport class EntityTypeApiRepository implements EntityTypeRepository {\n query_dispatcher: QueryDispatcher\n sync_command_dispatcher: CommandDispatcher\n async_command_dispatcher: CommandDispatcher\n\n constructor() {\n this.query_dispatcher = query_dispatcher_get\n this.sync_command_dispatcher = sync_command_dispatcher\n this.async_command_dispatcher = async_command_dispatcher\n }\n\n api_to_domain(entity_type) {\n return new EntityType(entity_type.uuid, entity_type.name, entity_type.schema, entity_type.user_id, entity_type.is_visible, entity_type.ui_config, entity_type.kind)\n }\n\n domain_to_api(entity_type: EntityType) {\n return {\n uuid: entity_type.uuid,\n name: entity_type.name,\n schema: entity_type.schema,\n user_id: entity_type.user_id,\n is_visible: entity_type.is_visible,\n ui_config: entity_type.ui_config,\n kind: entity_type.kind\n } \n }\n\n\n async get_my_types(): Promise {\n let res = await this.query_dispatcher.dispatch('get.user.entity.types', {})\n return res.map((entity_type) => this.api_to_domain(entity_type))\n }\n\n async get_aux_workflow_editor_types(): Promise {\n let res = await this.query_dispatcher.dispatch('get.workflow.editor.entity.types', {})\n return res.map((entity_type) => this.api_to_domain(entity_type))\n }\n\n async get_UI_types(): Promise {\n let res = await this.query_dispatcher.dispatch('get.ui.entity.types', {})\n return res.map((entity_type) => this.api_to_domain(entity_type))\n }\n\n async get_available_UIs(type_id: string): Promise {\n let res = await this.query_dispatcher.dispatch('get.available.uis', {type_uuid: type_id})\n return res\n }\n\n async get_type_by_id(type_id: string, explicit:boolean=false): Promise {\n let res = await this.query_dispatcher.dispatch('get.entity.type.by.uuid', {type_uuid: type_id, explicit: explicit})\n return this.api_to_domain(res)\n }\n\n async save(entity_type: EntityType): Promise {\n try {\n let entity_data = this.domain_to_api(entity_type)\n let res = await this.sync_command_dispatcher.dispatch('save.entity.type', {entity_type: entity_data})\n return res['output']\n } catch (error) {\n console.log(error)\n throw error\n }\n }\n\n create_empty_entity_type(): EntityType {\n let empty_schema = {\n type: 'object',\n properties: {},\n required: []\n }\n const uuid = uuidv4()\n return new EntityType(uuid, '', empty_schema, -1);\n }\n}\n\nexport class EntityInstanceApiRepository implements EntityInstanceRepository {\n query_dispatcher: QueryDispatcher\n sync_command_dispatcher: CommandDispatcher\n async_command_dispatcher: CommandDispatcher\n constructor() {\n this.query_dispatcher = query_dispatcher_get\n this.sync_command_dispatcher = sync_command_dispatcher\n this.async_command_dispatcher = async_command_dispatcher\n }\n\n api_to_domain(entity_instance) {\n return new EntityInstance(entity_instance.uuid, entity_instance.entity_type_id, entity_instance.company_id, entity_instance.payload, entity_instance.created, entity_instance.download_date)\n }\n\n domain_to_api(entity_instance: EntityInstance) {\n return {\n uuid: entity_instance.uuid,\n entity_type_id: entity_instance.entity_type_id,\n company_id: entity_instance.company_id,\n payload: entity_instance.payload,\n created: entity_instance.created\n }\n }\n\n async get_instances_by_type(company_id: number, entity_type_id: string ,filters:Array): Promise {\n let res = await this.query_dispatcher.dispatch('get.instances.by.type', {company_id: company_id, entity_type_id: entity_type_id, filters:filters})\n return res.map((entity_instance) => this.api_to_domain(entity_instance))\n }\n\n async save(entity_instance: EntityInstance): Promise {\n try {\n let entity_data = this.domain_to_api(entity_instance)\n let res = await this.sync_command_dispatcher.dispatch('save.entity.instance', {entity_instance: entity_data})\n return res['output']\n } catch (error) {\n console.log(error)\n throw error\n }\n }\n\n create_empty_entity_instance(company_id: number, entity_type: EntityType): EntityInstance {\n const uuid = uuidv4();\n let payload = {}\n // for (const property in entity_type.schema['properties']) {\n // payload[property] = '';\n // }\n return new EntityInstance(uuid, entity_type.uuid, company_id, payload);\n }\n\n async get_instance_by_id(instance_id: string): Promise {\n try {\n let res = await this.query_dispatcher.dispatch('get.entity.instance', {instance_uuid: instance_id})\n return this.api_to_domain(res)\n } catch (error) {\n console.log(error)\n throw error\n }\n }\n\n async get_multiple_instances(instances_ids: string): Promise {\n try {\n let res = await this.query_dispatcher.dispatch('get.multiple.entity.instances', {instances_ids: instances_ids})\n let instances = res.map((entity_instance) => this.api_to_domain(entity_instance))\n return instances\n } catch (error) {\n console.log(error)\n throw error\n }\n }\n\n async update_multiple_instances(instances: EntityInstance[]): Promise {\n try {\n let instances_data = instances.map((instance) => this.domain_to_api(instance))\n await this.sync_command_dispatcher.dispatch('update.multiple.entity.instances', {instances: instances_data})\n } catch (error) {\n console.log(error)\n throw error\n }\n }\n\n async delete_instances(instance_ids: string[]): Promise {\n try {\n await this.sync_command_dispatcher.dispatch('delete.instances', {instances_ids: instance_ids})\n } catch (error) {\n console.log(error)\n throw error\n }\n }\n async download_instances(instance_ids: string[]): Promise {\n try {\n let res= await this.sync_command_dispatcher.dispatch('generate.excel.entity.instances', {entity_ids: instance_ids})\n return res\n } catch (error) {\n console.log(error)\n throw error\n }\n }\n\n async executeWorkflowOnParams(payload, e_type_id, company_id){\n try {\n let res = await this.sync_command_dispatcher.dispatch('execute.workflow.on.params', {payload: payload, entity_type_id: e_type_id, company_id: company_id})\n return res.output\n } catch (error) {\n console.log(error)\n throw error\n }\n }\n}\n\n\nexport class MemoryEntityTypeRepository implements EntityTypeRepository {\n types: Array = []\n\n constructor(data) {\n this.types = data\n }\n\n async get_my_types(): Promise {\n return this.types\n }\n\n async get_aux_workflow_editor_types(): Promise {\n return []\n }\n\n async get_UI_types(): Promise {\n return this.types\n }\n\n async get_available_UIs(type_id: string): Promise {\n return []\n }\n\n async get_type_by_id(type_id: string): Promise {\n return this.types.find(t => t.uuid == type_id)\n }\n\n async save(entity_type: EntityType): Promise {\n return entity_type\n }\n\n create_empty_entity_type(): EntityType {\n return new EntityType(uuidv4(), '', {type: 'object', properties: {}, required: []}, -1);\n }\n}","module.exports = __webpack_public_path__ + \"img/back-arrow.3cc0c357.svg\";","import { isValidAccountNumberExactDigits, isValidAccountNumberMaxDigits, isValidAccountNumberMinDigits, isValidAccountNumberDigits } from \"./AccountNumberDigits\";\n\nexport function isValidAccountFormat(acc,reg_ex){\n return RegExp(reg_ex).test(acc)\n}\n\nexport function numDigitIsMinMustBeApplied (companydb, userData){\n if(userData.default_settings.hasOwnProperty('companydb') && userData.default_settings.companydb.hasOwnProperty(companydb.companydb_type.value)){\n if(userData.default_settings.companydb[companydb.companydb_type.value].hasOwnProperty('num_digit_is_min')){\n return true\n }\n }\n return false \n\n}\n\n\nexport function isValidAccountGI(acc,companydb, userData, feature_repo){ \n // valida que una cuenta de gastos o ingresos tenga un formato válido según esté configurada la empresa o el usuario\n if (userData && numDigitIsMinMustBeApplied(companydb, userData)){\n let num_digit_is_min = userData.default_settings.companydb[companydb.companydb_type.value]['num_digit_is_min']\n if(num_digit_is_min){\n return isValidAccountNumberMinDigits(acc, companydb.num_digits)\n }\n }\n let params = companydb['companydb_type']['params'];\n let feature = feature_repo && feature_repo.got_feature('feature_disable_validation_accounts_format', userData.user, companydb.companydb_type.value);\n if (feature && params.hasOwnProperty('accounts_format')) {\n //Caso cliente con cuentas en formato de 3 dígitos en vez de GXX o IXX en estimasol.\n if (params.hasOwnProperty('accounts_length')) {\n let accounts_length = params['accounts_length'];\n return acc.length === accounts_length;\n }\n return acc.length === companydb.num_digits;\n }\n else if (params.hasOwnProperty('accounts_format')){\n let accounts_format = params['accounts_format']\n return isValidAccountFormat(acc,accounts_format);\n }\n else if (params.hasOwnProperty('accounts_length')){\n let accounts_length = params['accounts_length']\n return isValidAccountNumberExactDigits(acc, accounts_length)\n }\n else if (params.hasOwnProperty('accounts_max_length')){\n let accounts_max_length = params['accounts_max_length']\n if(params.hasOwnProperty('GI_str'))\n return acc.length <= accounts_max_length;\n return isValidAccountNumberMaxDigits(acc, accounts_max_length)\n }\n else if (params.hasOwnProperty('num_digit_is_max_length')){\n let num_digit_is_max = params['num_digit_is_max_length']\n if(num_digit_is_max)\n return isValidAccountNumberMaxDigits(acc, companydb.num_digits)\n }\n return isValidAccountNumberExactDigits(acc, companydb.num_digits)\n \n}\n\nexport function isValidAccountCS(acc,companydb, userData){\n // valida que una cuenta de proveedor o de cliente tenga un formato válido según esté configurada la empresa o el usuario\n let params = companydb.companydb_type.params\n let valid = true\n if (params.hasOwnProperty('no_check_CS_accounts')){\n return true\n }\n if (params.hasOwnProperty('cif_in_account')){\n valid = isValidAccountFormat(acc,\"^[A-Z0-9]*$\");\n }\n if (!params.hasOwnProperty('accounts_format') && !params.hasOwnProperty('accounts_length') && !params.hasOwnProperty('accounts_max_length')){\n if (params.hasOwnProperty('num_digit_is_max_length')){\n let num_digit_is_max = params['num_digit_is_max_length']\n if(num_digit_is_max){\n if(params.hasOwnProperty('cif_in_account')){\n return valid && acc.length <= companydb.num_digits\n }\n return valid && isValidAccountNumberMaxDigits(acc, companydb.num_digits)\n }\n }\n else if (userData && numDigitIsMinMustBeApplied(companydb, userData)){\n let num_digit_is_min = userData.default_settings.companydb[companydb.companydb_type.value]['num_digit_is_min']\n if(num_digit_is_min)\n return valid && isValidAccountNumberMinDigits(acc, companydb.num_digits)\n }\n else{\n if(params.hasOwnProperty('cif_in_account')){\n return valid && acc.length === companydb.num_digits\n }\n return valid && isValidAccountNumberExactDigits(acc, companydb.num_digits)\n }\n \n }\n return valid\n}\n\nexport function isValidAccount(acc, companydb, userData){\n let error = '';\n if(companydb.num_digits && companydb.companydb_type.value!='diezsoftware_nube_au'){\n let num_digit_is_max_length = companydb && companydb.companydb_type && companydb.companydb_type.params && companydb.companydb_type.params['num_digit_is_max_length']\n let num_digit_kind = 'exact';\n if(num_digit_is_max_length){\n num_digit_kind = 'max';\n }\n if(numDigitIsMinMustBeApplied(companydb, userData)){\n num_digit_kind = 'min';\n }\n if(!(companydb && companydb.companydb_type.params.hasOwnProperty('cif_in_account'))){\n if (acc) {\n if(!isValidAccountNumberDigits(acc, companydb.num_digits, num_digit_kind)){\n if (num_digit_kind == 'exact') {\n error = \"El número de cuenta debe ser de \" + companydb.num_digits + \" dígitos.\";\n }\n else if (num_digit_kind == 'max') {\n error = \"El número de cuenta debe ser cómo máximo de \" + companydb.num_digits + \" dígitos.\";\n }\n else if (num_digit_kind == 'min') {\n error = \"El número de cuenta debe ser cómo mínimo de \" + companydb.num_digits + \" dígitos.\";\n }\n }\n }\n }\n }\n return error\n\n}\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./MessagePopup.vue?vue&type=style&index=0&id=0044f2b2&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppSelect.vue?vue&type=style&index=0&lang=css&\"","module.exports = __webpack_public_path__ + \"img/einvoice-received-filter.c5d3c638.svg\";","module.exports = __webpack_public_path__ + \"img/bank-filters.a4306f54.svg\";","module.exports = __webpack_public_path__ + \"img/einvoice-info-white.d29920cc.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./AccountMove.vue?vue&type=style&index=1&id=4afdc981&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/bank-mark-as-reviewed-disabled.df4d5e91.svg\";","module.exports = __webpack_public_path__ + \"img/toggle-rules.41d1efab.svg\";","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppCol.vue?vue&type=style&index=0&id=43b38c1a&scoped=true&lang=css&\"","// Types\nimport { sleep } from \"@/utils.js\";\nimport { client } from \"@/api/client\";\n\nexport const START_TUTORIAL = \"START_TUTORIAL\";\nexport const SET_STEP = \"SET_STEP\";\nexport const SEND_TUTORIAL_ACTION = \"SEND_TUTORIAL_ACTION\";\n\nconst OPEN_ACCOUNT = 'OPEN_ACCOUNT'\nconst SELECT_CONNECTOR_TYPE = 'SELECT_CONNECTOR_TYPE'\nconst SET_CONNECTOR_TYPE = 'SET_CONNECTOR_TYPE'\nconst SET_PROGRAMS = 'SET_PROGRAMS';\nconst SET_EXE_LINK = 'SET_EXE_LINK';\nconst SET_HOW_MEET_US_ITEMS = 'SET_HOW_MEET_US_ITEMS';\n\nexport const ACTIONS = {\n OPEN_ACCOUNT,\n SELECT_CONNECTOR_TYPE,\n SET_CONNECTOR_TYPE,\n}\n\n// models\nclass Tutorial {\n constructor() {\n this.inProgress = false;\n this.numStep = undefined;\n this.action = undefined;\n // specific view attributes\n this.connectorType = undefined;\n this.programs = [];\n this.how_meet_us_items = [];\n }\n}\n\nconst models = {\n Tutorial,\n};\n\n// initial state\nconst state = () => ({\n inProgress: false,\n numStep: undefined,\n action: undefined,\n connectorType: undefined,\n programs: [],\n exe_link: '',\n how_meet_us_items: [],\n})\n\n// getters\nconst getters = {\n inProgress: state => state.inProgress,\n numStep: state => state.numStep,\n onAction: state => state.action,\n connectorType: state => state.connectorType,\n programs: state => state.programs,\n exe_link: state => state.exe_link,\n how_meet_us_items: state => state.how_meet_us_items,\n}\n\nconst startTutorial = ({ commit }) => {\n commit(START_TUTORIAL);\n}\n\nconst setCurrentStep = ({ commit }, numStep) => {\n commit(SET_STEP, numStep);\n}\n\nconst sendTutorialAction = async ({ commit }, action) => {\n commit(SEND_TUTORIAL_ACTION, undefined);\n await sleep(1)\n commit(SEND_TUTORIAL_ACTION, action);\n}\n\nconst tutorialSetConnectorType = ({ commit }, connectorType) => {\n commit(SET_CONNECTOR_TYPE, connectorType);\n}\n\nconst setPrograms = async ({ commit }) => {\n let response = await client.get('programs/?limit=1000');\n commit(SET_PROGRAMS, response.data.results);\n}\n\nconst setExeLink = async ({ commit}, startWith) => {\n let url = 'python_files/?limit=1&version__startswith=';\n if (startWith) {\n url += startWith;\n } else {\n url += 'INMAPP32';\n }\n let response = await client.get(url);\n if (response.data && response.data.results && response.data.results[0]) {\n commit(SET_EXE_LINK, response.data.results[0]['python_exe']);\n }\n}\n\nconst setHowMeetUsItems = async ({ commit }) => {\n let response = await client.get('get_how_meet_us_choices/');\n commit(SET_HOW_MEET_US_ITEMS, response.data['choices']);\n}\n\nconst actions = {\n startTutorial,\n setCurrentStep,\n sendTutorialAction,\n tutorialSetConnectorType,\n setPrograms,\n setExeLink,\n setHowMeetUsItems,\n}\n\n// mutations\nconst mutations = {\n [START_TUTORIAL](state) {\n state.inProgress = true;\n },\n [SET_STEP](state, numStep) {\n state.numStep = numStep;\n },\n [SEND_TUTORIAL_ACTION](state, action) {\n state.action = action;\n },\n [SET_CONNECTOR_TYPE](state, connectorType) {\n state.connectorType = connectorType;\n },\n [SET_PROGRAMS](state, programs) {\n state.programs = programs;\n },\n [SET_EXE_LINK](state, exe_link) {\n state.exe_link = exe_link;\n },\n [SET_HOW_MEET_US_ITEMS](state, items) {\n state.how_meet_us_items = items;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n models,\n}\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppTextField.vue?vue&type=style&index=0&lang=css&\"","// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.\n\nconst awsmobile = {\n \"aws_project_region\": \"eu-west-1\",\n \"aws_cognito_identity_pool_id\": \"eu-west-1:248d67eb-a08d-4853-a1da-0ee5804aeff1\",\n \"aws_cognito_region\": \"eu-west-1\",\n \"aws_user_pools_id\": \"eu-west-1_1mAYzZXJa\",\n \"aws_user_pools_web_client_id\": \"1bqrd8cupnc833s0gqd5cgmpdt\",\n \"oauth\": {},\n \"aws_user_files_s3_bucket\": \"adpstorage102421-pro\",\n \"aws_user_files_s3_bucket_region\": \"eu-west-1\"\n};\n\n\nexport default awsmobile;\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./InvoiceInfoV2.vue?vue&type=style&index=0&id=105c98d8&scoped=true&lang=css&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./DetailReferenceSimple.vue?vue&type=style&index=1&id=744abff0&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/btn-show-menu.babefd11.svg\";","import { client } from \"../../../api/client\";\nimport {CommandDispatcher} from \"../domain/CommandDispatcher\"\n\nexport class SyncAPICommandDispatcher implements CommandDispatcher{\n dispatch(cmd_name,args): Promise<{[key: string]: any} > {\n let command_args = args\n command_args['cmd_name'] = cmd_name\n let p = new Promise<{[key: string]: any}>(function(resolve, reject){\n client\n .post(`sync_command_bus/`,{command:command_args}).\n then(response => resolve(response.data)).\n catch(e => reject(e))\n })\n return p\n }\n}","\n\nexport interface QueryDispatcher{\n dispatch(q_name,args):Promise<{[key: string]: any} >;\n}\n\nexport interface QueryDispatcherAbort{\n dispatch(q_name,args);\n}\n\nexport class Result {\n promise;\n controller:AbortController;\n\n constructor(promise, controller: AbortController) {\n this.promise = promise;\n this.controller = controller;\n }\n\n}","import { client } from \"../../../api/client\";\nimport {QueryDispatcher, Result, QueryDispatcherAbort} from \"../domain/QueryDispatcher\"\n\nexport class APIQueryDispatcher implements QueryDispatcher{\n dispatch(query,args): Promise<{[key: string]: string} > {\n let p = new Promise<{[key: string]: string}>(function(resolve, reject){\n client\n .post(`query/`,{query,args})\n .then((response) => resolve(response.data))\n .catch(e => reject(e));\n })\n \n return p\n }\n}\n\nexport class APIQueryDispatcherGET implements QueryDispatcher{\n dispatch(query,args): Promise<{[key: string]: string} > {\n if(args['args'] || args['force_get']){\n let params = {query:query}\n params['args']=args['args']\n if(args['ordering']){\n params['ordering'] = args['ordering']\n }\n if(args['limit']){\n params['limit'] = args['limit']\n }\n if(args['offset']){\n params['offset'] = args['offset']\n }\n let p = new Promise<{[key: string]: string}>(function(resolve, reject){\n client\n .get(`query/`,{params:params})\n .then((response) => resolve(response.data))\n .catch(e => reject(e));\n })\n \n return p\n }\n else{\n return new APIQueryDispatcher().dispatch(query,args)\n }\n \n }\n}\n\nexport class APIQueryDispatcherAbort implements QueryDispatcherAbort {\n \n async dispatch(query, args) {\n const controller = new AbortController();\n let p = await new Promise<{[key: string]: string}>(function(resolve, reject){\n if (controller.signal.aborted) {\n console.log(controller.signal)\n reject(controller.signal.reason);\n }\n controller.signal.addEventListener(\"abort\", () => {\n reject(controller.signal.reason);\n });\n client\n .post(`query/`,{query,args,signal:controller.signal})\n .then((response) => resolve(response.data))\n .catch(e => {\n reject(e);\n });\n })\n const res = new Result(p, controller)\n return res\n }\n}","\n\nexport interface CommandDispatcher{\n dispatch(cmd_name,args): Promise<{[key: string]: any} > ;\n}\n\nexport async function dispatch_and_wait_job(cmd_name, args, dispatcher, jobs, sleep_time_ms) {\n let job_id = (await dispatcher.dispatch(cmd_name,args)).job_id \n let state = 'pending'\n let response = undefined\n while (state=='pending' || state=='draft' || state=='running') {\n response = await jobs.getJob({ id: job_id });\n state = response.data.state;\n if (state=='done')\n return response.data.output_info\n else if (state=='pending' || state=='draft' || state=='running')\n await (new Promise(res => setTimeout(res, sleep_time_ms)))\n else\n console.error('Ha habido un error job_id:',job_id)\n }\n}","import { client } from \"../../../api/client\";\nimport {CommandDispatcher, dispatch_and_wait_job} from \"../domain/CommandDispatcher\"\nimport { jobs } from \"@/api/jobs.js\"\n\nexport class AsyncAPICommandDispatcher implements CommandDispatcher{\n dispatch(cmd_name,args): Promise<{[key: string]: any} > {\n let command_args = args\n command_args['cmd_name'] = cmd_name\n let p = new Promise<{[key: string]: any}>(function(resolve, reject){\n client\n .post(`async_command_bus/`,{command:command_args}).\n then(response => resolve(response.data)).\n catch(e => reject(e))\n })\n return p\n }\n\n async dispatch_with_result(cmd_name,args,sleep_time_ms): Promise<{[key: string]: any}> {\n return await dispatch_and_wait_job(cmd_name, args, this, jobs, sleep_time_ms)\n }\n}","import { OtherDocListComponent } from \"../application/OtherDocListComponent.ts\";\nimport { ApiOtherDocumentRepository } from \"./ApiOtherDocumentRepository\";\nimport { ApiWorkflowTemplateRepository } from \"./ApiWorkflowTemplateRepository\";\nimport { VueOtherDocumentListScreenData } from \"./VueOtherDocumentListScreenData\";\nimport { EntitiesListComponent } from \"@/modules/entities/app/EntitiesListComponent.ts\";\nimport { EntityTypeApiRepository ,EntityInstanceApiRepository} from \"@/modules/entities/infra/EntitiesApiRepositories.ts\";\nimport {EntitiesListScreenData} from \"@/modules/entities/domain/EntitiesListScreenData.ts\";\nexport class DocumentComponentsFactory {\n list_component: any;\n entities_list_component: any;\n\n constructor() {\n this.list_component = null;\n this.entities_list_component = null;\n }\n\n get_or_create_list_component() {\n if (!this.list_component) {\n this.list_component = new OtherDocListComponent(new ApiOtherDocumentRepository(), new VueOtherDocumentListScreenData(), new ApiWorkflowTemplateRepository());\n }\n return this.list_component;\n }\n\n get_list_component() {\n return this.list_component;\n }\n\n get_or_create_entities_list_component() {\n if (!this.entities_list_component) {\n this.entities_list_component = new EntitiesListComponent(new EntityTypeApiRepository(),new EntityInstanceApiRepository(), new EntitiesListScreenData());\n }\n return this.entities_list_component;\n }\n}\n","import { SyncAPICommandDispatcher } from \"@/modules/shared/infra/APICommandDispatcher\";\nimport { APIQueryDispatcher,APIQueryDispatcherGET, APIQueryDispatcherAbort } from \"@/modules/shared/infra/APIQueryDispatcher\";\nimport {AsyncAPICommandDispatcher} from \"@/modules/shared/infra/APIAsyncCommandDispatcher\";\nimport axios from \"axios\";\nimport { DocumentComponentsFactory } from \"@/modules/document/infra/DocumentComponentsFactory\";\n\n// const CSRF_COOKIE_NAME = \"csrftoken\";\n// const CSRF_HEADER_NAME = \"X-CSRFToken\";\n\n//const baseURL = \"https://api.inmatic.ai/api\";\n//const baseURL = \"/api\";\nconst baseURL = process.env.VUE_APP_API_ENDPOINT;\n\nlet client;\nlet sync_command_dispatcher;\nlet async_command_dispatcher;\nlet query_dispatcher;\nlet query_dispatcher_get;\nlet query_dispatcher_abort;\n\nlet document_components_factory;\nfunction setHeaders(headers){\n client = axios.create({\n baseURL, headers,\n // xsrfCookieName: CSRF_COOKIE_NAME,\n // xsrfHeaderName: CSRF_HEADER_NAME\n \n });\n sync_command_dispatcher = new SyncAPICommandDispatcher()\n async_command_dispatcher = new AsyncAPICommandDispatcher()\n query_dispatcher = new APIQueryDispatcher()\n query_dispatcher_get = new APIQueryDispatcherGET()\n query_dispatcher_abort = new APIQueryDispatcherAbort()\n document_components_factory = new DocumentComponentsFactory();\n}\n\nexport {\n client,\n setHeaders,\n sync_command_dispatcher,\n async_command_dispatcher,\n query_dispatcher,\n query_dispatcher_get,\n query_dispatcher_abort,\n document_components_factory\n};","module.exports = __webpack_public_path__ + \"img/bank-account-switch.ce707e38.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./CreationObject.vue?vue&type=style&index=1&id=5a7f27fa&scoped=true&lang=css&\"","import { Invoiceable, InvoiceLine, Party, Invoice, Budget, DeliveryNote } from \"@/modules/facturae/domain/Invoiceable\";\nimport { InvoiceEditorScreenData } from \"@/modules/facturae/domain/InvoiceEditorScreenData\";\nimport { Product } from \"../domain/Product\";\nimport { Configuration } from \"../domain/Configuration\";\nimport { Sequence } from \"../domain/Sequence\";\n\nexport class VueInvoiceEditorScreenData implements InvoiceEditorScreenData{\n invoice: Invoice|Budget|DeliveryNote\n rectificative_invoice: Invoiceable\n excel_pop_up: boolean\n delete_all_lines_pop_up: boolean\n supplier_pop_up: boolean;\n customer_pop_up: boolean;\n file: File\n loading: boolean\n resolve_pop_up: Function \n error_upload_file: boolean\n snackbar: Object\n reject_dialog: boolean\n reject_comment: string\n loading_reject: boolean\n paid_dialog: boolean;\n paid_loading: boolean;\n customers: Party[];\n products: Product[];\n showErrors: boolean;\n showErrorsDialog: boolean;\n configuration: Configuration;\n asyncJobState: string;\n asyncJobId: number;\n action: string;\n download_type: string;\n download_options: Object[];\n downloadPopup: boolean;\n download_loading: boolean;\n send_dialog: boolean;\n send_loading: boolean;\n senderOption: string;\n emailForm: Object;\n selectedSequence: Sequence;\n availableSequences: Sequence[];\n payment_options: Object[];\n\n constructor(){\n this.invoice = null\n this.rectificative_invoice = null\n this.excel_pop_up = false\n this.delete_all_lines_pop_up = false\n this.supplier_pop_up = false\n this.customer_pop_up = false\n this.loading = false\n this.file = null\n this.error_upload_file = null\n this.resolve_pop_up = null\n this.snackbar = {\n ['isVisible']: false,\n text: '',\n color: '',\n timeout: 3000,\n }\n this.reject_dialog = false\n this.reject_comment = ''\n this.loading_reject = false\n this.paid_dialog = false\n this.paid_loading = false\n this.customers = []\n this.products = []\n this.showErrors = false\n this.showErrorsDialog = false\n this.configuration = new Configuration()\n this.asyncJobState = 'done';\n this.asyncJobId = 0;\n this.action = '';\n this.download_type = ''\n this.download_options = [\n {value: 'xml', text: 'XML'},\n {value: 'pdf', text: 'PDF'},\n ]\n this.downloadPopup = false\n this.download_loading = false;\n this.send_dialog = false;\n this.send_loading = false;\n this.senderOption = '';\n this.emailForm = {\n to: '',\n subject: '',\n body: ''\n }\n this.selectedSequence = new Sequence()\n this.availableSequences = []\n this.payment_options = [\n { value: '01', text: 'Al contado' },\n { value: '02', text: 'Recibo Domiciliado' },\n { value: '03', text: 'Recibo' },\n { value: '04', text: 'Transferencia' },\n { value: '05', text: 'Letra Aceptada' },\n { value: '06', text: 'Crédito Documentario' },\n { value: '07', text: 'Contrato Adjudicación' },\n { value: '08', text: 'Letra de cambio' },\n { value: '09', text: 'Pagaré a la Orden' },\n { value: '10', text: 'Pagaré No a la Orden' },\n { value: '11', text: 'Cheque' },\n { value: '12', text: 'Reposición' },\n { value: '13', text: 'Especiales' },\n { value: '14', text: 'Compensación' },\n { value: '15', text: 'Giro postal' },\n { value: '16', text: 'Cheque conformado' },\n { value: '17', text: 'Cheque bancario' },\n { value: '18', text: 'Pago contra reembolso' },\n { value: '19', text: 'Pago mediante tarjeta' }\n ]\n }\n\n success_message(message){\n this.snackbar['text'] = message\n this.snackbar['color'] = 'success'\n this.snackbar['isVisible'] = true\n }\n\n error_message(message){\n this.snackbar['text'] = message\n this.snackbar['color'] = 'error'\n this.snackbar['isVisible'] = true\n }\n\n async ask_for_file(){\n this.excel_pop_up = true\n return new Promise((resolve,reject)=>{\n this.resolve_pop_up = resolve\n })\n }\n\n async delete_all_lines_dialog(){\n this.delete_all_lines_pop_up = true\n return new Promise((resolve,reject)=>{\n this.resolve_pop_up = resolve\n })\n }\n\n confirm_pop_up(){\n this.excel_pop_up = false\n this.delete_all_lines_pop_up = false\n this.resolve_pop_up(true)\n }\n\n cancel_pop_up(){\n this.excel_pop_up = false\n this.delete_all_lines_pop_up = false\n this.resolve_pop_up(false)\n }\n\n setLoading(loading){\n this.loading = loading\n }\n\n setLines(lines){\n console.log('setting lines')\n this.invoice.lines = [...lines]\n }\n\n setInvoice(invoice){\n invoice.compute()\n this.invoice = invoice\n this.setLines(invoice.lines)\n this.computeDownloadOptions()\n }\n\n computeDownloadOptions(){\n if (['budget', 'delivery_note'].includes(this.invoice.type)) {\n this.download_options = [\n {value: 'pdf', text: 'PDF'},\n ]\n }\n }\n\n setRectificativeInvoice(invoice){\n if (invoice){\n invoice.compute()\n this.rectificative_invoice = invoice\n }\n }\n\n resetLines(){\n console.log('resetting lines')\n this.invoice.lines=[...this.invoice.lines]\n }\n\n setRejectDialog(reject_dialog: boolean): void {\n this.reject_dialog = reject_dialog\n }\n\n setLoadingReject(loading: boolean): void {\n this.loading_reject = loading\n }\n\n setPaidDialog(paid_dialog: boolean): void {\n this.paid_dialog = paid_dialog\n }\n\n setLoadingPaid(loading: boolean): void {\n this.paid_loading = loading\n }\n\n setCustomers(customers: Party[]): void {\n this.customers = customers\n }\n\n setCustomer(customer:Party): void {\n this.invoice.customer = customer\n }\n\n setProducts(products:Product[]): void {\n this.products = products;\n }\n\n setErrorDialog(showErrorsDialog: boolean): void {\n this.showErrorsDialog = showErrorsDialog\n }\n\n setSequence(sequence: Sequence): void {\n this.selectedSequence = sequence\n }\n\n setSequences(sequences: Sequence[]): void {\n this.availableSequences = sequences\n }\n\n setConfiguration(configuration: Configuration, is_from_recurring_contract?:boolean): void {\n this.configuration = configuration\n if (is_from_recurring_contract) {\n let recurringSeq = configuration.sequences.filter(sequence => sequence.is_for_recurring_contracts)\n this.setSequences(recurringSeq)\n return\n }\n let filteredSequences = configuration.sequences.filter(sequence => !sequence.is_for_recurring_contracts)\n this.setSequences(filteredSequences)\n }\n}","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./InvoiceInfo.vue?vue&type=style&index=0&id=cbb9bbc0&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/bank-download-transactions.4ca76386.svg\";","import { client } from \"./client\";\n\nconst ROUTES = {\n getConnector: docId => `/companydbs_detail/${docId}/`,\n getPermissions: companyId => `/companydb_permission/${companyId}/`,\n create_default_cdb_training: '/create_default_cdb_training/',\n config_user_for_use_inmatic: '/config_user_for_use_inmatic/',\n checkCompany: company_id => `/check_company/${company_id}/`,\n //patchConnector: docId => `/companydbs/${docId}/`,\n //listDocuments: ({ limit, offset, state, id, company_id, filters, kind }) => `documents/?company_id=${company_id}${!!kind?`&kind=${kind}`: ''}${!!id?`&id=${id}`: ''}${!!limit?`&limit=${limit}`: ''}${!!offset?`&offset=${offset}`: ''}${!!state?`&state=${state}`: ''}${!!filters?`${filters}`: ''}`,\n};\n\nexport const connector = {\n getConnector: ({ id }) => {\n return client.get(ROUTES.getConnector(id));\n },\n getPermissions: ({ id }) => {\n return client.get(ROUTES.getPermissions(id));\n },\n create_default_cdb_training:() => {\n return client.post(ROUTES.create_default_cdb_training)\n },\n config_user_for_use_inmatic:() => {\n return client.post(ROUTES.config_user_for_use_inmatic);\n },\n checkCompany: ({ company_id ,route}) => {\n if (company_id) {\n return client.post(ROUTES.checkCompany(company_id),{route});\n }\n }\n \n};","module.exports = __webpack_public_path__ + \"img/icon-zoom-in.3e904b87.svg\";","import { Token } from \"../domain/token\";\nimport { TokenRepository } from \"../domain/tokenRepository\";\n\nexport async function getOrCreateToken(\n tokenRepository: TokenRepository\n): Promise {\n return tokenRepository.getOrCreate();\n}","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppSimpleTableWithApi2.vue?vue&type=style&index=0&id=5ba32f82&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/bank-btn-effects.36f3fa0c.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./ContractSelectPlanPopup.vue?vue&type=style&index=0&id=6e4cd8ec&lang=scss&scoped=true&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./Tutorial.vue?vue&type=style&index=0&lang=css&\"","module.exports = __webpack_public_path__ + \"img/einvoice-download-white.63d35949.svg\";","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppDocTextField.vue?vue&type=style&index=0&id=9947105a&scoped=true&lang=css&\"","import { user as api_user } from \"../../api/user\";\nexport const SET_USER_DATA = \"SET_USER_DATA\";\nexport const SET_PROFILE = \"SET_PROFILE\";\nexport const STATUS = {\n EMAIL_VERIFICATION: 'EMAIL_VERIFICATION',\n WELCOME: 'WELCOME',\n FILLING_FORM: 'FILLING_FORM',\n WATCHING_TUTORIAL: 'WATCHING_TUTORIAL',\n READING_CONTRACT: 'READING_CONTRACT',\n DOWNLOADING_CONNECTOR: 'DOWNLOADING_CONNECTOR',\n INSTALLING_CONNECTOR: 'INSTALLING_CONNECTOR',\n INSTALLATION_OK: 'INSTALLATION_OK',\n INSTALLATION_KO: 'INSTALLATION_KO',\n FILLING_PROGRAM_DATA: 'FILLING_PROGRAM_DATA',\n PREPARING_FORMATION: 'PREPARING_FORMATION',\n READY_FOR_FORMATION: 'READY_FOR_FORMATION',\n DOING_TUTORIAL: 'DOING_TUTORIAL',\n TRIAL: 'TRIAL',\n ACTIVE: 'ACTIVE',\n UPDATE_REQUIRED: 'UPDATE_REQUIRED',\n SAGE_BLOCK: 'SAGE_BLOCK',\n}\nconst WELCOME_PROCESS = [\n STATUS.WELCOME,\n STATUS.FILLING_FORM,\n STATUS.WATCHING_TUTORIAL,\n STATUS.READING_CONTRACT,\n STATUS.DOWNLOADING_CONNECTOR,\n STATUS.INSTALLING_CONNECTOR,\n STATUS.INSTALLATION_OK,\n STATUS.INSTALLATION_KO,\n STATUS.FILLING_PROGRAM_DATA,\n STATUS.PREPARING_FORMATION,\n STATUS.READY_FOR_FORMATION,\n STATUS.SAGE_BLOCK\n]\n\nimport { getField, updateField } from 'vuex-map-fields';\n// Types\n\n// models\nclass Me {\n constructor({ id, username, userData, ..._ }) {\n this.id = id;\n this.username = username;\n // this.email = data[\"email\"];\n this.userData = userData;\n }\n}\n\nclass Profile {\n constructor() {\n this.form = {\n name: '',\n dni: '',\n email: '',\n bussnies_id: '',\n business_name: '',\n phone: '',\n postal_address: '',\n post_code: '',\n province: '',\n username: '',\n user_role: '',\n receive_newsletter: '',\n installation_notes:'',\n crisp_chat: '',\n a3auto_status: '',\n }\n this.contracts = [];\n }\n}\n\n// TODO: workarround until a proper user is fetched\nconst default_me = new Me({ id: 2, username: \"User\", });\nconst default_profile = new Profile();\n\nconst models = {\n Me,\n Profile\n};\n\n// initial state\nconst state = () => ({\n // me: undefined\n me: default_me,\n profile: default_profile,\n userData: {available_features:{}},\n})\n\nexport function getContract(userData) {\n let contract = null;\n for (var i = 0; userData && userData.contracts && i < userData.contracts.length; i++) {\n if (userData.contracts[i].is_vigente) {\n contract = userData.contracts[i];\n break;\n }\n }\n return contract;\n}\n\nexport function getContractType(userData) {\n let contract = getContract(userData);\n let contractType = (contract) ? contract.contract_type : null;\n return contractType;\n}\n\nexport function getContractTypeName(userData) {\n let contractType = getContractType(userData);\n let contractTypeName = (contractType) ? contractType.name : null;\n return contractTypeName;\n}\n\n// getters\n\nconst STAFF_DOC_TYPES=[{id:'in_invoice',text:'Factura de proveedor'},{id:'out_invoice',text:'Factura de cliente'},{id:'payroll',text:'Nómina'}]\nconst NORMAL_DOC_TYPES=[{id:'in_invoice',text:'Factura de proveedor'},{id:'out_invoice',text:'Factura de cliente'}]\nconst months = ['', 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'];\n\nexport const getters = {\n profile: state => state.profile,\n me: state => state.me,\n userData: state => state.userData,\n useWhiteBrand: state => state.userData.logo != null,\n hastWhiteBrandColor: state => state.userData.white_brand_color != null,\n availableDocs: (state) => {\n var res = state.userData && state.userData.can_see_training_documents ? STAFF_DOC_TYPES: NORMAL_DOC_TYPES;\n if (state.userData.available_features.feature_hide_out_invoice) {\n res.forEach(function (value, i) {\n if (value['id'] == 'out_invoice') {\n res.splice(i, 1);\n }\n });\n }\n return res;\n },\n isWelcomeProcess: state => WELCOME_PROCESS.includes(state.userData.status),\n pendingEmailVerification: state => state.userData.status === STATUS.EMAIL_VERIFICATION,\n inTutorial: state => state.userData.status === STATUS.DOING_TUTORIAL,\n isUpdateProcess: state => state.userData.status === STATUS.UPDATE_REQUIRED,\n docs_num: (state) => {\n let docs_num;\n try {\n let contract = getContract(state.userData);\n docs_num = (contract) ? contract.docs_num.toString() : '';\n } catch {\n docs_num = '';\n }\n return docs_num;\n },\n price: (state) => {\n let price;\n try {\n let contract = getContract(state.userData);\n price = (contract) ? contract.price.toString() : '';\n } catch {\n price = '';\n }\n if (!price && price != '0') {\n try {\n let contractType = getContractType(state.userData);\n price = (contractType) ? contractType.price.toString() : '';\n } catch {\n price = '';\n }\n }\n return price;\n },\n firm_date: (state) => {\n let start_date;\n try {\n let contract = getContract(state.userData);\n start_date = (contract) ? contract.firm_date : '';\n if (start_date) {\n let dt = start_date.split('-');\n let year = dt[0];\n let month = parseInt(dt[1]);\n let day = dt[2];\n start_date = day + ' de ' + months[month] + ' de ' + year;\n }\n } catch {\n start_date = ''\n }\n return start_date;\n },\n getField,\n}\n\n// actions\n// const getMe = async ({ commit }) => {\n// // TODO\n// };\n\nexport function isTrial(userData) {\n let trial = false;\n for (var i = 0; i < userData.contracts.length; i++) {\n if (userData.contracts[i].is_vigente) {\n trial = userData.contracts[i].is_trial;\n break;\n }\n }\n return trial;\n}\n\n\nconst forceRefreshUserData = async ({ commit, dispatch, state, rootGetters, rootState }) => {\n let response = await api_user.getUserData({});\n let userData = response.data.results;\n let session_information = rootState['session_information'];\n commit(SET_USER_DATA, { userData });\n commit(SET_PROFILE, userData);\n //----------------------------------------------SHOULD NOT BE HERE------------------------------------------------------------\n //----------------------------------------------------------------------------------------------------------------------------\n let permission = rootGetters[\"permissions/permission\"];\n if (permission && permission.is_readonly && (permission.general.companydb_actividad || permission.general.companydb_actividad.toString() == '0')){\n commit('SET_DEFAULT_ACTIVITY', permission.general.companydb_actividad, { root: true })\n }\n //----------------------------------------------------------------------------------------------------------------------------\n //----------------------------------------------------------------------------------------------------------------------------\n if (userData.hasOwnProperty('username') && session_information.hasOwnProperty('username') && session_information.username == userData.username && userData.email) {\n window.execWithCrispReady(() => {\n if (!window.$crisp.get('user:email')) {\n window.$crisp.push([\"set\", \"user:email\", userData.email]);\n } else if (window.$crisp.get('user:email') != userData.email) {\n window.$crisp.push([\"set\", \"user:email\", userData.email]);\n }\n\n let sessionDataKey = \"session:data\";\n let username = userData.username;\n let url = \"https://app.inmatic.ai/loginas/\";\n let url_user = url + username;\n let sessionData = [\n ['url', url_user],\n ['user', username],\n ];\n if (userData.hasOwnProperty('user_owner')) {\n if (userData.user_owner.version_worker_python) {\n sessionData.push(['version_worker_python', userData.user_owner.version_worker_python]);\n }\n if (userData.user_owner.service_upgrader_version) {\n sessionData.push(['service_upgrader_version', userData.user_owner.service_upgrader_version]);\n }\n if (userData.user_owner.service_version) {\n sessionData.push(['service_version', userData.user_owner.service_version.toString()]);\n }\n if (userData.user_owner.contract_docs) {\n sessionData.push(['contract_docs', userData.user_owner.contract_docs]);\n }\n if (userData.user_owner.contract_banks) {\n sessionData.push(['contract_banks', userData.user_owner.contract_banks]);\n }\n if (userData.user_owner.username) {\n let url_owner = url + userData.user_owner.username;\n sessionData.push(['url_owner', url_owner]);\n sessionData.push(['user_owner', userData.user_owner.username]);\n }\n if (userData.user_owner.phone) {\n sessionData.push(['phone_owner', userData.user_owner.phone]);\n }\n if (userData.user_owner.email) {\n sessionData.push(['email_owner', userData.user_owner.email]);\n }\n if (userData.user_owner.referred_distrib_name) {\n sessionData.push(['referred_distrib_name', userData.user_owner.referred_distrib_name]);\n }\n }\n\n if (userData.phone) {\n sessionData.push(['phone', userData.phone])\n }\n\n for (var i = 0; i < sessionData.length; i++) {\n let key = sessionData[i][0];\n if (!window.$crisp.get(sessionDataKey, key) || (window.$crisp.get(sessionDataKey, key) != sessionData[i][1])) {\n window.$crisp.push([\"set\", sessionDataKey, [sessionData]]);\n break;\n }\n }\n\n let tags = [];\n if (userData && userData.tags) {\n tags = userData.tags.slice();\n }\n let trial = isTrial(userData);\n if (trial) {\n tags.push('Trial');\n }\n window.$crisp.push(['set', 'session:segments', [tags]]);\n\n })\n }\n // if (userData.hasOwnProperty('crisp_chat') && !userData.crisp_chat) {\n if (userData.hasOwnProperty('sender_docs_user') && userData.sender_docs_user != null && userData.hasOwnProperty('sender_docs_user_distributor_code') && userData.sender_docs_user_distributor_code != null) {\n window.$crisp.push([\"do\", \"chat:hide\"]);\n }\n return response;\n};\n\nconst refreshUserData = async ({ commit, dispatch, state, rootGetters }) => {\n if(!rootGetters[\"me/userData\"].username){\n let response = await dispatch(\"forceRefreshUserData\");\n return response;\n }\n return false;\n};\n\nconst setUserData = ({ commit }, userData) => {\n commit(SET_USER_DATA, { userData });\n};\n\nconst startCrispThread = ({ state }, msg) => {\n try {\n window.$crisp.push([\"do\", \"message:thread:start\", [msg]]);\n } catch {}\n};\n\nconst endCrispThread = ({ state }, msg) => {\n try {\n window.$crisp.push([\"do\", \"message:thread:end\", [msg]]);\n } catch {}\n};\n\nconst hideCrisp = ({ state }) => {\n try { \n window.$crisp.push([\"do\", \"chat:hide\"])\n } catch {}\n};\n\nconst showCrisp = ({ state }) => {\n try {\n window.$crisp.push([\"do\", \"chat:show\"])\n } catch {}\n};\n\nconst initialInstalationConnector = async ({commit, dispatch, state, rootGetters }) => {\n try {\n const form = {\n status: STATUS.DOWNLOADING_CONNECTOR,\n };\n const response = await api_user.setUserInfo(form);\n dispatch('setUserData', response.data.results);\n } catch {}\n};\n\nexport const actions = {\n forceRefreshUserData,\n refreshUserData,\n setUserData,\n startCrispThread,\n endCrispThread,\n hideCrisp,\n showCrisp,\n initialInstalationConnector,\n}\n\n// mutations\nexport const mutations = {\n [SET_USER_DATA](state, { userData }) {\n state.userData = userData;\n },\n [SET_PROFILE](state, userData) {\n if(state.profile){\n state.profile.form.name = userData.name;\n state.profile.form.email = userData.email;\n state.profile.form.dni = userData.dni;\n state.profile.form.bussnies_id = userData.bussnies_id;\n state.profile.form.business_name = userData.business_name;\n state.profile.form.phone = userData.phone;\n state.profile.form.postal_address = userData.postal_address;\n state.profile.form.post_code = userData.post_code;\n state.profile.form.province = userData.province;\n state.profile.contracts = userData.contracts;\n state.profile.form.username = userData.username;\n state.profile.form.user_role = userData.user_role.name;\n state.profile.form.receive_newsletter = userData.recieve_newsletter;\n state.profile.form.installation_notes = userData.installation_notes;\n state.profile.form.crisp_chat = userData.crisp_chat;\n state.profile.form.a3auto_status = userData.a3auto_status;\n }\n },\n updateField,\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n models\n}\n","import { Sequence } from \"./Sequence\";\n\nexport class EmailTemplate {\n subject: string;\n message: string;\n\n constructor(\n subject: string = '',\n message: string = ''\n ){\n this.subject = subject;\n this.message = message;\n }\n}\n\nexport class Configuration {\n company_id: number;\n path: any;\n path_url: string;\n footer: string;\n footer_small: string;\n tax_type: string;\n sequences: Sequence[];\n email_template: EmailTemplate;\n\n constructor(\n company_id: number = null,\n path: any = null,\n path_url: string = '',\n footer: string = '',\n footer_small: string = '',\n tax_type: string = 'iva',\n sequences: Sequence[] = [new Sequence()],\n email_template: EmailTemplate = new EmailTemplate()\n ){\n this.company_id = company_id;\n this.path = path;\n this.path_url = path_url;\n this.footer = footer;\n this.footer_small = footer_small;\n this.tax_type = tax_type;\n this.sequences = sequences;\n this.email_template = email_template;\n }\n}","import { client } from \"./client\";\n\nconst ROUTES = {\n getUserData: () => `/get_user_data/`,\n setUserInfo: () => `/set_user_info/`,\n createLead: () => `/create_lead/`,\n updateWelcomeTrialContract: () => `/update_welcome_trial_contract/`,\n};\n\nexport const user = {\n getUserData: (auth) => {\n return client.get(ROUTES.getUserData(), auth);\n },\n setUserInfo: (form) => {\n return client.patch(ROUTES.setUserInfo(), form);\n },\n createLead: (form) => {\n return client.post(ROUTES.createLead(), form);\n },\n updateWelcomeTrialContract: (form) => {\n return client.post(ROUTES.updateWelcomeTrialContract(), form);\n },\n};\n","module.exports = __webpack_public_path__ + \"img/bank-refresh.bf7bd0f0.svg\";","module.exports = __webpack_public_path__ + \"img/send_invoice.5d8f0003.svg\";","import { EntityTypeRepository, EntityInstanceRepository } from \"../domain/Entities\"\nimport { EntitiesListScreenData } from \"../domain/EntitiesListScreenData\"\n\nfunction extractRequiredKeys(schema) {\n const { properties, required } = schema; // Destructure properties and required\n\n const result = []; // Array to hold the keys that meet the criteria\n console.log(schema)\n for (const key in properties) {\n if (properties.hasOwnProperty(key)) { // Check if the key is a property of the object\n const property = properties[key]; // Get the property definition\n\n // Check if the type is simple (string or number) and if it is required\n if ((property.type === \"string\" || property.type === \"number\" || property.type === \"integer\") && required.includes(key)) {\n result.push(key); // Add the key to the result array\n }\n }\n }\n\n return result; // Return the array of keys\n}\n\nexport class EntitiesListComponent{\n \n entity_type_repo:EntityTypeRepository\n entity_instance_repo:EntityInstanceRepository\n screen_data: EntitiesListScreenData\n company_id:number\n \n constructor(entity_type_repo:EntityTypeRepository, entity_instance_repo:EntityInstanceRepository,screen_data:EntitiesListScreenData,company_id:number = null){ \n this.entity_type_repo = entity_type_repo\n this.entity_instance_repo = entity_instance_repo\n this.screen_data = screen_data\n this.company_id = company_id\n }\n\n async fetchTypes(staff){\n this.screen_data.types = await this.entity_type_repo.get_my_types()\n let ui_types = await this.entity_type_repo.get_UI_types()\n //append ui types to types \n this.screen_data.types = this.screen_data.types.concat(ui_types)\n\n if (!staff){\n this.screen_data.types = this.screen_data.types.filter(type => type.is_visible)\n }\n }\n\n async fetchInstances(){\n this.screen_data.loadingItems = true\n this.screen_data.instances = await this.entity_instance_repo.get_instances_by_type(this.company_id,this.screen_data.selectedType.uuid, this.screen_data.filters)\n \n console.log(this.screen_data.instances)\n if (this.screen_data.instances && this.screen_data.instances.length > 0){\n this.screen_data.showSelect = true\n } else {\n this.screen_data.showSelect = false\n }\n this.screen_data.loadingItems = false\n }\n reset_company_id(cdb_id){\n this.company_id = cdb_id\n }\n get_entity_type_headers(){\n const { selectedType } = this.screen_data\n\n if (!selectedType) {\n return []\n }\n\n const { schema } = selectedType\n\n const r_keys = extractRequiredKeys(schema)\n const payload_keys = r_keys.map(key => ({\n value: 'payload__'+key,\n text: key,\n sortable: true,\n }))\n return [{ text: \"Id\", value: \"uuid\", sortable: true }, { text: \"Última descarga\", value: \"download_date\", sortable: true }].concat(payload_keys)\n }\n\n async delete_instances(){\n this.screen_data.delete_pop_up = false\n this.screen_data.loadingDelete = true\n let selected_uuids = this.screen_data.selectedItems.map(item => item['uuid'])\n await this.entity_instance_repo.delete_instances(selected_uuids)\n this.screen_data.loadingDelete = false\n this.screen_data.selectedItems = []\n this.fetchInstances();\n }\n async downloadFile(s_url){\n const response = await fetch(s_url)\n if (!response.ok || response.type === 'opaque') {\n throw new Error('Error al descargar zip');\n }\n const blob = await response.blob();\n const url = await URL.createObjectURL(blob)\n const a = document.createElement(\"a\");\n a.href = url;\n let ext = 'csv'\n a.download = 'instances_' + new Date().toISOString().replace(/T/, '_').replace(/\\..+/, '') + '.' + ext;\n document.body.appendChild(a);\n a.click();\n document.body.removeChild(a);\n }\n\n async download_instances(){\n this.screen_data.download_pop_up = false\n this.screen_data.loadingDownload = true\n let selected_uuids = this.screen_data.selectedItems.map(item => item['uuid'])\n try{\n let res = await this.entity_instance_repo.download_instances(selected_uuids)\n if (!res.output.url){\n throw new Error('Error al descargar zip')\n }\n let url = res.output.url\n this.downloadFile(url)\n }catch(e){\n console.log(e)\n }\n this.screen_data.loadingDownload = false\n this.screen_data.selectedItems = []\n this.fetchInstances();\n\n }\n}","module.exports = __webpack_public_path__ + \"img/icon-print.31d5e0c3.svg\";","module.exports = __webpack_public_path__ + \"img/save_invoice.5d494c80.svg\";","module.exports = __webpack_public_path__ + \"img/icon-shrink.4d62c566.svg\";","module.exports = __webpack_public_path__ + \"img/icon-preview.6698eb84.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./AccountMoveV2.vue?vue&type=style&index=0&id=9046e48c&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/sign_invoice_disabled.28721964.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./Notifications.vue?vue&type=style&index=0&id=a8239d84&lang=scss&scoped=true&\"","import { QueryDispatcher } from \"../../shared/domain/QueryDispatcher\";\n\nexport class WorkflowTemplatesQuery {\n constructor(\n private readonly dispatcher: QueryDispatcher,\n private readonly frontend,\n ) { }\n\n async run(): Promise {\n try {\n let res = await this.dispatcher.dispatch('workflow.templates.query', {})\n if (res) {\n this.frontend.workflowOptions.push(...Object.values(res)); \n }\n } catch (error) {\n console.error(error)\n }\n \n \n }\n}","module.exports = __webpack_public_path__ + \"img/bank-hide-mismatch.50c44ff8.svg\";","module.exports = __webpack_public_path__ + \"img/logo.82b9c7a5.png\";","export const get_currentCompanyId = ({ rootGetters }) => {\n let currentCompanyId;\n if (rootGetters.getCurrentCompany) {\n currentCompanyId = rootGetters.getCurrentCompany.id;\n } else if (rootGetters[\"me/userData\"].companydb) {\n currentCompanyId = rootGetters[\"me/userData\"].companydb.id;\n }\n return currentCompanyId;\n};\n\nexport function copyToClipboard(value) {\n if (navigator.clipboard) {\n navigator.clipboard.writeText(value).catch(err => {\n console.log('Error copiando al portapapeles', err);\n });\n } else {\n const textarea = document.createElement('textarea');\n textarea.value = value;\n textarea.style.position = 'fixed';\n textarea.style.opacity = '0';\n document.body.appendChild(textarea);\n textarea.focus();\n textarea.select();\n try {\n document.execCommand('copy');\n } finally {\n document.body.removeChild(textarea);\n }\n }\n}","module.exports = __webpack_public_path__ + \"img/icon-select-company.45000329.svg\";","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./SidebarElement.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppBtn.vue?vue&type=style&index=0&id=300c9ee7&scoped=true&lang=css&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./ContractPopup.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./LegalContract.vue?vue&type=style&index=0&id=a4d17678&scoped=true&lang=css&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./AutocompleteWithApi.vue?vue&type=style&index=0&id=2500e408&scoped=true&lang=css&\"","import { createHelpers } from 'vuex-map-fields';\n\n\nexport const mapFieldsMetadata= createHelpers({\n getterType: 'documents/getMetadataField',\n mutationType: 'documents/updateMetadataField',\n }).mapFields;\n \nexport const vuexPrefix=(prefix, fields, path)=>{\n var result={}\n fields.forEach(x=>result[prefix+x]=path+x)\n return result\n}\n\nexport const vuexPrefix2 = (prefix, fields, path, append_to_path) => {\n var result = {};\n append_to_path.forEach(x => { \n fields.forEach(y => {\n result[prefix + x + '_' + y] = path + x + '.' + y\n });\n });\n return result;\n}","module.exports = __webpack_public_path__ + \"img/bank-delete-transaction-disabled.6fbb8a05.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"outlined\":\"\",\"hide-details\":\"\",\"label\":\"Email destinatario\",\"required\":\"\"},on:{\"input\":function($event){return _vm.emitter('email_to', _vm.localEmail)}},model:{value:(_vm.localEmail),callback:function ($$v) {_vm.localEmail=$$v},expression:\"localEmail\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"outlined\":\"\",\"hide-details\":\"\",\"label\":\"Asunto\"},on:{\"input\":function($event){return _vm.emitter('subject', _vm.localSubject)}},model:{value:(_vm.localSubject),callback:function ($$v) {_vm.localSubject=$$v},expression:\"localSubject\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-textarea',{attrs:{\"outlined\":\"\",\"hide-details\":\"\",\"label\":\"Mensaje\",\"rows\":\"5\"},on:{\"input\":function($event){return _vm.emitter('body', _vm.localBody)}},model:{value:(_vm.localBody),callback:function ($$v) {_vm.localBody=$$v},expression:\"localBody\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SendByEmailForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SendByEmailForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SendByEmailForm.vue?vue&type=template&id=5814f03c&\"\nimport script from \"./SendByEmailForm.vue?vue&type=script&lang=js&\"\nexport * from \"./SendByEmailForm.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VCol,VRow,VTextField,VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loading)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.content)}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LegalContract.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LegalContract.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LegalContract.vue?vue&type=template&id=a4d17678&scoped=true&\"\nimport script from \"./LegalContract.vue?vue&type=script&lang=js&\"\nexport * from \"./LegalContract.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LegalContract.vue?vue&type=style&index=0&id=a4d17678&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 \"a4d17678\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\ninstallComponents(component, {VProgressCircular})\n","module.exports = __webpack_public_path__ + \"img/bank-generate-rules.0d02e438.svg\";","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./TableCustomTextField.vue?vue&type=style&index=1&lang=css&\"","module.exports = __webpack_public_path__ + \"img/view_invoice.023c68fa.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./AccountMoveV2.vue?vue&type=style&index=1&id=9046e48c&lang=scss&scoped=true&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./CreateCustomer.vue?vue&type=style&index=0&id=4eaa1536&scoped=true&lang=css&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./RightDrawerClientMode.vue?vue&type=style&index=0&id=6744e8fa&scoped=true&lang=css&\"","export class MemoryFeatureRepo {\n constructor(data){\n this.data=data\n }\n got_feature(feat, user, cdb_type_value){\n if(!user && !cdb_type_value){\n return this.data[feat];\n }\n if(user && !cdb_type_value){\n return this.data[feat+'@'+user.username];\n }\n return this.data[feat+'@'+user.username+'@'+cdb_type_value]\n }\n}\n\nexport class VueFeatureRepository {\n constructor(got_feature_func){\n this.got_feature=got_feature_func\n }\n \n}\n\n","module.exports = __webpack_public_path__ + \"img/einvoice-issued-filter.12e1c8fa.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-autocomplete',{staticClass:\"rounded-lg app-autocomplete-no-border\",attrs:{\"filled\":!_vm.outlined,\"outlined\":_vm.outlined,\"label\":_vm.label,\"value\":_vm.value,\"disabled\":_vm.disabled,\"clearable\":_vm.clearable,\"hide-no-data\":_vm.hideNoData,\"hide-selected\":_vm.hideSelected,\"hide-search\":_vm.hideSearch,\"hide-details\":_vm.hideDetails,\"hint\":_vm.hint,\"rules\":_vm.rules,\"items\":_vm.items,\"item-text\":_vm.itemText,\"item-value\":_vm.itemValue,\"return-object\":_vm.returnObject,\"error\":_vm.error,\"error-messages\":_vm.errorMessages,\"loading\":_vm.loading,\"color\":\"primary\"},on:{\"input\":function (e) { return _vm.$emit('input', e); },\"click:clear\":function (e) { return _vm.$emit('click:clear', e); },\"change\":function (e) { return _vm.$emit('change', e); }}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppAutocomplete.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppAutocomplete.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppAutocomplete.vue?vue&type=template&id=a6c8cc0e&\"\nimport script from \"./AppAutocomplete.vue?vue&type=script&lang=js&\"\nexport * from \"./AppAutocomplete.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppAutocomplete.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\ninstallComponents(component, {VAutocomplete})\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./DocTextField.vue?vue&type=style&index=0&id=6c36c5a6&scoped=true&lang=css&\"","import { client } from \"./client\";\n\nconst ROUTES = {\n getJob: (jobId) => `/jobs/jobs/${jobId}/`,\n getJobFile: (jobId) => `/jobs/job_file/${jobId}/`,\n getJobs: ({docId, limit, offset}) => `/jobs/jobs/?documents__id=${docId}&limit=${limit}&offset=${offset}`\n};\n\nexport const jobs = {\n getJob: ({ id }) => {\n return client.get(ROUTES.getJob(id));\n },\n getJobFile: ({ id }) => {\n return client.get(ROUTES.getJobFile(id));\n },\n getJobs: ({documentId, limit, offset}) => {\n return client.get(ROUTES.getJobs({docId: documentId, limit: limit, offset: offset}));\n }\n};\n","module.exports = __webpack_public_path__ + \"img/bank-generate-rule.03160859.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./MetadataFieldDetected.vue?vue&type=style&index=0&id=fd61a86c&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-menu',{ref:_vm.content,attrs:{\"close-on-content-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"max-width\":\"290px\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({attrs:{\"dense\":_vm.dense,\"autocomplete\":\"off\",\"value\":_vm.formatedDate,\"label\":_vm.label,\"hint\":\"Formato DD/MM/YYYY\",\"persistent-hint\":\"\",\"disabled\":_vm.readonly,\"background-color\":_vm.error ? '#ff9898' : _vm.bckColor},on:{\"input\":_vm.handleInputTextField,\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.$emit('entered')}}},on))]}}]),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c('v-date-picker',{attrs:{\"disabled\":_vm.readonly,\"no-title\":\"\",\"color\":\"primary\",\"locale\":\"es\"},on:{\"change\":_vm.handleNewDate},model:{value:(_vm.content),callback:function ($$v) {_vm.content=$$v},expression:\"content\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=547b085e&scoped=true&\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=js&\"\nexport * from \"./DatePicker.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 \"547b085e\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VDatePicker,VMenu,VTextField})\n","\nimport { jobs } from \"@/api/jobs\"\nimport { OtherDocumentRepository } from \"../domain/OtherDocumentRepository\"\nimport { WorkflowTemplateRepository } from \"../domain/WorkflowTemplateRepository\"\nimport { VueOtherDocumentListScreenData } from \"../infra/VueOtherDocumentListScreenData\"\n\nexport class OtherDocListComponent {\n \n document_repo:OtherDocumentRepository\n wf_repo: WorkflowTemplateRepository\n screen_data: VueOtherDocumentListScreenData\n\n constructor(document_repo:OtherDocumentRepository, screen_data: VueOtherDocumentListScreenData, wf_repo: WorkflowTemplateRepository) {\n this.document_repo = document_repo\n this.screen_data = screen_data\n this.wf_repo = wf_repo\n }\n\n async fetchDocTypes() {\n return await this.document_repo.getAvailableTypes()\n }\n\n async mount(company_id) {\n let types = await this.fetchDocTypes()\n types.filter(type => type.toLowerCase() !== 'otros').forEach(type => {\n this.screen_data.availableFilters['type']['user_values'].push(\n { \n value: type,\n text: type\n }\n );\n });\n await this.searchDocuments(company_id)\n let res = await this.wf_repo.get_workflow_template()\n this.screen_data.workflowOptions.push(...Object.values(res));\n }\n\n updateFilters(params) {\n Object.values(this.screen_data.availableFilters).forEach(element => {\n if (params.key === element.name) {\n element.value = params.value;\n element.text = params.text;\n }\n });\n }\n\n celanAllFilters() {\n Object.values(this.screen_data.availableFilters).forEach(element => {\n element.value = '';\n element.text = '';\n });\n this.screen_data.offset = 0\n this.screen_data.currentPage = 1\n }\n\n async searchDocuments(company_id, args={}) {\n args['company_id'] = company_id\n Object.values(this.screen_data.availableFilters).forEach(element => {\n args[element.name] = element.value;\n });\n args['limit'] = this.screen_data.limit\n args['offset'] = this.screen_data.offset\n try {\n this.screen_data.loading_odocs = true\n let data = await this.document_repo.get_documents(args)\n this.updateData(data['data'], data['count'])\n } catch (error) {\n this.screen_data.other_documents = []\n this.screen_data.totalItems = 0\n throw error\n }\n this.screen_data.loading_odocs = false\n }\n\n async sortTable(company_id, value) {\n let args = {}\n if (value && value[0] === true) {\n args['order_by'] = '-' + this.screen_data.sortBy\n } else if (value && value.length === 0) {\n args['order_by'] = ''\n } else {\n args['order_by'] = value[0]\n }\n await this.searchDocuments(company_id, args)\n }\n\n\n updateData(data, count) {\n this.screen_data.other_documents = data\n this.screen_data.selectedItems = []\n this.screen_data.totalItems = count\n if(this.screen_data.totalItems > 0){\n this.screen_data.showSelect = true\n }\n this.screen_data.selectAllItems = false;\n this.calculateTableHeight();\n this.screen_data.drawer = false;\n }\n\n calculateTableHeight() {\n this.screen_data.initNumItemsPerPage = Math.min(this.screen_data.limit, 10);\n if (this.screen_data.totalItems == 0) {\n this.screen_data.tableHeight = '20vh';\n }\n else {\n const rowHeight = document.querySelector('.text-start') && (document.querySelector('.text-start') as HTMLElement).offsetHeight || 48;\n this.screen_data.tableHeight = (rowHeight * (Math.min(this.screen_data.totalItems, this.screen_data.initNumItemsPerPage) + 1)).toString() + 'px';\n }\n }\n\n async deleteDocs(company_id) {\n let items_to_delete = this.screen_data.selectedItems.map(({id})=> id)\n let res = await this.confirm()\n if (res) {\n this.screen_data.loading_d_other_doc = true\n let args = { document_ids: items_to_delete, cascade_entities: this.screen_data.cascadeEntities }\n await this.document_repo.deleteDocuments(args)\n this.screen_data.loading_d_other_doc = false\n this.screen_data.selectedItems = []\n this.screen_data.cascadeEntities = false\n await this.searchDocuments(company_id)\n }\n }\n\n confirm(){\n this.screen_data.showDeletePupup = true;\n return new Promise((resolve,reject)=>{\n this.screen_data.resolvePopupPromise = resolve\n })\n }\n\n async downloadDocs() {\n let doc_ids = this.screen_data.selectedItems.map(({id})=> id)\n if (this.screen_data.selectedItems.length == 1) {\n this.screen_data.documentName = this.screen_data.selectedItems[0].original_file_name\n } else {\n this.screen_data.documentName = 'listado_documentos.zip'\n }\n this.screen_data.action = 'download'\n let args = { doc_ids: doc_ids }\n let res = await this.document_repo.downloadDocuments(args)\n this.screen_data.asyncJobState = 'running';\n this.screen_data.asyncJobId = res.job_id\n }\n\n async changeWorkflow() {\n let args = {\n doc_ids: this.screen_data.selectedItems.map(({id})=> id),\n wf_id: this.screen_data.selectedWorkflow\n }\n console.log('args', args)\n let res = await this.document_repo.changeDocsWorkflow(args)\n this.screen_data.asyncJobState = 'running';\n this.screen_data.asyncJobId = res.job_id;\n this.screen_data.dialogChangeWorkflow = false;\n this.screen_data.selectedWorkflow = undefined;\n }\n\n async jobDone(company_id){\n const response = await jobs.getJob({ id: this.screen_data.asyncJobId });\n this.screen_data.asyncJobState = response.data.state;\n let recived_url = response.data.output_info;\n if (this.screen_data.action == 'download') {\n const res = await fetch(recived_url)\n const blob = await res.blob();\n const url = await URL.createObjectURL(blob)\n const a = document.createElement(\"a\");\n a.href = url;\n a.download = this.screen_data.documentName;\n document.body.appendChild(a);\n a.click();\n document.body.removeChild(a);\n } else if (this.screen_data.action == 'changeWorkflow') {\n if (this.screen_data.asyncJobState == 'done') {\n this.searchDocuments(company_id)\n }\n }\n }\n}","module.exports = __webpack_public_path__ + \"img/stop_contract.e08379d8.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./DetailAccounts.vue?vue&type=style&index=2&id=2120f9ca&scoped=true&lang=css&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./RightDrawerClientModeV2.vue?vue&type=style&index=1&lang=css&\"","module.exports = __webpack_public_path__ + \"img/folder_info.1b39f176.svg\";","import { v4 as uuidv4 } from 'uuid';\nexport class Stage {\n name?: string;\n id?: string;\n label?: string;\n condition_script?: string;\n jump_script?: string;\n price?: number;\n visible?:boolean;\n persist?:boolean;\n constructor() {\n this.id = uuidv4();\n }\n validate(): boolean {\n return true;\n }\n calculatePrice(): void { }\n\n static createEmpty(): Stage {\n return new Stage();\n }\n\n has_some_script(): boolean {\n return this.condition_script !== '' || this.jump_script !== '';\n }\n }\n \nexport class WorkflowTemplate {\n id?: number;\n stages?: Stage[];\n name?: string;\n default_doc_types?: string[];\n trigger_entity_type_uuid?: string;\n\n constructor(id?: number, stages?: Stage[], name?: string, default_doc_types?: string[], trigger_entity_type_uuid?: string) {\n this.id = id;\n this.stages = stages;\n this.name = name;\n this.default_doc_types = default_doc_types;\n this.trigger_entity_type_uuid = trigger_entity_type_uuid;\n }\n\n validate() : boolean {\n if (!this.stages || this.stages.length === 0) {\n return false;\n }\n return this.stages.every(stage => stage.validate());\n }\n}\n\nexport class WaitForApproval extends Stage {\n static need_detail=true;\n name: string = 'WaitForApproval';\n username?: string;\n username_location?: string;\n \n constructor(username: string = '', username_location:string= '',price: number=0, visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super(); // Call the parent class's constructor\n this.username = username;\n this.username_location = username_location;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n validate(): boolean {\n return this.username !== '' || this.username_location !== '';\n }\n static createEmpty() {\n return new WaitForApproval();\n }\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\nexport class UploadAsInvoice extends Stage {\n static need_detail=false;\n name: string = 'UploadAsInvoice';\n\n constructor(price: number = 0,visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.price = price;\n this.visible = visible\n this.persist = persist\n }\n validate(): boolean {\n return true;\n }\n static createEmpty() {\n return new UploadAsInvoice();\n }\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\nexport class AddDocumentRepresentationToConversation extends Stage {\n static need_detail=true;\n name:string = 'AddDocumentRepresentationToConversation';\n conversation?: string;\n input_mode?:string;\n crop?: boolean;\n headPages?:number;\n tailPages?:number;\n textFormat?:string;\n\n constructor(conversation: string = '', input_mode:string='image', crop:boolean=true, headPages:number=1, tailPages:number=1, textFormat:string='lmdx', price: number = 0, visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.conversation = conversation;\n this.input_mode = input_mode;\n this.crop = crop;\n this.headPages = headPages;\n this.tailPages = tailPages;\n this.textFormat = textFormat;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n validate(): boolean {\n return this.conversation !== '';\n }\n\n static createEmpty() {\n return new AddDocumentRepresentationToConversation();\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\nexport class AskAI extends Stage {\n static need_detail=true;\n name: string = 'AskAI';\n save_as_key?: string;\n entity_type_id?: string;\n prompt?: string;\n input_mode?:string;\n cheap?: boolean;\n reason?: boolean;\n cache?: boolean;\n crop?: boolean;\n headPages?:number;\n tailPages?:number;\n textFormat?:string;\n multitool?:boolean;\n forced_tool?:string;\n\n constructor(save_as_key: string='', entity_type_id: string='', prompt: string='', input_mode:string='text', cheap: boolean = false, reason: boolean = false, cache: boolean = false, crop: boolean = true, headPages:number = 1, tailPages:number = 1, textFormat:string='lmdx', multitool:boolean=false, forced_tool:string='', price:number = 0, visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.save_as_key = save_as_key;\n this.entity_type_id = entity_type_id;\n this.prompt = prompt;\n this.input_mode = input_mode;\n this.cheap = cheap;\n this.reason = reason;\n this.cache = cache;\n this.crop = crop;\n this.headPages = headPages;\n this.tailPages = tailPages;\n this.textFormat = textFormat;\n this.multitool = multitool;\n this.forced_tool = forced_tool;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n validate(): boolean {\n return this.save_as_key !== '';\n }\n static createEmpty() {\n return new AskAI();\n }\n calculatePrice(): void {\n let base_price = 2;\n // const priceModifiers = [\n // { condition: !this.cheap, increment: 2 },\n // { condition: this.reason, increment: 2 },\n // { condition: this.prompt.length > 100, increment: 2 },\n // { condition: this.classic_render, increment: 2 },\n // ];\n\n // priceModifiers.forEach(modifier => {\n // if (modifier.condition) {\n // base_price += modifier.increment;\n // }\n // });\n this.price = base_price;\n }\n\n hasNestedObjects(obj: object): boolean {\n return Object.values(obj).some(value => typeof value === 'object' && value !== null);\n }\n}\n\n\nexport class LookupAndMatchInstance extends Stage {\n static need_detail=true;\n name = 'LookupAndMatchInstance';\n entity_type_id?: string;\n destination_match_key?: string;\n origin_match_key?: string;\n save_as_key?: string;\n \n\n constructor(entity_type_id: string = '', destination_match_key: string = '', origin_match_key: string = '', save_as_key: string = '', price:number = 0, visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.entity_type_id = entity_type_id;\n this.destination_match_key = destination_match_key;\n this.origin_match_key = origin_match_key;\n this.save_as_key = save_as_key;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n static createEmpty() {\n return new LookupAndMatchInstance();\n }\n validate() : boolean {\n return this.entity_type_id !== '' && this.destination_match_key !== '' && this.origin_match_key !== '' && this.save_as_key !== '';\n }\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\nexport class LookupAndMatchMultipleInstances extends Stage {\n static need_detail=true;\n name = 'LookupAndMatchMultipleInstances';\n entity_type_id?: string;\n destination_match_key?: string;\n origin_match_key?: string;\n save_list_key?: string;\n \n\n constructor(entity_type_id: string = '', destination_match_key: string = '', origin_match_key: string = '', save_list_key: string = '', price:number = 0, visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.entity_type_id = entity_type_id;\n this.destination_match_key = destination_match_key;\n this.origin_match_key = origin_match_key;\n this.save_list_key = save_list_key;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n static createEmpty() {\n return new LookupAndMatchMultipleInstances();\n }\n validate() : boolean {\n return this.entity_type_id !== '' && this.destination_match_key !== '' && this.origin_match_key !== '' && this.save_list_key !== '';\n }\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\nexport class SendThroughEmail extends Stage {\n static need_detail=true;\n name = 'SendThroughEmail';\n email_location?: string;\n subject?: string;\n body?: string;\n\n constructor(email_location: string = '', subject: string = '', body: string = '', price = 0, visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.email_location = email_location;\n this.subject = subject;\n this.body = body;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new SendThroughEmail();\n }\n validate() : boolean {\n return this.email_location !== '' && this.subject !== '';\n }\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\nexport class SendEmailWithTemplate extends Stage {\n static need_detail=true;\n name = 'SendEmailWithTemplate';\n email_location?: string;\n template_code?: string;\n context_location?: string;\n\n constructor(email_location: string = '', template_code: string = '', context_location: string = '', price = 0, visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.email_location = email_location;\n this.template_code = template_code;\n this.context_location = context_location;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new SendEmailWithTemplate();\n }\n validate() : boolean {\n return this.email_location !== '' && this.template_code !== '';\n }\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\n\nexport class RunCommand extends Stage {\n static need_detail=true;\n name = 'RunCommand';\n cmd_name?: string;\n payload_location?: string;\n entity_type_id?: string;\n save_as_key?: string;\n\n constructor(cmd_name: string = '', payload_location: string = '', entity_type_id: string = '',save_as_key: string = '', price = 0, visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.cmd_name = cmd_name;\n this.payload_location = payload_location;\n this.entity_type_id = entity_type_id;\n this.save_as_key = save_as_key\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new RunCommand();\n }\n validate() : boolean {\n return this.cmd_name !== '' && this.save_as_key !== '' && this.entity_type_id !== '';\n }\n calculatePrice(): void {\n this.price = 0;\n }\n}\n// export class PayrollAccounting extends Stage {\n// static need_detail=true;\n// name = 'PayrollAccounting';\n// accounting_date?: string;\n// worker_id?: string;\n// description?: string;\n// salary?: string;\n// total_social_security?: string;\n// social_security_expense?: string;\n// irpf?: string;\n// salary_account?: string;\n// total_social_security_account?: string;\n// social_security_expense_account?: string;\n// irpf_account?: string;\n// total_to_pay?: string;\n// cotizacion_paro?: string;\n// cotizacion_formacion?: string;\n// cotizacion_contingencias?: string;\n// recuperacion_liquido?: string;\n// pp_extra?: string;\n\n\n// constructor(accounting_date: string, worker_id: string, description: string, salary: string, total_social_security: string, social_security_expense: string, irpf: string, salary_account: string, total_social_security_account: string, social_security_expense_account: string, irpf_account: string, total_to_pay:string, cotizacion_paro: string, cotizacion_formacion: string, cotizacion_contingencias: string, recuperacion_liquido:string,pp_extra:string, price = 0, visible=true, persist:boolean=true,) {\n// super();\n// this.accounting_date = accounting_date;\n// this.worker_id = worker_id;\n// this.description = description;\n// this.salary = salary;\n// this.total_social_security = total_social_security;\n// this.social_security_expense = social_security_expense;\n// this.irpf = irpf;\n// this.salary_account = salary_account;\n// this.total_social_security_account = total_social_security_account;\n// this.social_security_expense_account = social_security_expense_account;\n// this.irpf_account = irpf_account;\n// this.total_to_pay = total_to_pay;\n// this.cotizacion_paro = cotizacion_paro;\n// this.cotizacion_formacion = cotizacion_formacion;\n// this.cotizacion_contingencias = cotizacion_contingencias;\n// this.recuperacion_liquido = recuperacion_liquido;\n// this.pp_extra = pp_extra;\n// this.price = price;\n// this.visible = visible\n// this.persist = persist\n// this.condition_script = condition_script;\n// }\n\n// static createEmpty() {\n// return new PayrollAccounting('', '', '', '', '', '', '', '', '', '', '', '','','','','','');\n// }\n// validate() : boolean {\n// return true;\n// }\n// calculatePrice(): void {\n// this.price = 0;\n// }\n// }\n\nexport class SendDataToEndpoint extends Stage {\n static need_detail=true;\n name = 'SendDataToEndpoint';\n endpoint?: string;\n payload_location?:string;\n headers_location?: string;\n entity_type_id?: string;\n save_as_key?: string;\n request_method?: string;\n persist_response?: boolean;\n\n constructor(endpoint: string = '', payload_location: string = '', headers_location: string = '', entity_type_id: string = '', save_as_key: string = '', price = 0, visible:boolean=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '', request_method:string = 'POST', persist_response:boolean= true) {\n super();\n this.endpoint = endpoint;\n this.payload_location = payload_location;\n this.headers_location = headers_location;\n this.entity_type_id = entity_type_id;\n this.save_as_key = save_as_key;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n this.request_method = request_method\n this.persist_response = persist_response\n }\n\n static createEmpty() {\n return new SendDataToEndpoint();\n }\n\n validate() : boolean {\n return this.endpoint !== '';\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\nexport class NotifyCounterpart extends Stage {\n static need_detail=false;\n name = 'NotifyCounterpart';\n\n constructor(price = 0, visible=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new NotifyCounterpart();\n }\n\n validate() : boolean {\n return true;\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\nexport class CreateInstanceFromContext extends Stage {\n static need_detail=true;\n name = 'CreateInstanceFromContext';\n entity_type_id: string;\n save_as_key: string;\n payload_of_addresses: any;\n\n constructor(entity_type_id: string = '', save_as_key: string = '', payload_of_addresses: any = {}, price = 0, visible=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.entity_type_id = entity_type_id;\n this.save_as_key = save_as_key;\n this.payload_of_addresses = payload_of_addresses;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new CreateInstanceFromContext();\n }\n\n validate() : boolean {\n return this.entity_type_id !== '' && this.save_as_key !== '';\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n\n}\n\nexport class CompleteConversation extends Stage {\n static need_detail=true;\n name = 'CompleteConversation';\n agent:string;\n force_tool:string;\n conversation:string;\n save_as_key:string;\n max_iterations:number;\n\n constructor(agent: string = '', save_as_key: string = '', force_tool: string = '',conversation: string = '', max_iterations: number = 10, price = 0, visible=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.agent = agent;\n this.force_tool = force_tool;\n this.conversation = conversation;\n this.save_as_key = save_as_key;\n this.max_iterations = max_iterations;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new CompleteConversation();\n }\n\n validate() : boolean {\n return this.agent !== '' && this.save_as_key !== '' && this.conversation !== '';\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n\n}\n\nexport class CreateInstance extends Stage {\n static need_detail=true;\n name = 'CreateInstance';\n entity_type_id: string;\n save_as_key: string;\n payload: any;\n\n constructor(entity_type_id: string = '', save_as_key: string = '', payload: any = {}, price = 0, visible=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.entity_type_id = entity_type_id;\n this.save_as_key = save_as_key;\n this.payload = payload;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new CreateInstance();\n }\n\n validate() : boolean {\n return this.entity_type_id !== '' && this.save_as_key !== '';\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\n\nexport class AddInstanceToList extends Stage {\n static need_detail=true;\n name = 'AddInstanceToList';\n entity_type_id: string;\n list_location: string;\n payload_of_addresses: any;\n\n constructor(entity_type_id: string = '', list_location: string = '', payload_of_addresses: any = {}, price = 0, visible=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.entity_type_id = entity_type_id;\n this.list_location = list_location;\n this.payload_of_addresses = payload_of_addresses;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new AddInstanceToList();\n }\n\n validate() : boolean {\n return this.entity_type_id !== '' && this.list_location !== '';\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n\n}\nexport class CreateInstancesFromList extends Stage {\n static need_detail=true;\n name = 'CreateInstancesFromList';\n entity_type_id?: string;\n list_location?: string;\n payload_of_addresses?: any;\n save_list_key?: string;\n\n constructor(entity_type_id: string = '', list_location: string = '', payload_of_addresses: any = {}, save_list_key:string='',price = 0, visible=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.entity_type_id = entity_type_id;\n this.list_location = list_location;\n this.save_list_key = save_list_key;\n this.payload_of_addresses = payload_of_addresses;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new CreateInstancesFromList();\n }\n\n validate() : boolean {\n return this.entity_type_id !== '' && this.list_location !== '';\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n\n}\n\nexport class ModifyContext extends Stage {\n static need_detail=true;\n name = 'ModifyContext';\n location_to_modify?: string;\n new_value_location?: string;\n\n constructor(location_to_modify: string, new_value_location: string, price = 0, visible=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.location_to_modify = location_to_modify;\n this.new_value_location = new_value_location;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new ModifyContext('', '');\n }\n\n validate() : boolean {\n return this.location_to_modify !== '' && this.new_value_location !== '';\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n\n}\n\nexport class ExtractInstanceFromRawData extends Stage {\n static need_detail=true;\n name = 'ExtractInstanceFromRawData';\n entity_type_id?: string;\n get_from_key?: string;\n save_as_key?: string;\n\n constructor(entity_type_id: string = '', get_from_key: string = '', save_as_key: string = '', price = 0, visible=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.entity_type_id = entity_type_id;\n this.get_from_key = get_from_key;\n this.save_as_key = save_as_key;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new ExtractInstanceFromRawData();\n }\n\n validate() : boolean {\n return this.entity_type_id !== '' && this.get_from_key !== '' && this.save_as_key !== '';\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\n// @dataclass\n// class RunScript(Stage):\n// name = 'RunScript'\n// entity_type_id:str\n// save_as_key:str\n// script:str\n// input_location:str\n// price:int = 0\n// visible:bool = True\n\nexport class RunScript extends Stage{\n static need_detail=true;\n name = 'RunScript';\n entity_type_id?: string;\n save_as_key?: string;\n script?: string;\n input_location?: string;\n\n constructor(entity_type_id: string = '', save_as_key: string = '', script: string = '', input_location: string = '', price = 0, visible=true, persist:boolean=true, condition_script: string = '', jump_script: string = '', label: string = '') {\n super();\n this.entity_type_id = entity_type_id;\n this.save_as_key = save_as_key;\n this.script = script;\n this.input_location = input_location;\n this.price = price;\n this.visible = visible\n this.persist = persist\n this.condition_script = condition_script;\n this.jump_script = jump_script;\n this.label=label;\n }\n\n static createEmpty() {\n return new RunScript();\n }\n\n validate() : boolean {\n return this.entity_type_id !== '' && this.save_as_key !== '' && this.script !== '' ;\n }\n\n calculatePrice(): void {\n this.price = 0;\n }\n}\n\nexport const nameToClass = {\n 'WaitForApproval': WaitForApproval,\n 'UploadAsInvoice': UploadAsInvoice,\n 'AskAI': AskAI,\n 'LookupAndMatchInstance': LookupAndMatchInstance,\n 'LookupAndMatchMultipleInstances': LookupAndMatchMultipleInstances,\n 'CreateInstanceFromContext': CreateInstanceFromContext,\n 'AddInstanceToList': AddInstanceToList,\n 'CompleteConversation': CompleteConversation,\n 'CreateInstance': CreateInstance,\n 'CreateInstancesFromList': CreateInstancesFromList,\n 'ModifyContext': ModifyContext,\n 'ExtractInstanceFromRawData': ExtractInstanceFromRawData,\n 'SendThroughEmail': SendThroughEmail,\n 'SendEmailWithTemplate': SendEmailWithTemplate,\n 'SendDataToEndpoint': SendDataToEndpoint,\n 'NotifyCounterpart': NotifyCounterpart,\n 'RunScript': RunScript,\n 'RunCommand': RunCommand,\n 'AddDocumentRepresentationToConversation': AddDocumentRepresentationToConversation\n};\n\n","module.exports = __webpack_public_path__ + \"img/icon-expand.e60bdf53.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{class:{ 'modal-container': _vm.isInModal, 'container-full-bg-gray': !_vm.isInModal },attrs:{\"fluid\":\"\"}},[_c('CreationObject',{attrs:{\"objectType\":_vm.objectType,\"objectName\":\"Cliente\",\"url\":_vm.url,\"id\":_vm.customer,\"third-name\":_vm.cru_name,\"third-cif\":_vm.cru_cif,\"document_id\":_vm.document_id,\"is-in-modal\":_vm.isInModal,\"is-header-fixed\":_vm.isInModal ? true : false,\"company_nif\":_vm.nif,\"company_name\":_vm.name,\"areParamsChanged\":_vm.areParamsChanged,\"hideSaveBtn\":_vm.got_feature('feature_not_create_thirds_and_masters')},on:{\"createdObject\":_vm.mycreated,\"updateParams\":function($event){return _vm.$emit('updateParams')},\"cancel\":function($event){return _vm.$emit('cancel')}},scopedSlots:_vm._u([{key:\"tabs-title\",fn:function(){return [_c('div',{staticClass:\"px-8 pt-2 tabs-title-div-bck\"},[_c('v-row',{attrs:{\"align\":\"center\"}},[_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"12\"}},[_c('v-tabs',{model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},[_c('v-tab',{key:\"data\"},[_vm._v(\"Datos\")]),_c('v-tab',{key:\"parameters\"},[_vm._v(\"Parámetros\")]),(_vm.hasEInvoiceContract && _vm.cru_data)?_c('v-tab',{key:\"bank_info\"},[_vm._v(\"Información bancaria\")]):_vm._e()],1)],1)],1)],1)]},proxy:true},(_vm.currentCompany)?{key:\"inputs\",fn:function(){return [(Object.keys(_vm.cru_errors_customerScreenValues).length)?_c('app-row',[_c('v-expand-transition',[_c('app-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(Object.keys(_vm.cru_errors_customerScreenValues).length),expression:\"Object.keys(cru_errors_customerScreenValues).length\"}],staticClass:\"pt-8\",attrs:{\"cols\":\"12\"}},[_c('v-alert',{attrs:{\"outlined\":\"\",\"prominent\":\"\",\"text\":\"\",\"type\":\"error\"}},_vm._l((_vm.cru_errors_customerScreenValues),function(error){return _c('div',{key:error.toString()},[(Array.isArray(error))?_c('div',[_vm._v(_vm._s(_vm.firstAppearance(error)))]):_c('div',[_vm._v(_vm._s(error))])])}),0)],1)],1)],1):_vm._e(),_c('v-tabs-items',{staticClass:\"ma-0 pa-0\",model:{value:(_vm.currentTab),callback:function ($$v) {_vm.currentTab=$$v},expression:\"currentTab\"}},[_c('v-tab-item',{key:\"data\",staticClass:\"ma-0 pa-0\"},[(_vm.got_feature('feature_can_user_company_data'))?_c('app-row',{staticClass:\"pt-0 mt-0\"},[_c('app-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-btn',{staticClass:\"btn-save\",attrs:{\"color\":\"primary\",\"disabled\":_vm.cru_cif===''},on:{\"click\":function($event){return _vm.autocompleteCustomerData()}}},[_vm._v(\"\\n Autocompletar\\n \")]),_c('message-popup',{attrs:{\"title\":\"Aviso\",\"show_message\":_vm.showAutocompletePupup,\"message\":(\"

¿Está seguro que quiere modificar los campos con los siguientes datos?

\\n
    \\n
  • CIF: \" + (_vm.company_data && _vm.company_data['cif']) + \"
  • \\n
  • Nombre: \" + (_vm.company_data && _vm.company_data['name']) + \"
  • \\n
  • Nombre comercial: \" + (_vm.company_data && _vm.company_data['comercial_names']) + \"
  • \\n
  • Dirección: \" + (_vm.company_data && _vm.company_data['address']) + \"
  • \\n
  • CP: \" + (_vm.company_data && _vm.company_data['zip_code']) + \"
  • \\n
  • Ciudad: \" + (_vm.company_data && _vm.company_data['city']) + \"
  • \\n
  • Provincia: \" + (_vm.company_data && _vm.company_data['province']) + \"
  • \\n
  • Pais: \" + (_vm.company_data && _vm.company_data['country']) + \"
  • \\n
  • Email: \" + (_vm.company_data && _vm.company_data['email']) + \"
  • \\n
  • Teléfono: \" + (_vm.company_data && _vm.company_data['phones']) + \"
  • \\n
  • Website: \" + (_vm.company_data && _vm.company_data['websites']) + \"
  • \\n
\"),\"actions\":[{ 'action_text': 'Cancelar', 'emit': 'close-message' }, { 'action_text': 'Aceptar', 'emit': 'confirm-update-data', 'prin': true }]},on:{\"close-message\":function($event){return _vm.confirmCompanyData(false)},\"confirm-update-data\":function($event){return _vm.confirmCompanyData(true)}}}),_c('message-popup',{attrs:{\"title\":\"Aviso\",\"show_message\":_vm.showDataNotFoundMessage,\"message\":(\"

No se ha encontrado ninguna referencia al CIF indicado

\\n

CIF : \" + _vm.cru_cif + \"

\"),\"actions\":[{ 'action_text': 'Aceptar', 'emit': 'close-message','prin': true } ]},on:{\"close-message\":function($event){_vm.showDataNotFoundMessage = false}}})],1)],1):_vm._e(),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_cif,\"error\":Boolean(_vm.cru_error_cif),\"error-messages\":_vm.cru_error_cif},on:{\"input\":_vm.check_duplicates},model:{value:(_vm.cru_cif),callback:function ($$v) {_vm.cru_cif=$$v},expression:\"cru_cif\"}}),_c('div',{staticStyle:{\"margin-top\":\"-28px\",\"color\":\"#f34336\"}},[_vm._v(\"\\n \"+_vm._s(_vm.duplicate_message)+\"\\n \")])],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":_vm.$vuetify.breakpoint.mdAndDown,\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_name,\"append-icon\":\"mdi-format-letter-case-upper\",\"append-icon-tooltip-text\":\"Transformar texto a mayúsculas\",\"error\":Boolean(_vm.cru_error_name),\"error-messages\":_vm.cru_error_name},on:{\"click:append\":function($event){return _vm.upper()}},model:{value:(_vm.cru_name),callback:function ($$v) {_vm.cru_name=$$v},expression:\"cru_name\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":_vm.$vuetify.breakpoint.mdAndDown,\"cols\":\"12\",\"lg\":\"4\"}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('div',_vm._g({},on),[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"disabled\":!_vm.feature_customer_reference,\"label\":_vm.cru_label_reference,\"error\":Boolean(_vm.cru_error_reference),\"error-messages\":_vm.cru_error_reference},model:{value:(_vm.cru_reference),callback:function ($$v) {_vm.cru_reference=$$v},expression:\"cru_reference\"}})],1)]}}],null,false,2521146410)},[_c('span',[_vm._v(\"Asignará a este cliente los documentos que contengan esta referencia\")])])],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{staticClass:\"d-flex flex-sm-nowrap align-baseline\",attrs:{\"has-input-fields-above\":\"\",\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"flex-grow-1\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_type,\"items\":_vm.thirdTypeTypes,\"readonly\":false,\"error\":Boolean(_vm.cru_error_type),\"error-messages\":_vm.cru_error_type},model:{value:(_vm.cru_type),callback:function ($$v) {_vm.cru_type=$$v},expression:\"cru_type\"}}),(_vm.cru_type && (_vm.cru_type == 'fisica' || (_vm.hasEInvoiceContract && _vm.cru_type == 'juridica')))?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){_vm.showAdditionalInfo = true}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-information-variant\")])],1)]}}],null,false,2444764291)},[_c('span',[_vm._v(\"Datos ampliados\")])]):_vm._e()],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":_vm.feature_account_type_innuva && !_vm.customer ? 8 : 4}},[_c('app-doc-text-field',{attrs:{\"kind\":\"account\",\"third\":\"customer\",\"label\":_vm.cru_label_debit_account,\"error\":Boolean(_vm.cru_error_debit_account),\"error-messages\":_vm.cru_error_debit_account,\"readonly\":!['', null, undefined].includes(_vm.actual_debit_account),\"num_digits\":_vm.currentCompany.companydb_type.params && (_vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') || _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length')) ? false : _vm.currentCompany.num_digits,\"enable_account_types\":_vm.feature_account_type_innuva && !_vm.customer,\"account_types\":_vm.account_types},model:{value:(_vm.cru_debit_account),callback:function ($$v) {_vm.cru_debit_account=$$v},expression:\"cru_debit_account\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_alias,\"error\":Boolean(_vm.cru_error_alias),\"error-messages\":_vm.cru_error_alias,\"append-icon\":!!_vm.name? 'mdi-lightbulb' : '',\"append-icon-tooltip-text\":!!_vm.name ? 'Obtener Nombre Comercial detectado en la factura' : ''},on:{\"click:append\":function($event){_vm.cru_alias = _vm.name}},model:{value:(_vm.cru_alias),callback:function ($$v) {_vm.cru_alias=$$v},expression:\"cru_alias\"}})],1),(_vm.got_feature('feature_identity_key'))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_identity_key,\"items\":_vm.identity_keys,\"readonly\":false,\"error\":Boolean(_vm.cru_error_identity_key),\"error-messages\":_vm.cru_error_identity_key},model:{value:(_vm.cru_identity_key),callback:function ($$v) {_vm.cru_identity_key=$$v},expression:\"cru_identity_key\"}})],1):_vm._e(),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_address,\"error\":Boolean(_vm.cru_error_address),\"error-messages\":_vm.cru_error_address},model:{value:(_vm.cru_address),callback:function ($$v) {_vm.cru_address=$$v},expression:\"cru_address\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_zip_code,\"error\":Boolean(_vm.cru_error_zip_code),\"error-messages\":_vm.cru_error_zip_code},model:{value:(_vm.cru_zip_code),callback:function ($$v) {_vm.cru_zip_code=$$v},expression:\"cru_zip_code\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_city,\"error\":Boolean(_vm.cru_error_city),\"error-messages\":_vm.cru_error_city},model:{value:(_vm.cru_city),callback:function ($$v) {_vm.cru_city=$$v},expression:\"cru_city\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_province,\"error\":Boolean(_vm.cru_error_province),\"error-messages\":_vm.cru_error_province},model:{value:(_vm.cru_province),callback:function ($$v) {_vm.cru_province=$$v},expression:\"cru_province\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_country,\"items\":_vm.autocompleteCountryItems,\"error\":Boolean(_vm.cru_error_country),\"error-messages\":_vm.cru_error_country},model:{value:(_vm.cru_country),callback:function ($$v) {_vm.cru_country=$$v},expression:\"cru_country\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_email,\"error\":Boolean(_vm.cru_error_email),\"error-messages\":_vm.cru_error_email},model:{value:(_vm.cru_email),callback:function ($$v) {_vm.cru_email=$$v},expression:\"cru_email\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_phone,\"error\":Boolean(_vm.cru_error_phone),\"error-messages\":_vm.cru_error_phone},model:{value:(_vm.cru_phone),callback:function ($$v) {_vm.cru_phone=$$v},expression:\"cru_phone\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_website,\"error\":Boolean(_vm.cru_error_website),\"error-messages\":_vm.cru_error_website},model:{value:(_vm.cru_website),callback:function ($$v) {_vm.cru_website=$$v},expression:\"cru_website\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"8\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":_vm.cru_label_notes,\"error\":Boolean(_vm.cru_error_notes),\"error-messages\":_vm.cru_error_notes},model:{value:(_vm.cru_notes),callback:function ($$v) {_vm.cru_notes=$$v},expression:\"cru_notes\"}})],1)],1)],1),_c('v-tab-item',{key:\"parameters\",staticClass:\"ma-0 pa-0\"},[_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"label\":_vm.cru_label_income_accounts,\"error\":Boolean(_vm.cru_error_income_accounts),\"error-messages\":_vm.cru_error_income_accounts,\"is_array\":true,\"max_length_account\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length') ? _vm.currentCompany.companydb_type.params['accounts_max_length'] : false,\"num_digits\":_vm.currentCompany.companydb_type.params && (_vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') || _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length')) ? false : _vm.currentCompany.num_digits,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(_vm.cru_income_accounts),callback:function ($$v) {_vm.cru_income_accounts=$$v},expression:\"cru_income_accounts\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":_vm.$vuetify.breakpoint.mdAndDown,\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{attrs:{\"disabled\":!_vm.feature_payment_move,\"label\":_vm.cru_label_automatic_charge_account,\"items\":_vm.automaticPaymentAccountTypes,\"readonly\":false,\"error\":Boolean(_vm.cru_error_automatic_charge_account),\"error-messages\":_vm.cru_error_automatic_charge_account},model:{value:(_vm.cru_automatic_charge_account),callback:function ($$v) {_vm.cru_automatic_charge_account=$$v},expression:\"cru_automatic_charge_account\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":_vm.$vuetify.breakpoint.mdAndDown,\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"account\",\"disabled\":!_vm.feature_payment_move || (_vm.cru_automatic_charge_account && _vm.cru_automatic_charge_account != 'y'),\"label\":_vm.cru_label_charge_account,\"hint\":\"Únicamente aplica cuando la opción 'Sí' está activa\",\"rules\":_vm.accountRules,\"error\":Boolean(_vm.cru_error_charge_account),\"num_digits\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_charge_account),callback:function ($$v) {_vm.cru_charge_account=$$v},expression:\"cru_charge_account\"}})],1)],1),(_vm.showRefAccountDetailLocal)?_c('app-row',{style:(_vm.refAccountsStyle),attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"6\"}},[_c('DetailReferenceAccounts',{attrs:{\"kind\":_vm.got_feature('feature_accounts_master') ? 'account_am' : 'account',\"accounts\":_vm.cru_ref_income_accounts,\"error\":_vm.errorInRefAccounts,\"num_digits\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') ? false : _vm.currentCompany.num_digits,\"max_length_account\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_max_length') ? _vm.currentCompany.companydb_type.params['accounts_max_length'] : false,\"items\":_vm.got_feature('feature_accounts_master') ? _vm.accounts : []},on:{\"update\":_vm.updateRefIncomeAccounts,\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems}})],1)],1):_vm._e(),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[(_vm.feature_customer_retention_type)?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"outlined\":\"\",\"autocomplete\":\"off\",\"label\":_vm.cru_label_retention_type,\"items\":_vm.filtered_retention_types,\"readonly\":false,\"error\":Boolean(_vm.cru_error_retention_type),\"error-messages\":_vm.cru_error_retention_type},model:{value:(_vm.cru_retention_type),callback:function ($$v) {_vm.cru_retention_type=$$v},expression:\"cru_retention_type\"}})],1):_vm._e(),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_description_sii)?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-select',{attrs:{\"items\":[\n { 'text': 'Descripción Factura', 'value': 'descr_factura' },\n { 'text': 'Valor Fijo', 'value': 'valor_fijo' }\n ],\"label\":_vm.cru_label_description_sii},on:{\"change\":function($event){return _vm.changeDescriptionSII()}},model:{value:(_vm.cru_description_sii),callback:function ($$v) {_vm.cru_description_sii=$$v},expression:\"cru_description_sii\"}})],1):_vm._e(),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_description_sii)?_c('app-col',{attrs:{\"has-input-fields-above\":\"\",\"contains-input-fields\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"disabled\":_vm.cru_description_sii != 'valor_fijo',\"kind\":\"text\",\"label\":_vm.cru_label_fixed_value,\"error\":Boolean(_vm.cru_error_fixed_value),\"error-messages\":_vm.cru_error_fixed_value},model:{value:(_vm.cru_fixed_value),callback:function ($$v) {_vm.cru_fixed_value=$$v},expression:\"cru_fixed_value\"}})],1):_vm._e(),(_vm.currentCompany && _vm.currentCompany.available_features && _vm.currentCompany.available_features.feature_expense_income_type)?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"outlined\":\"\",\"clearable\":true,\"autocomplete\":\"off\",\"label\":_vm.cru_label_expens_income_type,\"items\":_vm.getIncomeType,\"item-text\":\"name\",\"item-value\":\"eit_id\",\"readonly\":false},model:{value:(_vm.cru_default_expens_income_type),callback:function ($$v) {_vm.cru_default_expens_income_type=$$v},expression:\"cru_default_expens_income_type\"}})],1):_vm._e()],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{attrs:{\"autocomplete\":\"off\",\"disabled\":!_vm.feature_can_auto_fill_due_date,\"label\":_vm.cru_label_auto_fill_due_date,\"items\":[{'text': 'N/A', 'value': 'na'}, {'text': 'Si', 'value': 'y'}, {'text': 'No', 'value': 'n'}],\"readonly\":false,\"error\":Boolean(_vm.cru_error_auto_fill_due_date),\"error-messages\":_vm.cru_error_auto_fill_due_date},model:{value:(_vm.cru_auto_fill_due_date),callback:function ($$v) {_vm.cru_auto_fill_due_date=$$v},expression:\"cru_auto_fill_due_date\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"number\",\"disabled\":!_vm.feature_price_range,\"label\":_vm.cru_label_min_price,\"error\":Boolean(_vm.cru_error_min_price),\"error-messages\":_vm.cru_error_min_price},model:{value:(_vm.cru_min_price),callback:function ($$v) {_vm.cru_min_price=$$v},expression:\"cru_min_price\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"number\",\"label\":_vm.cru_label_max_price,\"error\":Boolean(_vm.cru_error_max_price),\"error-messages\":_vm.cru_error_max_price},model:{value:(_vm.cru_max_price),callback:function ($$v) {_vm.cru_max_price=$$v},expression:\"cru_max_price\"}})],1)],1),_c('app-row',[(_vm.got_feature('feature_actividad_selector') && _vm.activities.length > 0 && (_vm.currentCompany && !_vm.currentCompany.hide_activities_master))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{attrs:{\"label\":_vm.cru_label_default_actividad,\"items\":_vm.activities,\"item-value\":\"code\",\"item-text\":\"name\",\"clearable\":true},model:{value:(_vm.cru_default_actividad),callback:function ($$v) {_vm.cru_default_actividad=$$v},expression:\"cru_default_actividad\"}})],1):(_vm.currentCompany && !_vm.currentCompany.hide_activities_master)?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"string\",\"label\":_vm.cru_label_default_actividad},model:{value:(_vm.cru_default_actividad),callback:function ($$v) {_vm.cru_default_actividad=$$v},expression:\"cru_default_actividad\"}})],1):_vm._e(),(_vm.got_feature('feature_default_project_channel_in_third') && _vm.got_feature('feature_document_projects') && (_vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.show && _vm.currentCompany.companydb_type.params.show.includes('project') && !_vm.currentCompany.hide_projects_master))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{attrs:{\"label\":_vm.cru_label_default_project,\"items\":_vm.projects,\"item-value\":\"id\",\"item-text\":\"name\",\"clearable\":true},model:{value:(_vm.cru_default_project),callback:function ($$v) {_vm.cru_default_project=$$v},expression:\"cru_default_project\"}})],1):_vm._e(),(_vm.got_feature('feature_default_project_channel_in_third') && _vm.got_feature('feature_channel') && (_vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.show && _vm.currentCompany.companydb_type.params.show.includes('channel') && !_vm.currentCompany.hide_channels_master))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{attrs:{\"label\":_vm.cru_label_default_channel,\"items\":_vm.channels,\"item-value\":\"channel_id\",\"item-text\":\"name\",\"clearable\":true},model:{value:(_vm.cru_default_channel),callback:function ($$v) {_vm.cru_default_channel=$$v},expression:\"cru_default_channel\"}})],1):_vm._e(),(_vm.feature_payment_method && _vm.currentCompany && _vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.show && _vm.currentCompany.companydb_type.params.show.includes('payment_method'))?_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-text-field',{staticClass:\"autocomplete-input pa-0\",attrs:{\"outlined\":\"\",\"label\":_vm.cru_label_payment_method,\"autocomplete\":\"off\",\"error\":Boolean(_vm.cru_error_payment_method),\"error-messages\":_vm.cru_error_payment_method},model:{value:(_vm.cru_payment_method),callback:function ($$v) {_vm.cru_payment_method=$$v},expression:\"cru_payment_method\"}})],1):_vm._e(),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-doc-text-field',{attrs:{\"disabled\":!_vm.showSuplidoAccount,\"autocomplete\":\"off\",\"label\":_vm.cru_label_suplido_account,\"kind\":\"account\",\"num_digits\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_suplido_account),callback:function ($$v) {_vm.cru_suplido_account=$$v},expression:\"cru_suplido_account\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[(_vm.got_feature('feature_retention_accounts_customer'))?_c('app-doc-text-field',{attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_retention_customer_account,\"kind\":\"account\",\"num_digits\":_vm.currentCompany.companydb_type.params && _vm.currentCompany.companydb_type.params.hasOwnProperty('accounts_length') ? false : _vm.currentCompany.num_digits},model:{value:(_vm.cru_retention_customer_account),callback:function ($$v) {_vm.cru_retention_customer_account=$$v},expression:\"cru_retention_customer_account\"}}):_vm._e()],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[(_vm.got_feature('feature_ignore_cif_validation'))?_c('app-col',{staticClass:\"checkbox-col\",attrs:{\"contains-input-fields\":\"\",\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"4\"}},[_c('v-checkbox',{attrs:{\"label\":_vm.cru_label_ignore_cif_validation},model:{value:(_vm.cru_ignore_cif_validation),callback:function ($$v) {_vm.cru_ignore_cif_validation=$$v},expression:\"cru_ignore_cif_validation\"}})],1):_vm._e()],1),_c('app-row',[_c('app-col',{attrs:{\"has-input-fields-above\":\"\",\"cols\":\"12\",\"lg\":\"6\"}},[_c('app-creation-object-section-card',{staticClass:\"rounded-lg\",attrs:{\"outlined\":\"\"},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('span',{staticClass:\"mx-4\"},[_vm._v(\"Posición fiscal\")])]},proxy:true}],null,false,3075812012)},[_c('v-container',[_c('v-row',{staticClass:\"ma-0 pa-0\",attrs:{\"align\":\"center\"}},[_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_inversion_sujeto_pasivo_iva,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('inversion_sujeto_pasivo_iva')}},model:{value:(_vm.cru_inversion_sujeto_pasivo_iva),callback:function ($$v) {_vm.cru_inversion_sujeto_pasivo_iva=$$v},expression:\"cru_inversion_sujeto_pasivo_iva\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_intracomunitario,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('intracomunitario')}},model:{value:(_vm.cru_intracomunitario),callback:function ($$v) {_vm.cru_intracomunitario=$$v},expression:\"cru_intracomunitario\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_dry_0_percent,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('dry_0_percent')}},model:{value:(_vm.cru_dry_0_percent),callback:function ($$v) {_vm.cru_dry_0_percent=$$v},expression:\"cru_dry_0_percent\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_inversion_sujeto_pasivo_igic,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('inversion_sujeto_pasivo_igic')}},model:{value:(_vm.cru_inversion_sujeto_pasivo_igic),callback:function ($$v) {_vm.cru_inversion_sujeto_pasivo_igic=$$v},expression:\"cru_inversion_sujeto_pasivo_igic\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.getExtracomunitarioLabel,\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('extracomunitario')}},model:{value:(_vm.cru_extracomunitario),callback:function ($$v) {_vm.cru_extracomunitario=$$v},expression:\"cru_extracomunitario\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"label\":_vm.cru_label_no_sujeta,\"disabled\":!(_vm.feature_no_sujeta || _vm.got_feature('feature_exenta_no_sujeta')),\"readonly\":false,\"hide-details\":true},on:{\"change\":function($event){return _vm.change_boolean('no_sujeta')}},model:{value:(_vm.cru_no_sujeta),callback:function ($$v) {_vm.cru_no_sujeta=$$v},expression:\"cru_no_sujeta\"}})],1),_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"pa-0 ma-0 my-2\",attrs:{\"autocomplete\":\"off\",\"disabled\":!_vm.got_feature('feature_apl_re_0'),\"label\":_vm.cru_label_apl_re_0,\"readonly\":false,\"hide-details\":true},model:{value:(_vm.cru_apl_re_0),callback:function ($$v) {_vm.cru_apl_re_0=$$v},expression:\"cru_apl_re_0\"}})],1)],1),_c('v-row',{staticClass:\"ma-0 pa-0 mt-4\"},[((_vm.cru_intracomunitario && _vm.feature_intra_type) || (_vm.cru_extracomunitario && _vm.feature_extra_type))?_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('app-autocomplete',{staticClass:\"autocomplete-input pa-0\",attrs:{\"outlined\":\"\",\"autocomplete\":\"off\",\"label\":_vm.cru_label_intracomunitario_type,\"items\":[{text: 'Bienes', value: 'bienes'}, {text: 'Servicios', value: 'servicios'}],\"readonly\":false,\"error\":Boolean(_vm.cru_error_intracomunitario_type),\"error-messages\":_vm.cru_error_intracomunitario_type},on:{\"change\":function($event){_vm.areParamsChanged=true}},model:{value:(_vm.cru_intracomunitario_type),callback:function ($$v) {_vm.cru_intracomunitario_type=$$v},expression:\"cru_intracomunitario_type\"}})],1):_vm._e()],1),(_vm.feature_no_sujeta && _vm.feature_no_sujeta_reference && !_vm.cru_no_sujeta)?_c('v-row',{staticClass:\"ma-0 pa-0\"},[_c('v-col',{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":\"12\"}},[_c('DetailReferenceSimple',{attrs:{\"ref_list\":_vm.cru_refs_no_sujeta},on:{\"update\":_vm.updateRefNoSujeta}})],1)],1):_vm._e()],1)],1)],1)],1)],1),(_vm.cru_data)?_c('v-tab-item',{key:\"bank_info\",staticClass:\"ma-0 pa-0\"},[_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":\"IBAN\"},model:{value:(_vm.cru_data['iban']),callback:function ($$v) {_vm.$set(_vm.cru_data, 'iban', $$v)},expression:\"cru_data['iban']\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":\"BIC\"},model:{value:(_vm.cru_data['bic']),callback:function ($$v) {_vm.$set(_vm.cru_data, 'bic', $$v)},expression:\"cru_data['bic']\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"label\":\"ID mandato SEPA\"},model:{value:(_vm.cru_data['mandate_id']),callback:function ($$v) {_vm.$set(_vm.cru_data, 'mandate_id', $$v)},expression:\"cru_data['mandate_id']\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-doc-text-field',{attrs:{\"kind\":\"text\",\"hint\":\"AAAA-MM-DD\",\"label\":\"Fecha firma mandato SEPA\",\"error\":Boolean(_vm.wrong_format_signature_date)},model:{value:(_vm.cru_data['mandate_signature_date']),callback:function ($$v) {_vm.$set(_vm.cru_data, 'mandate_signature_date', $$v)},expression:\"cru_data['mandate_signature_date']\"}})],1)],1)],1):_vm._e()],1)]},proxy:true}:null],null,true)}),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"800\"},model:{value:(_vm.showAdditionalInfo),callback:function ($$v) {_vm.showAdditionalInfo=$$v},expression:\"showAdditionalInfo\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_c('span',{staticClass:\"text-h5 primary--text py-1 ml-2\"},[_vm._v(\"Datos ampliados\")])]),_c('v-divider'),_c('v-card-text',[(_vm.cru_type=='fisica')?[_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\"}},[_c('app-text-field',{attrs:{\"label\":\"Nombre\",\"type\":\"text\"},model:{value:(_vm.cru_first_name),callback:function ($$v) {_vm.cru_first_name=$$v},expression:\"cru_first_name\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\"}},[_c('app-text-field',{attrs:{\"label\":\"Primer Apellido\",\"type\":\"text\"},model:{value:(_vm.cru_first_surname),callback:function ($$v) {_vm.cru_first_surname=$$v},expression:\"cru_first_surname\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"12\"}},[_c('app-text-field',{attrs:{\"label\":\"Segundo Apellido\",\"type\":\"text\"},model:{value:(_vm.cru_second_surname),callback:function ($$v) {_vm.cru_second_surname=$$v},expression:\"cru_second_surname\"}})],1)],1)]:_vm._e(),(_vm.cru_type=='juridica')?[_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_alias,\"type\":\"text\"},model:{value:(_vm.cru_alias),callback:function ($$v) {_vm.cru_alias=$$v},expression:\"cru_alias\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_dire,\"type\":\"text\"},model:{value:(_vm.cru_dire),callback:function ($$v) {_vm.cru_dire=$$v},expression:\"cru_dire\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_accounting_office,\"type\":\"text\"},model:{value:(_vm.cru_accounting_office),callback:function ($$v) {_vm.cru_accounting_office=$$v},expression:\"cru_accounting_office\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_management_body,\"type\":\"text\"},model:{value:(_vm.cru_management_body),callback:function ($$v) {_vm.cru_management_body=$$v},expression:\"cru_management_body\"}})],1)],1),_c('app-row',{attrs:{\"contains-input-fields\":\"\"}},[_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_processing_unit,\"type\":\"text\"},model:{value:(_vm.cru_processing_unit),callback:function ($$v) {_vm.cru_processing_unit=$$v},expression:\"cru_processing_unit\"}})],1),_c('app-col',{attrs:{\"contains-input-fields\":\"\",\"cols\":\"6\"}},[_c('app-text-field',{attrs:{\"label\":_vm.cru_label_proposing_body,\"type\":\"text\"},model:{value:(_vm.cru_proposing_body),callback:function ($$v) {_vm.cru_proposing_body=$$v},expression:\"cru_proposing_body\"}})],1)],1)]:_vm._e()],2),_c('v-card-actions',{staticClass:\"pr-8\"},[_c('v-spacer'),_c('app-btn',{attrs:{\"outlined\":\"\"},on:{\"click\":function($event){_vm.showAdditionalInfo=false}}},[_vm._v(\"Cancelar\")]),_c('app-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.updateWithAdditionalInfo}},[_vm._v(\"\\n Guardar\\n \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateCustomer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateCustomer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CreateCustomer.vue?vue&type=template&id=4eaa1536&scoped=true&\"\nimport script from \"./CreateCustomer.vue?vue&type=script&lang=js&\"\nexport * from \"./CreateCustomer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CreateCustomer.vue?vue&type=style&index=0&id=4eaa1536&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 \"4eaa1536\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCheckbox,VCol,VContainer,VDialog,VDivider,VExpandTransition,VIcon,VRow,VSpacer,VTab,VTabItem,VTabs,VTabsItems,VTooltip})\n","module.exports = __webpack_public_path__ + \"img/bank-effect-switch.6695f5b0.svg\";","module.exports = __webpack_public_path__ + \"img/bank-upload-file.e48f422a.svg\";","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./MetadataField.vue?vue&type=style&index=0&id=5c0b3de6&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:(_vm.stylev2) ? 'container-field-stylev2' : ''},[(_vm.kind.startsWith('detail'))?[_c('doc-text-field',{attrs:{\"initial_error\":false,\"error\":_vm.calculedErrorDetail || _vm.metadata_error,\"kind\":_vm.kind,\"readonly\":_vm.readonly,\"label\":_vm.fieldText,\"required\":_vm.required,\"value\":_vm.detail_value(_vm.that['metadata_detail_'+_vm.fieldCheck[0]],_vm.fieldKey),\"disabled\":true},on:{\"focus\":function($event){return _vm.selectLabel({ label: _vm.fieldKey })},\"input\":_vm.emitInput}})]:[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.show_calc_btn())?_c('v-col',{staticClass:\"table-button\",attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"color\":\"primary\",\"disabled\":false,\"icon\":\"\"},on:{\"click\":function($event){return _vm.calc_vat_field()}}},[_vm._m(0)],1)],1):_vm._e(),(_vm.show_calc_total_btn)?_c('v-col',{staticClass:\"table-button\",class:(_vm.stylev2) ? 'btn-invoice-calc-total' : '',attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.calc_total_btn()}}},[_vm._m(1)],1)],1):_vm._e(),(_vm.show_calc_retention_btn)?_c('v-col',{staticClass:\"table-button\",class:(_vm.stylev2) ? 'btn-invoice-calc-ret' : '',attrs:{\"cols\":\"2\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.calc_retention_btn()}}},[_vm._m(2)],1)],1):_vm._e(),_c('v-col',[_c('doc-text-field',{attrs:{\"initial_error\":_vm.initial_error,\"error\":_vm.calculedError || _vm.metadata_error,\"kind\":_vm.kind,\"readonly\":_vm.readonly,\"label\":_vm.fieldText,\"required\":_vm.required,\"disabled\":_vm.is_einvoice || _vm.permission.is_readonly|| (_vm.currentDocument.forced_move && !_vm.editableForcedMove) || (_vm.currentDocument && (['pending','running'].includes(_vm.currentDocument.async_job_state) || ['pending_connect','accounting_aplifisa_fiscal', 'accounting_invoice'].includes(_vm.currentDocument.state))),\"num_digits\":_vm.num_digits,\"items\":_vm.items,\"stylev2\":_vm.stylev2},on:{\"input\":function($event){return _vm.setAccount()},\"focus\":function($event){return _vm.selectLabel({ label: _vm.fieldKey })},\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(_vm.that['metadata_'+_vm.fieldKey]),callback:function ($$v) {_vm.$set(_vm.that, 'metadata_'+_vm.fieldKey, $$v)},expression:\"that['metadata_'+fieldKey]\"}})],1)],1)],(_vm.initial_error && _vm.fieldKey == 'other_amounts')?_c('div',{staticClass:\"error--text\"},[_vm._v(\"No tiene cuenta de suplidos asociada\")]):_vm._e(),(_vm.balance && ['total_amount'].includes(_vm.fieldKey))?_c('div',{staticClass:\"error--text\"},[_vm._v(\"Descuadre: \"+_vm._s(_vm.balance)+\" \"),(_vm.show_calc_total_ex0)?_c('v-btn',{staticClass:\"btn-invoice-stylev2\",attrs:{\"outlined\":\"\"},on:{\"click\":_vm.calc_mismatch_to_ex0}},[_vm._v(\"Descuadre a 0% EX\")]):_vm._e()],1):_vm._e(),(_vm.balance && !this.got_feature('feature_tolerancy_not_applies_total_amount') && ['total_amount'].includes(_vm.fieldKey))?_c('div',{staticClass:\"error--text\"},[_vm._v(\"(Tolerancia configurable en el conector)\")]):_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-calculator-variant\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-calculator-variant\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',[_vm._v(\"mdi-calculator-variant\")])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MetadataField.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MetadataField.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MetadataField.vue?vue&type=template&id=5c0b3de6&scoped=true&\"\nimport script from \"./MetadataField.vue?vue&type=script&lang=js&\"\nexport * from \"./MetadataField.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MetadataField.vue?vue&type=style&index=0&id=5c0b3de6&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 \"5c0b3de6\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"value\":_vm.value,\"max-width\":_vm.maxWidth,\"persistent\":_vm.persistent},on:{\"input\":function (e) { return _vm.$emit('input', e); }}},[_c('v-card',[_c('div',{class:{ 'static-header': _vm.isHeaderFixed },style:(_vm.headerFixStyle)},[(_vm.buttonsOnTop)?_c('v-card-title',{staticClass:\"primary--text text--darken-2 py-1 px-5 py-5 d-flex fixed-title-height \"},[_c('v-row',{staticClass:\"align-center\"},[_c('v-col',{staticClass:\"flex-grow-1\"},[_c('h1',{staticClass:\"app-page-card__header ml-4 overflow-hidden\"},[_vm._t(\"title\")],2)]),(_vm.$slots['header-actions'])?_c('div',{staticClass:\"d-flex flex-shrink-1 pa-0\"},[_c('v-spacer'),_vm._t(\"header-actions\")],2):_c('div',{staticClass:\"d-flex flex-shrink-1 pa-0\"},[_c('v-spacer'),_c('v-toolbar',{attrs:{\"flat\":\"\",\"dense\":\"\"}},[(_vm.cancelBtnText)?_c('app-btn',{staticClass:\"mr-5 btn-cancel\",attrs:{\"block\":_vm.$vuetify.breakpoint.xs,\"outlined\":\"\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\"\\n \"+_vm._s(_vm.cancelBtnText)+\"\\n \")]):_vm._e(),(_vm.confirmBtnText)?_c('app-btn',{staticClass:\"btn-confirm\",attrs:{\"disabled\":_vm.isConfirmButtonDisabled,\"block\":_vm.$vuetify.breakpoint.xs,\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.$emit('confirm')}}},[_vm._v(\"\\n \"+_vm._s(_vm.confirmBtnText)+\"\\n \")]):_vm._e()],1)],1)],1)],1):_c('v-card-title',{staticClass:\"px-10 py-5 d-flex justify-center\"},[_c('p',{staticClass:\"primary--text app-modal-prompt__title-text ma-0\"},[_vm._t(\"title\")],2)]),_c('v-divider')],1),_vm._t(\"modal-tabs-title\"),_c('div',{staticClass:\"pa-8\"},[_c('v-card-text',{staticClass:\"ma-0 pa-0\"},[_c('div',{staticClass:\"ma-0 pa-0\"},[_vm._t(\"default\")],2)]),(!_vm.buttonsOnTop)?_c('v-card-actions',{staticClass:\"mt-8 mb-0 mx-0 pa-0 justify-space-between\"},[_c('v-container',{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[(_vm.$slots['header-actions'])?_c('div',[_vm._t(\"header-actions\")],2):_c('v-row',{staticClass:\"ma-0 pa-0\",class:_vm.showCancelBtn && _vm.showConfirmBtn ? 'justify-space-between' : 'justify-center'},[(_vm.showCancelBtn)?_c('v-col',{staticClass:\"d-flex ma-0 pa-0\",class:_vm.showCancelBtn && _vm.showConfirmBtn ? 'justify-start' : 'justify-center',attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('app-btn',{attrs:{\"large\":\"\",\"block\":_vm.$vuetify.breakpoint.xs,\"outlined\":\"\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\"\\n \"+_vm._s(_vm.cancelBtnText)+\"\\n \")])],1):_vm._e(),(_vm.showConfirmBtn)?_c('v-col',{staticClass:\"d-flex ma-0 pa-0\",class:_vm.showCancelBtn && _vm.showConfirmBtn ? 'justify-end' : 'justify-center',attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('app-btn',{attrs:{\"large\":\"\",\"disabled\":_vm.isConfirmButtonDisabled,\"block\":_vm.$vuetify.breakpoint.xs,\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.$emit('confirm')}}},[_vm._v(\"\\n \"+_vm._s(_vm.confirmBtnText)+\"\\n \")])],1):_vm._e()],1)],1)],1):_vm._e()],1)],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModalPrompt.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppModalPrompt.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppModalPrompt.vue?vue&type=template&id=2aab612c&\"\nimport script from \"./AppModalPrompt.vue?vue&type=script&lang=js&\"\nexport * from \"./AppModalPrompt.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppModalPrompt.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VCard,VCardActions,VCardText,VCardTitle,VCol,VContainer,VDialog,VDivider,VRow,VSpacer,VToolbar})\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./InvoiceLines.vue?vue&type=style&index=0&id=6c4a8b52&scoped=true&lang=css&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./AppModalPrompt.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{staticClass:\"pa-0 ma-0\"},[(_vm.enable_account_types && this.currentCompany['companydb_type'].value!='diezsoftware_nube_au')?_c('v-col',{staticClass:\"pa-0 ma-0\",attrs:{\"cols\":\"6\"}},[_c('v-select',{staticClass:\"mr-4 pt-0 mt-0\",attrs:{\"label\":\"Tipo de cuenta\",\"items\":_vm.account_types,\"hide-details\":true},on:{\"change\":_vm.fillAccountByType},model:{value:(_vm.account_type),callback:function ($$v) {_vm.account_type=$$v},expression:\"account_type\"}})],1):_vm._e(),_c('v-col',{staticClass:\"pa-0 ma-0\",attrs:{\"cols\":(_vm.enable_account_types && this.currentCompany['companydb_type'].value!='diezsoftware_nube_au')?'6':'12'}},[(_vm.kind=='boolean')?_c('div',[(!(_vm.myValue===undefined))?_c('v-checkbox',{staticStyle:{\"margin-top\":\"0px\"},attrs:{\"input-value\":_vm.myValue,\"value\":_vm.myValue,\"true-value\":false,\"false-value\":true,\"disabled\":_vm.disabled,\"hide-details\":\"\",\"dense\":\"\"},on:{\"change\":_vm.myInput}}):_c('v-checkbox',{staticStyle:{\"margin-top\":\"0px\"},attrs:{\"input-value\":false,\"value\":_vm.myValue,\"true-value\":false,\"false-value\":true,\"disabled\":_vm.disabled,\"hide-details\":\"\",\"dense\":\"\"},on:{\"change\":_vm.myInput}})],1):(_vm.kind=='account_am')?_c('v-combobox',{ref:\"combobox_account_am\",class:_vm.computedClass,attrs:{\"background-color\":(_vm.bck_error || _vm.computedError || _vm.error)?_vm.errorColor:'rgba(0,0,0,0)',\"value\":_vm.myValue,\"readonly\":Boolean(_vm.readonly),\"required\":_vm.required,\"autocomplete\":\"off\",\"label\":_vm.label,\"dense\":_vm.dense,\"solo\":_vm.solo,\"hide-details\":_vm.myHideDetails,\"disabled\":_vm.disabled,\"rules\":_vm.myRules,\"items\":_vm.items,\"item-text\":\"account\",\"item-value\":\"account\",\"append-icon\":\"\",\"filter\":_vm.filterBy,\"loading\":\"!show_balance\"},on:{\"change\":_vm.myChange,\"input\":_vm.myInput,\"mouseup\":_vm.setFocused,\"click\":_vm.myClick,\"blur\":_vm.myBlur},nativeOn:{\"input\":function($event){return _vm.myNativeInput.apply(null, arguments)}},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.account)+\" - \"+_vm._s(data.item.description)+\" \"),(_vm.show_balance)?[_vm._v(\" - (\"+_vm._s(data.item.balance)+\" €)\")]:_vm._e()]}}])}):(_vm.kind=='invoice_line_kind')?_c('v-text-field',{class:_vm.computedClass,attrs:{\"background-color\":(_vm.bck_error || _vm.computedError || _vm.error)?_vm.errorColor:'rgba(0,0,0,0)',\"value\":_vm.myValue,\"readonly\":Boolean(_vm.readonly),\"required\":_vm.required,\"autocomplete\":\"off\",\"label\":_vm.label,\"dense\":_vm.dense,\"hide-details\":_vm.myHideDetails,\"disabled\":_vm.disabled,\"rules\":_vm.myRules},on:{\"change\":_vm.changeInvoiceLineValue,\"input\":_vm.myInput,\"focus\":_vm.setFocused}}):_c('v-text-field',{class:_vm.computedClass,attrs:{\"background-color\":(_vm.bck_error || _vm.computedError || _vm.error)?_vm.errorColor:'rgba(0,0,0,0)',\"value\":_vm.myValue,\"readonly\":Boolean(_vm.readonly),\"required\":_vm.required,\"autocomplete\":\"off\",\"label\":(!_vm.stylev2) ? _vm.label : undefined,\"dense\":_vm.dense || _vm.stylev2,\"hide-details\":_vm.myHideDetails,\"disabled\":_vm.disabled,\"rules\":_vm.myRules,\"outlined\":_vm.stylev2,\"rounded\":_vm.rounded,\"type\":_vm.type},on:{\"change\":_vm.myChange,\"input\":_vm.myInput,\"focus\":_vm.setFocused},scopedSlots:_vm._u([(_vm.stylev2)?{key:\"prepend\",fn:function(){return [_c('label',[_vm._v(_vm._s(_vm.label))])]},proxy:true}:null],null,true)})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocTextField.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocTextField.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DocTextField.vue?vue&type=template&id=6c36c5a6&scoped=true&\"\nimport script from \"./DocTextField.vue?vue&type=script&lang=js&\"\nexport * from \"./DocTextField.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DocTextField.vue?vue&type=style&index=0&id=6c36c5a6&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 \"6c36c5a6\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VCombobox } from 'vuetify/lib/components/VCombobox';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCheckbox,VCol,VCombobox,VRow,VSelect,VTextField})\n","module.exports = __webpack_public_path__ + \"img/bank-download-transactions-disabled.5eada48c.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"1\"}},[(_vm.error && !_vm.show)?_c('div',{staticStyle:{\"margin-top\":\"25%\",\"margin-left\":\"25%\"}},[_vm._m(0)],1):_vm._e()]),_c('v-col',{attrs:{\"cols\":\"11\"}},[((!_vm.mutableList || _vm.mutableList.length == 0) && !_vm.show)?_c('div',{staticClass:\"d-flex align-center\",staticStyle:{\"margin-top\":\"10px\"}},[_c('p',{staticClass:\"ma-0\"},[_vm._v(\"\\n Añadir cuenta extra con referencia \\n \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.add_account();_vm.show=!_vm.show}}},[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)],1):(!_vm.show)?_c('div',{staticClass:\"d-flex align-center\",staticStyle:{\"margin-top\":\"5px\"}},[_c('p',{staticClass:\"ma-0\"},[_vm._v(\"\\n \"+_vm._s(_vm.mutableList.length)+\" cuentas extra con referencia\\n \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.show=true}}},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1)],1):_c('div',{staticClass:\"d-flex align-center\",staticStyle:{\"margin-top\":\"5px\"}},[_c('p',{staticClass:\"ma-0\"},[_vm._v(\"\\n \"+_vm._s(_vm.mutableList.length)+\" cuentas extra con referencia\\n \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){_vm.show=false;_vm.clear_ref_accounts()}}},[_c('v-icon',[_vm._v(\"mdi-chevron-up-circle-outline\")])],1)],1)])],1),(_vm.show)?_c('v-simple-table',{staticClass:\"rounded-lg detail-reference-accounts__table elevation-1 mb-5\",attrs:{\"dense\":\"\"}},[_c('thead',[_c('tr',[_c('th',{staticClass:\"pa-2\",attrs:{\"colspan\":\"3\"}},[_c('v-btn',{staticClass:\"text-none\",attrs:{\"small\":\"\",\"text\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.add_account()}}},[_c('v-icon',{attrs:{\"small\":\"\",\"color\":\"primary\"}},[_vm._v(\"\\n mdi-plus\\n \")]),_vm._v(\"\\n Añadir cuenta\\n \")],1)],1)]),_c('tr',[_c('th',{staticClass:\"py-2 rounded-lg detail-reference-accounts__table__header primary--text\"},[_vm._v(\"Cuenta\")]),_c('th',{staticClass:\"py-2 rounded-lg detail-reference-accounts__table__header primary--text\"},[_vm._v(\"Referencia\")]),_c('th',{staticClass:\"py-2 rounded-lg detail-reference-accounts__table__header primary--text\"})])]),_c('tbody',_vm._l((_vm.mutableList),function(acc,i){return _c('tr',{key:i},[_c('td',{staticClass:\"pb-2 detail-reference-accounts__table__cell detail-reference-accounts__table__cell--has-borders\",class:i === _vm.mutableList.length - 1 ? 'rounded-bl-lg' : ''},[_c('doc-text-field',{attrs:{\"kind\":_vm.kind,\"max_length_account\":_vm.max_length_account,\"num_digits\":_vm.num_digits,\"items\":_vm.items},on:{\"input\":_vm.update,\"get-values\":_vm.getValues,\"reset-items\":_vm.resetItems},model:{value:(acc['account']),callback:function ($$v) {_vm.$set(acc, 'account', $$v)},expression:\"acc['account']\"}})],1),_c('td',{staticClass:\"pb-2 detail-reference-accounts__table__cell detail-reference-accounts__table__cell--has-borders\"},[_c('doc-text-field',{on:{\"input\":_vm.update},model:{value:(acc['reference']),callback:function ($$v) {_vm.$set(acc, 'reference', $$v)},expression:\"acc['reference']\"}})],1),_c('td',{staticClass:\"pb-2 detail-reference-accounts__table__cell\",class:i === _vm.mutableList.length - 1 ? 'rounded-br-lg' : ''},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"mt-2\",attrs:{\"small\":\"\",\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.remove_account(i)}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"\\n mdi-delete-outline\\n \")])],1)]}}],null,true)},[_vm._v(\"\\n Eliminar cuenta\\n \")])],1)])}),0)]):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-icon',{attrs:{\"color\":\"#ff3333\"}},[_vm._v(\"mdi-alert\")])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetailReferenceAccounts.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetailReferenceAccounts.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DetailReferenceAccounts.vue?vue&type=template&id=5b60e5f3&scoped=true&\"\nimport script from \"./DetailReferenceAccounts.vue?vue&type=script&lang=js&\"\nexport * from \"./DetailReferenceAccounts.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DetailReferenceAccounts.vue?vue&type=style&index=0&id=5b60e5f3&scoped=true&lang=css&\"\nimport style1 from \"./DetailReferenceAccounts.vue?vue&type=style&index=1&id=5b60e5f3&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 \"5b60e5f3\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow,VSimpleTable,VTooltip})\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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/lib/loader.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!./FixCIFPopup.vue?vue&type=style&index=0&id=b7563bea&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/einvoice-draft-filter.545828b8.svg\";","module.exports = __webpack_public_path__ + \"img/send_invoice_disabled.1fc89b98.svg\";","export class Sequence {\n id?: number;\n code: string = '';\n current: number = 0;\n prefix:string = '';\n suffix: string = '';\n fill: number = 5;\n rectificative_code: string = '';\n rectificative_current: number = 0;\n rectificative_prefix: string = '';\n rectificative_suffix: string = '';\n rectificative_fill: number = 5;\n is_for_recurring_contracts: boolean = false;\n company_id?: number;\n next_number?: string;\n next_rectificative_number?: string;\n min_number?: number;\n min_inv_date?: string;\n min_rectificative_number?: number;\n min_rectificative_inv_date?: string;\n\n constructor(\n id?: number,\n code: string = '',\n current: number = 0,\n prefix: string = '',\n suffix: string = '',\n fill: number = 5,\n rectificative_code: string = '',\n rectificative_current: number = 0,\n rectificative_prefix: string = '',\n rectificative_suffix: string = '',\n rectificative_fill: number = 5,\n is_for_recurring_contracts: boolean = false,\n company_id?: number,\n next_number?: string,\n next_rectificative_number?: string,\n min_number?: number,\n min_inv_date?: string,\n min_rectificative_number?: number,\n min_rectificative_inv_date?: string,\n\n ) {\n this.id = id;\n this.code = code;\n this.current = current;\n this.prefix = prefix;\n this.suffix = suffix;\n this.fill = fill;\n this.rectificative_code = rectificative_code;\n this.rectificative_current = rectificative_current;\n this.rectificative_prefix = rectificative_prefix;\n this.rectificative_suffix = rectificative_suffix;\n this.rectificative_fill = rectificative_fill;\n this.is_for_recurring_contracts = is_for_recurring_contracts;\n this.company_id = company_id;\n this.next_number = next_number;\n this.next_rectificative_number = next_rectificative_number;\n this.min_number = min_number;\n this.min_inv_date = min_inv_date;\n this.min_rectificative_number = min_rectificative_number;\n this.min_rectificative_inv_date = min_rectificative_inv_date;\n }\n}"],"sourceRoot":""}