{"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","Proforma","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","SET_FILTER_ACCOUNTING_FROM","SET_FILTER_ACCOUNTING_TO","CLEAN_FILTER","RESET_FILTERS","listFilters","concept","contrapartida","not_contrapartida","amount_from","amount_to","accounting_from","accounting_to","setFilterAmount","setFilterState","setFilterConcept","setFilterAsiento","setFilterDateFrom","setFilterDateTo","setFilterAmountFrom","setFilterAmountTo","setFilterAccountingFrom","setFilterAccountingTo","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,EACI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pC,cAAcC,GACV,IAAI3iB,EAAQ8f,EAAY6C,GACpB/hB,EAAY,GACZ+hB,EAASC,oBACThiB,EAAY+hB,EAASC,kBAAkB1G,IAAI2G,GAAY,IAAI,OAAYA,EAASxhB,OAAQwhB,EAAStC,OAAQsC,EAASthB,QAEtH,IAAIyD,EAAW,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,aAAlBnB,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,MAGF,GAAsB,+BAAlBnB,EAASruB,KACf,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,EAAS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EVxoB,EAAA,KAAOmY,MAAM,EAAOqM,cAAclgC,GAAK,CACrC6hC,eACAx/B,QACAkzB,YACA2M,aACAC,aACAvb,UACAwb,OACA3d,OACA4d,WACA8B,WACA7B,cACAC,YACA7M,UACAO,UACAuM,+BACAC,8BACAC,uCACAC,sCACAC,mBACAC,2BACAC,wBACAC,mBACAC,YACAC,iBACAC,sBACAjiB,cACAkiB,wBACAtW,wBACAC,wBACAsW,oBACAC,cACAC,oBACAC,yBACAC,0BACAC,uBACAC,wBACAC,WACAzrB,UACA0rB,gBACAC,eACA9W,YACA+W,QACAC,aACAC,oBACAC,sBACAC,QACAE,uBACC/tC,KAAKi9B,IACN,IAAI13B,EAAS,EACTD,EAAQ,IACZimC,EAAiB5hC,EAAGpE,EAAOD,GAAOtF,KAAKwrC,IACrCvO,EAAKrhC,KAAK4vC,aAAeA,EACzBptC,EAAQ6+B,KACPC,MAAMz9B,IACPpB,EAAOoB,OAERy9B,MAAMz9B,IACPpB,EAAOoB,OAIbqqC,aAAc,EAAGngC,KAAIqkC,iBAAgBC,yBAC5B5oB,EAAA,KAAO2X,KACZ,EAAO8M,eACP,CAAEngC,KAAIqkC,iBAAgBC,wBAG1BlE,aAAc,EACZpgC,KACAukC,cACA1C,eACAQ,WACAH,aACAC,aACAqC,eACAC,iBACAhgB,OACAigB,cACAC,QACApC,YACA7M,UACAO,UACAmO,qBACA5B,+BACAC,8BACAC,uCACAC,sCACAC,mBACAC,2BACAC,wBACAC,mBACAC,YACAC,iBACAC,sBACAjiB,cACAkiB,wBACAtW,wBACAC,wBACAsW,oBACAC,cACAC,oBACAC,yBACAC,0BACAC,uBACAC,wBACAC,WACAzrB,UACA0sB,gBACAhB,gBACAC,eACA9W,YACA+W,QACAC,aACAC,oBACAC,sBACA5U,mBACAwV,2BACAC,wBACAC,sBACAC,oCACAC,mBACAC,2BACAC,qBACAzX,mBACAE,kBACAsW,SACAC,YACAiB,4BAEe/tC,GAAZ6qC,IACDA,EAAW,WACE7qC,G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,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,qBACAC,sBACApyB,2BACAiuC,aACAsiB,iBACAE,aACAD,iBACAG,2BACAC,2BACAC,2BACAC,2BACAptC,yBACAC,yBACAC,0BACA8sC,qBACAK,8BACA7E,8BACAkF,0BACAC,yBACAJ,qBACAW,uBACAC,iCACAC,wBACAtyD,kBACAhM,yBACA29B,8BACA3H,+BACA6I,wBACA+F,yBACAC,yBACAC,yBACA65B,oBACAl1B,0BACAC,0BACAF,0BACA1K,wBACAlqB,gBACAgqD,qBAKI,GAAY,CAChB,CAAC5X,IAAY54E,GAAO,GAAErC,IACpBqC,EAAMrC,GAAKA,GAEb,CAACk7E,IAAe74E,GAASA,MAAOywF,IAC1BzwF,EAAMvN,WACRuN,E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,WACNynB,UAAW,IAAM,iDAElB,CACCre,KAAM,kBACNpJ,KAAM,iBACNynB,UAAW,IAAM,sFAElB,CACCre,KAAM,mCACNpJ,KAAM,qBACNynB,UAAW,IAAM,sFAElB,CACCre,KAAM,iBACNpJ,KAAM,gBACNynB,UAAW,IAAM,sFAElB,CACCre,KAAM,oBACNpJ,KAAM,mBACNynB,UAAW,IAAM,iDAElB,CACCre,KAAM,cACNpJ,KAAM,aACNynB,UAAW,IAAM,4GAElB,CACCre,KAAM,oBACNpJ,KAAM,mBACNynB,UAAW,IAAM,uJACjB5D,OAAO,GAER,CACCza,KAAM,iBACNpJ,KAAM,mBACNynB,UAAW,IAAM,uJACjB5D,OAAO,GAER,CACCza,KAAM,sBACNpJ,KAAM,qBACNynB,UAAW,IAAM,sFAElB,CACCre,KAAM,WACNpJ,KAAM,UACNynB,UAAW,IAAM,4GAElB,CACCre,KAAM,aACNpJ,KAAM,YACNynB,UAAW,IAAM,sFAElB,CACCre,KAAM,kBACNpJ,KAAM,iBACNynB,UAAW,IAAM,sFAElB,CACCre,KAAM,oBACNpJ,KAAM,mBACNynB,UAAW,IAAM,sFASlB,CACCre,KAAM,QACNpJ,KAAM,OACNynB,UAAW,IAAM,qFACjBs7F,YAAaJ,IAEd,CACCv5G,KAAM,YACNpJ,KAAM,WACNynB,UAAW,IAAM,sFAGlB,CACCre,KAAM,+BACNpJ,KAAM,gBACNynB,UAAW,IAAM,gDACjB5D,OAAO,GAER,CACCza,KAAM,8BACNpJ,KAAM,eACNynB,UAAW,IAAM,iIACjB5D,OAAO,GAER,CACCza,KAAM,6BACNpJ,KAAM,cACNynB,UAAW,IAAM,iIACjB5D,OAAO,GAER,CACCza,KAAM,oCACNpJ,KAAM,qBACNynB,UAAW,IAAM,iIACjB5D,OAAO,GAER,CACCza,KAAM,+BACNpJ,KAAM,gBACNynB,UAAW,IAAM,iIACjB5D,OAAO,GAER,CACCza,KAAM,6CACNpJ,KAAM,iBACNynB,UAAW,IAAM,uJACj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AAO,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,qBAC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ClCvqB,KAAKgL,WAAaA,EAClBhL,KAAK+D,YAAcA,EACnB/D,KAAKgE,0BAA4BA,EACjChE,KAAKkjI,WAAaA,EAClBljI,KAAKmjI,aAAeA,EACpBnjI,KAAKojI,yBAA2BA,EAChCpjI,KAAKqjI,2BAA6BA","file":"js/app.0eebc3d0.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-0bbcfc1e\":\"4a999b99\",\"chunk-10be01fb\":\"1bef02ba\",\"chunk-1bc3b28a\":\"06bb67ef\",\"chunk-2d0ab66e\":\"4e025e99\",\"chunk-2d20ef0d\":\"0afdb13c\",\"chunk-3152e277\":\"8d33debe\",\"chunk-3f650f0f\":\"0e9a0892\",\"chunk-41ea8144\":\"2f3c11d0\",\"chunk-4402aafb\":\"e15c8f79\",\"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\":\"c6ca054e\",\"chunk-3ae14688\":\"14e4dfed\",\"chunk-59a3d670\":\"eadd42fb\",\"chunk-bf28fa5c\":\"235a4f3a\",\"chunk-635da6fe\":\"37eab7c0\",\"chunk-2d0d0015\":\"4181e70d\",\"chunk-61200040\":\"633fe8e9\",\"chunk-bf195254\":\"fec8e538\",\"chunk-69f4bb03\":\"8f5ef9d7\",\"chunk-2d0cc9a8\":\"f3c97da6\",\"chunk-2d0d3730\":\"2e00dcad\",\"chunk-2d0d800b\":\"de11e16c\",\"chunk-2d0f04bd\":\"e95ce345\",\"chunk-8a80acba\":\"0bedbf38\",\"chunk-2f9a6be8\":\"03c5f2a0\",\"chunk-67f1e220\":\"4eb49aad\",\"chunk-7c5f7efe\":\"088e78ae\",\"chunk-7a201df4\":\"1156ca8e\",\"chunk-7cc8240d\":\"f5dc79a5\",\"chunk-088e96ec\":\"f45f52c1\",\"chunk-116a6924\":\"fc06ce80\",\"chunk-166107c0\":\"073034aa\",\"chunk-370191c6\":\"4b644c5e\",\"chunk-4800dad1\":\"610c22c8\",\"chunk-7f57abf4\":\"bdebcf5d\",\"chunk-efa1315a\":\"26fa5bd7\",\"chunk-c097abe0\":\"6c08da00\",\"chunk-4eaa1d00\":\"62c44871\",\"chunk-2d0c7932\":\"53bac78a\",\"chunk-2d213778\":\"490a1d0c\",\"chunk-2d213aca\":\"0483e8b5\",\"chunk-2d21ab9a\":\"02188a18\",\"chunk-4ffaf18b\":\"b8072fa5\",\"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\":\"8f4187f1\",\"chunk-4feb24e6\":\"1558f45d\",\"chunk-50101ea4\":\"779dc640\",\"chunk-52952ff8\":\"b39f5c1e\",\"chunk-5c53ccc8\":\"2dcfdb8d\",\"chunk-3688ab3e\":\"4d973293\",\"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-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-0bbcfc1e\":1,\"chunk-10be01fb\":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-bf195254\":1,\"chunk-69f4bb03\":1,\"chunk-8a80acba\":1,\"chunk-2f9a6be8\":1,\"chunk-67f1e220\":1,\"chunk-7c5f7efe\":1,\"chunk-7a201df4\":1,\"chunk-7cc8240d\":1,\"chunk-088e96ec\":1,\"chunk-116a6924\":1,\"chunk-166107c0\":1,\"chunk-370191c6\":1,\"chunk-4800dad1\":1,\"chunk-7f57abf4\":1,\"chunk-efa1315a\":1,\"chunk-c097abe0\":1,\"chunk-4eaa1d00\":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-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-0bbcfc1e\":\"a94aef73\",\"chunk-10be01fb\":\"f4339b14\",\"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-bf195254\":\"3f0b531f\",\"chunk-69f4bb03\":\"159c37e6\",\"chunk-2d0cc9a8\":\"31d6cfe0\",\"chunk-2d0d3730\":\"31d6cfe0\",\"chunk-2d0d800b\":\"31d6cfe0\",\"chunk-2d0f04bd\":\"31d6cfe0\",\"chunk-8a80acba\":\"ff5c175c\",\"chunk-2f9a6be8\":\"324bae17\",\"chunk-67f1e220\":\"26b12ead\",\"chunk-7c5f7efe\":\"0485711b\",\"chunk-7a201df4\":\"07d280b3\",\"chunk-7cc8240d\":\"5925f42e\",\"chunk-088e96ec\":\"fb0083c7\",\"chunk-116a6924\":\"ca26e9e5\",\"chunk-166107c0\":\"ada78b86\",\"chunk-370191c6\":\"3ad4a0f5\",\"chunk-4800dad1\":\"0fff2959\",\"chunk-7f57abf4\":\"028cc089\",\"chunk-efa1315a\":\"da5f52fb\",\"chunk-c097abe0\":\"1bc3b04c\",\"chunk-4eaa1d00\":\"a220227d\",\"chunk-2d0c7932\":\"31d6cfe0\",\"chunk-2d213778\":\"31d6cfe0\",\"chunk-2d213aca\":\"31d6cfe0\",\"chunk-2d21ab9a\":\"31d6cfe0\",\"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-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, Proforma, 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 === 'proforma') {\n return new Proforma(\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 }\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 } else if (inv.type == 'proforma') {\n command = 'save.proforma'\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 === 'proforma') {\n si = new Proforma(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 // les línies amb \"is_...\" s'escriuran en el pdf ocupant tota l'amplada. \n let res = []\n for (let line of this.lines){\n //CAPÇALERA ALBARAN\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 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 if (!headerExists) {\n res.push(line0); //afegim el header si no estava ja afegit\n }\n }\n res.push(line)\n //INFORMACIÓ ADICIONAL\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}\nexport class Proforma extends Invoiceable {\n type: string = 'proforma';\n name: string = 'proforma';\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 SET_FILTER_ACCOUNTING_FROM = \"SET_FILTER_ACCOUNTING_FROM\"\nexport const SET_FILTER_ACCOUNTING_TO = \"SET_FILTER_ACCOUNTING_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 accounting_from: {\n 'name': 'accounting_from',\n 'label': 'Asiento desde',\n 'value': '',\n 'type': 'text',\n 'icon': 'mdi-file-document',\n },\n accounting_to: {\n 'name': 'accounting_to',\n 'label': 'Asiento hasta',\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\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 commit(SET_FILTER_ACCOUNTING_FROM, {value, text});\n commit(SET_FILTER_ACCOUNTING_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 if(key=='accounting_from')\n commit(SET_FILTER_ACCOUNTING_FROM, {value,text}); \n if(key=='accounting_to')\n commit(SET_FILTER_ACCOUNTING_TO, {value,text}); \n \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 setFilterAccountingFrom = ({commit}, value) => { \n commit(SET_FILTER_ACCOUNTING_FROM)\n}\nconst setFilterAccountingTo = ({commit}, value) => { \n commit(SET_FILTER_ACCOUNTING_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 setFilterAccountingFrom,\n setFilterAccountingTo,\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 [SET_FILTER_ACCOUNTING_FROM](state, {value,text}){ \n state.listFilters['accounting_from'].value = value;\n },\n [SET_FILTER_ACCOUNTING_TO](state, {value,text}){ \n state.listFilters['accounting_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/proforma-list',\n\t\t\tname: 'proforma-list',\n\t\t\tcomponent: () => import('./views/ProformaList.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/proforma-editor/:proforma_id?',\n\t\t\tname: 'proforma-editor',\n\t\t\tcomponent: () => import('./views/ProformaEditor.vue'),\n\t\t\tprops: 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\tpath: '/cargar_empresa/:companydb_type/:code',\n\t\t\tname: 'load-company',\n\t\t\tcomponent: () => import('./modules/company/infra/LoadCompany.vue'),\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-Za-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, Proforma } 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|Proforma\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', 'proforma'].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":""}