{"version":3,"sources":["webpack:///./src/modules/facturae/infra/InvoiceableEditorComponent.vue?ea13","webpack:///./src/modules/facturae/infra/InvoiceableEditorComponent.vue?9766","webpack:///src/modules/facturae/infra/InvoiceableEditorComponent.vue","webpack:///./src/modules/facturae/infra/InvoiceableEditorComponent.vue?d41b","webpack:///./src/modules/facturae/infra/InvoiceableEditorComponent.vue?2f45","webpack:///./src/modules/facturae/infra/InvoiceableEditorComponent.vue?db76","webpack:///./src/modules/facturae/infra/InvoiceableEditorComponent.vue?0537"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","screen_data","snackbar","color","timeout","model","value","callback","$$v","$set","expression","_v","_s","text","_e","v","error_upload_file","on","$event","cancel_pop_up","file","confirm_pop_up","invoice","viewer_dialog","key","toString","configuration","rectificative_invoice","previewRejectDialog","loading_reject","rejectInvoice","sendable","actions","includes","senderOption","emailForm","to","subject","body","accounting_document_id","total_taxes_withheld","length","retention_amount","cancelSend","canSend","send_loading","sendInvoice","invoiceable_type","name","previewPayDialog","paid_loading","markAsAccepted","setErrorDialog","download_options","cancelDownload","download_type","download_loading","downloadInvoice","kind","class","is_mobile","backToList","loading","invoice_state","getStateIndicatorClass","temp_payment_state","paymentStateToShow","getPaymentStateIndicatorClass","computed_payment_states","dirtyPaymentState","state","is_tablet","scopedSlots","_u","fn","ref","_g","_b","newInvoiceable","asyncJobId","jobDone","showErrorAsyncjob","asyncJobState","proxy","stateSlot","downloadPopup","mail_sendable","openSendDialog","cantSave","saveInvoice","editable","signInvoice","openToPrint","speedDial","got_feature","style","backgroundColor","availableSequences","sequenceChanged","showErrors","invoice_number","predicted_rectificative_invoice_number","predicted_invoice_number","menuOn","invoice_date","selectedSequence","min_rectificative_inv_date","rectificative_info","tooltipOn","tooltipAttrs","formattedDate","rectificative","Object","assign","min_inv_date","invoiceDateVisible","handleDateChange","invoice_due_date","type","reason","supplier","customers","refresh_emisor","saveComapnyAsParty","customer","autocompleteCustomer","saveThird","staticStyle","lines","id","products","tax_type","DeleteLine","DeleteAllLines","InvoiceLineChanged","AddLine","ImportLines","InvoiceAditionalInfoChanged","payment_options","dirtyFreeNotes","staticRenderFns","components","StaticInvoiceViewer","InvoiceLinesEditor","DocTextField","PartyEditor","AppBtn","InvoiceTotalsViewer","AppConfirmModal","AppTextFieldV2","AppDateField","JobProgress","SendByEmailForm","props","invoiceable_id","Number","String","required","default","companydb_id","next_number","next_rectificative_number","default_sequence_id","VueInvoiceEditorScreenData","party_window","invoice_editor_component","dueDateVisible","startDateVisible","endDateVisible","reject_dialog","watch","newVal","oldVal","$router","push","creds","AWS","CognitoIdentityCredentials","IdentityPoolId","params","Logins","session_information","signInUserSession","idToken","jwtToken","expired","config","update","region","credentials","s3_repo","S3Repository","product_repo","ApiProductRepository","config_repo","ApiConfigurationRepository","invoiceable_repo","ApiInvoiceableRepository","InvoiceEditorComponent","currentCompany","correctMount","mountEditor","updateTempPaymentState","methods","console","log","update_invoice","i","update_invoice_line","add_line","delete_line","delete_all_lines","import_excel_lines","show_supplier_pop_up","show_customer_pop_up","unsign_invoice","payment_state","save_invoice","replace","download_e_invoice","error","action","error_message","min_rectificative_number","min_number","number_to_set","current","isConfigurationOK","isInvoiceIncomplete","issue_invoice","sign_invoice","send_dialog","email_template","message","email","send_e_invoice","date","Date","toLocaleDateString","day","month","year","dateField","menuVisibility","party","isEmpty","undefined","cif","business_name","first_surname","address","city","province","post_code","areInvoiceLinesValid","iamvalid","isParyIncoplete","setCustomer","setRejectDialog","reject_invoice","setPaidDialog","pay_accept_invoice","sessionStorage","setItem","routeData","resolve","window","open","href","save_third_party","save_company_as_party","routerName","computed","screen_size","state_translator","states","payment_state_translator","sequence_id","tablet","component","VAutocomplete","VBtn","VCard","VCardActions","VCardText","VCardTitle","VCol","VContainer","VDatePicker","VDialog","VDivider","VFileInput","VIcon","VList","VListItem","VMenu","VProgressCircular","VRadio","VRadioGroup","VRow","VSelect","VSnackbar","VSpacer","VTextField","VTextarea","VTooltip"],"mappings":"kHAAA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BAAkB1G,KAAKO,YAAYqB,QAAQ+P,cAAgB3R,KAAKO,YAAYqB,QAAQkF,cAAgB9G,KAAKO,YAAYqB,QAAQsG,UAAYlI,KAAKO,YAAYqB,QAAQsG,SAAS2H,KAAO7P,KAAKO,YAAYqB,QAAQkG,UAAY9H,KAAKO,YAAYqB,QAAQkG,SAAS+H,KAAO7P,KAAKO,YAAYqB,QAAQ0G,MAAMvF,OAAS,GAE7U,YACI,IAAI6O,GAAS,EAIb,OAHI5R,KAAKkE,WAAiC,MAApBlE,KAAKuR,eACvBK,GAAS,GAENA,GAEX,YACI,MAA0C,SAAnC5R,KAAKO,YAAYiF,eAA+D,UAAnCxF,KAAKO,YAAYiF,cAA4B,OAAS,MC57CyG,I,iWCU3NqM,EAAY,eACd,EACA/R,EACAoJ,GACA,EACA,KACA,WACA,MAIa,OAAA2I,EAAiB,QA8BhC,IAAkBA,EAAW,CAACC,gBAAA,KAAcC,OAAA,KAAKC,QAAA,KAAMC,aAAA,OAAaC,UAAA,OAAUC,WAAA,OAAWC,OAAA,KAAKC,aAAA,KAAWC,cAAA,KAAYC,UAAA,KAAQC,WAAA,KAASC,aAAA,KAAWC,QAAA,KAAMC,QAAA,KAAMC,YAAA,KAAUC,QAAA,KAAMC,oBAAA,KAAkBC,SAAA,KAAOC,cAAA,KAAYC,OAAA,KAAKC,UAAA,KAAQC,YAAA,KAAUC,UAAA,KAAQC,aAAA,KAAWC,YAAA,KAAUC,WAAA,Q,kCCnDtQ,W,2GCAA","file":"js/chunk-69f4bb03.8f5ef9d7.js","sourcesContent":["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!./InvoiceableEditorComponent.vue?vue&type=style&index=1&id=356a0bd0&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"invoice_container container-full-bg-white\",attrs:{\"fluid\":\"\"}},[(_vm.screen_data)?_c('v-snackbar',{attrs:{\"color\":_vm.screen_data.snackbar.color,\"timeout\":_vm.screen_data.snackbar.timeout},model:{value:(_vm.screen_data.snackbar.isVisible),callback:function ($$v) {_vm.$set(_vm.screen_data.snackbar, \"isVisible\", $$v)},expression:\"screen_data.snackbar.isVisible\"}},[_vm._v(\"\\n \"+_vm._s(_vm.screen_data.snackbar.text)+\"\\n \")]):_vm._e(),(_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__blue\"},[_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:\"pa-0\",attrs:{\"align\":\"center\"}},[_c('v-icon',{staticClass:\"material-symbols-outlined\",attrs:{\"color\":\"#060647\",\"size\":\"55\"}},[_vm._v(\" table_chart\\n \")])],1)],1),_c('v-row',[_c('v-col',{staticClass:\"pt-0\",attrs:{\"align\":\"center\"}},[_c('span',{staticClass:\"text-h6 primary__blue\"},[_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(\"Descripción / Precio unitario / Cantidad \")])])],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('v-btn',{staticClass:\"action__btn\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.screen_data.cancel_pop_up()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"white--text action__btn\",attrs:{\"color\":\"#060647\",\"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(),(_vm.screen_data)?_c('v-dialog',{attrs:{\"max-width\":\"660\"},model:{value:(_vm.screen_data.delete_all_lines_pop_up),callback:function ($$v) {_vm.$set(_vm.screen_data, \"delete_all_lines_pop_up\", $$v)},expression:\"screen_data.delete_all_lines_pop_up\"}},[_c('v-card',{staticClass:\"rounded-lg\"},[_c('v-card-title',[_c('span',{staticClass:\"primary__blue\"},[_vm._v(\"Eliminar Lineas\")])]),_c('v-divider'),_c('v-card-text',[_c('span',{staticClass:\"mt-2 text-subtitle-1\"},[_vm._v(\"¿Está seguro que desea eliminar todas las líneas?\")])]),_c('v-card-actions',{staticClass:\"acction_btns\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"action__btn\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.screen_data.cancel_pop_up()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"white--text action__btn\",attrs:{\"color\":\"#060647\"},on:{\"click\":function($event){return _vm.screen_data.confirm_pop_up()}}},[_vm._v(\"\\n Aceptar\\n \")])],1)],1)],1):_vm._e(),(_vm.screen_data && _vm.screen_data.invoice)?_c('v-dialog',{attrs:{\"content-class\":\"invoice_right_viewer\",\"max-height\":\"100vh\",\"overlay-color\":\"#060647\"},model:{value:(_vm.viewer_dialog),callback:function ($$v) {_vm.viewer_dialog=$$v},expression:\"viewer_dialog\"}},[_c('div',[(_vm.screen_data.invoice)?_c('StaticInvoiceViewer',{key:_vm.screen_data.invoice.toString(),attrs:{\"configuration\":_vm.screen_data.configuration,\"invoice\":_vm.screen_data.invoice,\"rectified_inv\":_vm.screen_data.rectificative_invoice}}):_vm._e()],1)]):_vm._e(),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.screen_data.reject_dialog),callback:function ($$v) {_vm.$set(_vm.screen_data, \"reject_dialog\", $$v)},expression:\"screen_data.reject_dialog\"}},[_c('v-card',{staticClass:\"rounded-xl\"},[_c('v-card-title',[_c('span',{staticClass:\"primary__blue\"},[_vm._v(\"Rechazar factura\")])]),_c('v-divider'),_c('v-card-text',{staticClass:\"pt-4\"},[_c('v-text-field',{attrs:{\"outlined\":\"\",\"label\":\"Motivo del rechazo\",\"dense\":\"\",\"hide-details\":\"\"},model:{value:(_vm.screen_data.reject_comment),callback:function ($$v) {_vm.$set(_vm.screen_data, \"reject_comment\", $$v)},expression:\"screen_data.reject_comment\"}})],1),_c('v-card-actions',{staticClass:\"acction_btns\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"action__btn\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.previewRejectDialog(false)}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"white--text action__btn\",attrs:{\"color\":\"#060647\",\"loading\":_vm.screen_data.loading_reject},on:{\"click\":function($event){return _vm.rejectInvoice()}}},[_vm._v(\"\\n Aceptar\\n \")])],1)],1)],1),(_vm.screen_data.invoice)?_c('v-dialog',{attrs:{\"max-width\":\"800\"},model:{value:(_vm.screen_data.send_dialog),callback:function ($$v) {_vm.$set(_vm.screen_data, \"send_dialog\", $$v)},expression:\"screen_data.send_dialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_c('span',{staticClass:\"text-h5 primary__blue py-1 ml-2\"},[_vm._v(\"Opciones de envío\")])]),_c('v-divider'),_c('v-card-text',[_c('v-row',{staticClass:\"pl-2\"},[_c('v-radio-group',{attrs:{\"row\":\"\"},model:{value:(_vm.screen_data.senderOption),callback:function ($$v) {_vm.$set(_vm.screen_data, \"senderOption\", $$v)},expression:\"screen_data.senderOption\"}},[(_vm.sendable && _vm.screen_data.invoice.actions.includes('can_send_faceb2b2'))?_c('v-radio',{attrs:{\"label\":\"FACEB2B\",\"value\":\"FACEB2B\"}}):_vm._e(),(_vm.sendable && _vm.screen_data.invoice.actions.includes('can_send_face'))?_c('v-radio',{attrs:{\"label\":\"FACE\",\"value\":\"FACE\"}}):_vm._e(),(_vm.screen_data.invoice.actions.includes('can_send_email'))?_c('v-radio',{attrs:{\"label\":\"EMAIL\",\"value\":\"EMAIL\"}}):_vm._e(),(_vm.screen_data.invoice.actions.includes('can_send_accounting'))?_c('v-radio',{attrs:{\"label\":\"MÓDULO CONTABILIDAD\",\"value\":\"CONT\"}}):_vm._e()],1)],1),(_vm.screen_data.senderOption == 'EMAIL')?_c('SendByEmailForm',{attrs:{\"email_to\":_vm.screen_data.emailForm.to,\"subject\":_vm.screen_data.emailForm.subject,\"body\":_vm.screen_data.emailForm.body},on:{\"update:email_to\":function($event){return _vm.$set(_vm.screen_data.emailForm, \"to\", $event)},\"update:subject\":function($event){return _vm.$set(_vm.screen_data.emailForm, \"subject\", $event)},\"update:body\":function($event){return _vm.$set(_vm.screen_data.emailForm, \"body\", $event)}}}):(_vm.screen_data.senderOption == 'CONT' && _vm.screen_data.invoice.accounting_document_id)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',[_vm._v(\"Factura ya enviada al módulo de contabilidad.\\n \")])])],1):(_vm.screen_data.senderOption == 'CONT' && _vm.screen_data.invoice.total_taxes_withheld && _vm.screen_data.invoice.total_taxes_withheld.length > 1)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',[_vm._v(\"El módulo de contabilidad no soporta múltiples retenciones.\")])])],1):(_vm.screen_data.senderOption == 'CONT' && _vm.screen_data.invoice.retention_amount)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',[_vm._v(\"El módulo de contabilidad no soporta retenciones globales.\")])])],1):_vm._e()],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.canSend,\"loading\":_vm.screen_data.send_loading},on:{\"click\":function($event){return _vm.sendInvoice()}}},[_vm._v(\"\\n Enviar\\n \")])],1)],1)],1):_vm._e(),(_vm.screen_data.invoice)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.screen_data.paid_dialog),callback:function ($$v) {_vm.$set(_vm.screen_data, \"paid_dialog\", $$v)},expression:\"screen_data.paid_dialog\"}},[_c('v-card',{staticClass:\"rounded-xl\"},[_c('v-card-title',[_c('span',{staticClass:\"primary__blue\"},[_vm._v(\"Aceptar factura\")])]),_c('v-divider'),_c('v-card-text',{staticClass:\"pt-4\"},[(['budget', 'delivery_note'].includes(_vm.invoiceable_type))?_c('p',[_vm._v(\"Esta acción marcará el \"+_vm._s(_vm.screen_data.invoice.name)+\" como aceptado.\")]):_c('p',[_vm._v(\"Esta acción marcará la factura como pagada.\")]),_c('p',{staticClass:\"my-0\"},[_vm._v(\"¿Desea continuar?\")])]),_c('v-card-actions',{staticClass:\"acction_btns\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"action__btn\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.previewPayDialog(false)}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"white--text action__btn\",attrs:{\"color\":\"#060647\",\"loading\":_vm.screen_data.paid_loading},on:{\"click\":function($event){return _vm.markAsAccepted()}}},[_vm._v(\"\\n Aceptar\\n \")])],1)],1)],1):_vm._e(),_c('v-dialog',{staticClass:\"pa-0 ma-0 rounded\",attrs:{\"width\":\"350px\"},model:{value:(_vm.screen_data.showErrorsDialog),callback:function ($$v) {_vm.$set(_vm.screen_data, \"showErrorsDialog\", $$v)},expression:\"screen_data.showErrorsDialog\"}},[_c('v-card',{staticClass:\"error__dialog text-center overflow-hidden\"},[_c('v-card-title',{staticClass:\"d-flex justify-space-between\"},[_c('span',{staticClass:\"px-4\"},[_vm._v(\"Atención\")]),_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.screen_data.setErrorDialog(false)}}},[_c('v-icon',{staticClass:\"material-symbols-outlined\",attrs:{\"color\":\"white\"}},[_vm._v(\"close\")])],1)],1),_c('v-divider'),_c('v-card-text',{staticClass:\"py-6 px-12\"},[_c('v-row',[_c('v-col',{staticClass:\"d-flex flex-column\",attrs:{\"cols\":\"12\"}},[_c('v-icon',{staticClass:\"material-symbols-outlined\",attrs:{\"size\":\"48\",\"color\":\"#DC0B0BE5\"}},[_vm._v(\"warning\")]),_c('span',{staticClass:\"text-subtitle-1 font-weight-bold\"},[_vm._v(\"Información incompleta\")])],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('span',[_vm._v(\"Por favor, \"),_c('strong',[_vm._v(\"revise los campos pendientes\")]),_vm._v(\" y complete la información\\n necesaria para poder firmar la factura.\")])])],1)],1)],1)],1),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.screen_data.downloadPopup),callback:function ($$v) {_vm.$set(_vm.screen_data, \"downloadPopup\", $$v)},expression:\"screen_data.downloadPopup\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_c('span',{staticClass:\"text-h5 primary__blue py-1 ml-2\",attrs:{\"color\":\"\"}},[_vm._v(\"Descargar factura\")])]),_c('v-divider'),_c('v-card-text',[_c('span',[_vm._v(\"Tipo de extensión:\")]),_c('v-select',{attrs:{\"items\":_vm.screen_data.download_options,\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"icon\":\"mdi-file-download-outline\",\"item-text\":\"text\",\"item-value\":\"value\"},model:{value:(_vm.screen_data.download_type),callback:function ($$v) {_vm.$set(_vm.screen_data, \"download_type\", $$v)},expression:\"screen_data.download_type\"}})],1),_c('v-card-actions',{staticClass:\"pr-8 pb-5\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"action__btn\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.cancelDownload()}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"white--text action__btn\",attrs:{\"color\":\"#060647\",\"disabled\":!_vm.screen_data.download_type,\"loading\":_vm.screen_data.download_loading},on:{\"click\":function($event){return _vm.downloadInvoice()}}},[_vm._v(\"\\n Descargar\\n \")])],1)],1)],1),(_vm.screen_data.invoice && _vm.screen_data.invoice.kind != 'in_invoice')?[_c('v-row',{class:{\n 'mx-1': _vm.is_mobile,\n 'mx-2': !_vm.is_mobile,\n 'pa-0': true\n }},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"mr-0 d-flex align-center\"},[(_vm.companydb_id)?_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.backToList()}}},[_c('img',{attrs:{\"src\":require(\"../../../assets/back-arrow.svg\")}})]):_vm._e(),(_vm.is_tablet)?_c('h3',{staticClass:\"primary_blue--text ml-1\"},[_vm._v(\"Editor\")]):_c('h3',{staticClass:\"primary_blue--text ml-2 \"},[_vm._v(\"Editor de \"+_vm._s(_vm.screen_data.invoice.name))])],1)]),_c('v-spacer'),_c('v-col',{attrs:{\"cols\":\"3\"}},[(_vm.screen_data && !_vm.screen_data.loading)?[(_vm.screen_data.invoice && _vm.is_mobile)?_c('div',{staticClass:\"d-flex justify-space-between px-2 mx-2 my-1 py-0 flex-grow-1\"},[_c('div',{staticClass:\"d-flex align-center rounded-pill grey lighten-2 px-2 py-1 flex-grow-1\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(_vm._s(_vm.invoice_state))]),_c('v-icon',{staticClass:\"ml-2\",attrs:{\"color\":_vm.getStateIndicatorClass(),\"dense\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-circle\")])],1)]):(_vm.screen_data.invoice)?_c('div',{staticClass:\"rounded-pill grey lighten-3 py-0 d-inline-flex align-sm-center flex-sm-nowrap invoice_state\"},[(!_vm.is_mobile)?_c('div',{staticClass:\"text--grey--darken-3 mr-2 pl-4 font-weight-medium\"},[_vm._v(\"Estado:\\n \")]):_vm._e(),_c('div',{staticClass:\"d-flex justify-space-between rounded-pill white px-2 mx-2 my-1 py-0 flex-grow-1\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(_vm._s(_vm.invoice_state)+\" \")]),_c('v-icon',{attrs:{\"color\":_vm.getStateIndicatorClass(),\"dense\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-circle\")])],1)]):_vm._e()]:[_c('v-progress-circular',{staticClass:\"mr-2\",attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})]],2),_c('v-spacer'),(_vm.screen_data.invoice.actions.includes('has_paid_state'))?[((_vm.temp_payment_state == '' && _vm.paymentStateToShow) || _vm.paymentStateToShow == 'Rectificada')?_c('v-col',{attrs:{\"cols\":\"3\"}},[(_vm.screen_data && !_vm.screen_data.loading)?[(_vm.screen_data.invoice)?_c('div',{staticClass:\"rounded-pill grey lighten-3 py-0 d-inline-flex align-sm-center flex-sm-nowrap invoice_state\"},[_c('div',{staticClass:\"text--grey--darken-3 mr-2 pl-4 font-weight-medium text-no-wrap\"},[_vm._v(\"Estado de pago:\\n \")]),_c('div',{staticClass:\"d-flex justify-space-between rounded-pill white px-2 mx-1 my-1 py-0 flex-grow-1\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(_vm._s(_vm.paymentStateToShow)+\" \")]),_c('v-icon',{attrs:{\"color\":_vm.getPaymentStateIndicatorClass(),\"dense\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-circle\")])],1)]):_vm._e()]:[_c('v-progress-circular',{staticClass:\"mr-2\",attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})]],2):(_vm.paymentStateToShow)?_c('v-col',{attrs:{\"cols\":\"3\"}},[(_vm.screen_data && !_vm.screen_data.loading)?[(_vm.screen_data.invoice)?_c('div',{staticClass:\"rounded-pill grey lighten-3 py-0 d-inline-flex align-sm-center flex-sm-nowrap invoice_state\"},[_c('div',{staticClass:\"text--grey--darken-3 mr-0 pl-4 font-weight-medium text-no-wrap\"},[_vm._v(\"Estado de pago:\\n \")]),_c('div',{staticClass:\"d-flex justify-space-between rounded-pill white px-2 mx-1 my-1 py-0 flex-grow-1\"},[_c('p',{staticClass:\"ma-0 pa-0 custom-select\"},[_c('v-autocomplete',{attrs:{\"items\":_vm.computed_payment_states,\"item-text\":\"name\",\"item-value\":\"value\",\"filled\":\"\",\"hide-details\":\"\",\"flat\":\"\",\"solo\":\"\",\"dense\":\"\",\"background-color\":\"transparent\"},on:{\"change\":function($event){_vm.dirtyPaymentState=true}},model:{value:(_vm.temp_payment_state),callback:function ($$v) {_vm.temp_payment_state=$$v},expression:\"temp_payment_state\"}})],1),_c('v-icon',{attrs:{\"color\":_vm.getPaymentStateIndicatorClass(),\"dense\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-circle\")])],1)]):_vm._e()]:[_c('v-progress-circular',{staticClass:\"mr-2\",attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})]],2):_vm._e()]:_vm._e(),_c('v-spacer'),(_vm.screen_data.invoice.actions.includes('can_mark_as_accepted_or_rejected') && !['draft', 'accepted', 'b_rejected', 'invoiced'].includes(_vm.screen_data.invoice.state))?[(!_vm.is_tablet)?_c('v-col',{staticClass:\"d-flex justify-end align-center\",attrs:{\"cols\":\"2\"}},[_c('v-row',{staticClass:\"ma-0 pa-0 flex-sm-nowrap\"},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('div',{staticClass:\"rounded-pill grey lighten-3 py-0 d-inline-flex align-sm-center btn_pointer invoice_state\",on:{\"click\":function($event){return _vm.previewPayDialog(true)}}},[_c('span',{staticClass:\"text--grey mr-2 pl-4 font-weight-medium text-no-wrap\"},[_vm._v(\"\\n Aceptado\\n \")]),_c('v-spacer'),_c('v-btn',{staticClass:\"ml-1\",attrs:{\"icon\":\"\",\"small\":\"\"}},[_c('img',{attrs:{\"src\":require(\"../../../assets/mark_as_paid.svg\")}})])],1)]),_c('v-col',{staticClass:\"ma-0 pa-0 pl-3\"},[_c('div',{staticClass:\"rounded-pill grey lighten-3 py-0 d-inline-flex align-sm-center flex-sm-nowrap btn_pointer invoice_state\",on:{\"click\":function($event){return _vm.previewRejectDialog(true)}}},[_c('span',{staticClass:\"text--grey mr-2 pl-4 font-weight-medium text-no-wrap\"},[_vm._v(\"\\n Rechazado\\n \")]),_c('v-spacer'),_c('v-btn',{staticClass:\"ml-1\",attrs:{\"icon\":\"\",\"small\":\"\"}},[_c('img',{attrs:{\"src\":require(\"../../../assets/mark_as_rejected.svg\")}})])],1)])],1)],1):_c('v-col',{staticClass:\"d-flex justify-end align-center\",attrs:{\"cols\":\"3\"}},[_c('v-row',{staticClass:\"ma-0 pa-0 flex-sm-nowrap\"},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('v-btn',{staticClass:\"ml-1\",attrs:{\"icon\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.previewPayDialog(true)}}},[_c('img',{attrs:{\"src\":require(\"../../../assets/mark_as_paid.svg\")}})])],1),_c('v-col',{staticClass:\"ma-0 pa-0 pl-3\"},[_c('v-btn',{staticClass:\"ml-1\",attrs:{\"icon\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.previewRejectDialog(true)}}},[_c('img',{attrs:{\"src\":require(\"../../../assets/mark_as_rejected.svg\")}})])],1)],1)],1)]:_vm._e(),_c('v-spacer'),(_vm.screen_data && _vm.screen_data.invoice && !_vm.is_mobile)?[_c('v-col',{staticClass:\"d-flex justify-end\",attrs:{\"cols\":\"3\"}},[_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\",attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.newInvoiceable()}}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":require(\"../../../assets/add_box.svg\")}})])]}}],null,false,69913947)},[_c('span',[_vm._v(\"Crear \"+_vm._s(_vm.screen_data.invoice.name))])]),_c('JobProgress',{staticClass:\"d-flex justify-center\",attrs:{\"job_id\":_vm.screen_data.asyncJobId,\"divStyle\":'max-width: min-content;'},on:{\"done\":function($event){return _vm.jobDone()},\"error\":_vm.showErrorAsyncjob},scopedSlots:_vm._u([{key:\"progress\",fn:function(){return [(_vm.screen_data.asyncJobState==='running')?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary__blue\",\"loading\":true}},[_c('v-icon',[_vm._v(\"mdi-refresh\")])],1):_vm._e()]},proxy:true},{key:_vm.stateSlot,fn:function(){return [(_vm.screen_data.invoice.actions.includes('can_download'))?_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\",attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.screen_data.downloadPopup=true}}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":require(\"../../../assets/download_xml.svg\")}})])]}}],null,false,348025686)},[_c('span',[_vm._v(\"Descargar \"+_vm._s(_vm.screen_data.invoice.name))])]):_vm._e(),_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\",attrs:{\"icon\":\"\",\"disabled\":!_vm.sendable && !_vm.mail_sendable},on:{\"click\":function($event){return _vm.openSendDialog()}}},'v-btn',attrs,false),on),[(_vm.sendable || _vm.mail_sendable)?_c('img',{attrs:{\"src\":require(\"../../../assets/send_invoice.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/send_invoice_disabled.svg\")}})])]}}],null,false,1341519401)},[_c('span',[_vm._v(\"Enviar \"+_vm._s(_vm.screen_data.invoice.name))])])]},proxy:true}],null,true),model:{value:(_vm.screen_data.asyncJobState),callback:function ($$v) {_vm.$set(_vm.screen_data, \"asyncJobState\", $$v)},expression:\"screen_data.asyncJobState\"}}),_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\",attrs:{\"icon\":\"\",\"disabled\":_vm.cantSave},on:{\"click\":function($event){return _vm.saveInvoice()}}},'v-btn',attrs,false),on),[(_vm.cantSave)?_c('img',{attrs:{\"src\":require(\"../../../assets/save_invoice_disabled.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/save_invoice.svg\")}})])]}}],null,false,2066239353)},[_c('span',[_vm._v(\"Guardar \"+_vm._s(_vm.screen_data.invoice.name))])]),_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\",attrs:{\"icon\":\"\",\"disabled\":!_vm.editable},on:{\"click\":function($event){return _vm.signInvoice()}}},'v-btn',attrs,false),on),[(_vm.editable)?_c('img',{attrs:{\"src\":require(\"../../../assets/sign_invoice.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/sign_invoice_disabled.svg\")}})])]}}],null,false,1758068554)},[(_vm.screen_data.invoice.actions.includes('can_sign'))?_c('span',[_vm._v(\"Firmar y emitir\")]):_c('span',[_vm._v(\"Emitir\")])]),(false)?_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-2\",attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.previewInvoice()}}},'v-btn',attrs,false),on),[(!_vm.viewer_dialog)?_c('img',{attrs:{\"src\":require(\"../../../assets/view_invoice.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/hide_invoice.svg\")}})])]}}],null,false,4049838233)},[_c('span',[_vm._v(\"Visualizar \"+_vm._s(_vm.screen_data.invoice.name))])]):_vm._e(),_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\",attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.openToPrint()}}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":require(\"../../../assets/view_invoice.svg\")}})])]}}],null,false,799186858)},[_c('span',[_vm._v(\"Visualizar \"+_vm._s(_vm.screen_data.invoice.name))])])],1)]:(_vm.screen_data && _vm.screen_data.invoice && _vm.is_mobile)?_c('v-col',{staticClass:\"d-flex justify-center\",attrs:{\"cols\":\"2\"}},[_c('div',{attrs:{\"id\":\"menu-anchor\"}},[_c('v-menu',{attrs:{\"bottom\":\"\",\"transition\":\"scale-transition\",\"offset-y\":\"\",\"content-class\":\"transparent-menu\",\"attach\":\"#menu-anchor\"},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\":\"\"}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":require(\"../../../assets/btn-show-menu.svg\")}})])]}}],null,false,2982585249),model:{value:(_vm.speedDial),callback:function ($$v) {_vm.speedDial=$$v},expression:\"speedDial\"}},[_c('v-list',{staticClass:\"transparent-list justify-cente\"},[_c('v-list-item',{staticClass:\"d-flex justify-center\"},[_c('JobProgress',{attrs:{\"job_id\":_vm.screen_data.asyncJobId,\"divStyle\":'max-width: min-content;'},on:{\"done\":_vm.jobDone,\"error\":_vm.showErrorAsyncjob},scopedSlots:_vm._u([{key:\"progress\",fn:function(){return [(_vm.screen_data.asyncJobState === 'running')?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary__blue\",\"loading\":true}},[_c('v-icon',[_vm._v(\"mdi-refresh\")])],1):_vm._e()]},proxy:true},{key:_vm.stateSlot,fn:function(){return [(_vm.screen_data.invoice.actions.includes('can_download'))?_c('v-tooltip',{attrs:{\"left\":\"\"},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\":\"\"},on:{\"click\":function($event){_vm.screen_data.downloadPopup = true}}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":require(\"../../../assets/download_xml.svg\")}})])]}}],null,false,2149953547)},[_c('span',[_vm._v(\"Descargar \"+_vm._s(_vm.screen_data.invoice.name))])]):_vm._e(),_c('v-tooltip',{attrs:{\"left\":\"\"},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\":\"\",\"disabled\":!_vm.sendable && !_vm.mail_sendable},on:{\"click\":function($event){return _vm.openSendDialog()}}},'v-btn',attrs,false),on),[(_vm.sendable || _vm.mail_sendable)?_c('img',{attrs:{\"src\":require(\"../../../assets/send_invoice.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/send_invoice_disabled.svg\")}})])]}}],null,false,3452764404)},[_c('span',[_vm._v(\"Enviar \"+_vm._s(_vm.screen_data.invoice.name))])])]},proxy:true}],null,true),model:{value:(_vm.screen_data.asyncJobState),callback:function ($$v) {_vm.$set(_vm.screen_data, \"asyncJobState\", $$v)},expression:\"screen_data.asyncJobState\"}})],1),_c('v-list-item',{staticClass:\"d-flex justify-center\"},[_c('v-tooltip',{attrs:{\"left\":\"\"},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\":\"\",\"disabled\":!_vm.editable && !_vm.dirtyPaymentState},on:{\"click\":function($event){return _vm.saveInvoice()}}},'v-btn',attrs,false),on),[(!_vm.editable && !_vm.dirtyPaymentState)?_c('img',{attrs:{\"src\":require(\"../../../assets/save_invoice_disabled.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/save_invoice.svg\")}})])]}}],null,false,313330148)},[_c('span',[_vm._v(\"Guardar \"+_vm._s(_vm.screen_data.invoice.name))])])],1),_c('v-list-item',{staticClass:\"d-flex justify-center\"},[_c('v-tooltip',{attrs:{\"left\":\"\"},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\":\"\",\"disabled\":!_vm.editable},on:{\"click\":function($event){return _vm.signInvoice()}}},'v-btn',attrs,false),on),[(_vm.editable)?_c('img',{attrs:{\"src\":require(\"../../../assets/sign_invoice.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/sign_invoice_disabled.svg\")}})])]}}],null,false,4165169591)},[(_vm.screen_data.invoice.actions.includes('can_sign'))?_c('span',[_vm._v(\"Firmar y emitir\")]):_c('span',[_vm._v(\"Emitir\")])])],1),(false)?_c('v-list-item',{staticClass:\"d-flex justify-center\"},[_c('v-tooltip',{attrs:{\"left\":\"\"},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\":\"\"},on:{\"click\":function($event){return _vm.previewInvoice()}}},'v-btn',attrs,false),on),[(!_vm.viewer_dialog)?_c('img',{attrs:{\"src\":require(\"../../../assets/view_invoice.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/hide_invoice.svg\")}})])]}}],null,false,1790039143)},[_c('span',[_vm._v(\"Visualizar \"+_vm._s(_vm.screen_data.invoice.name))])])],1):_vm._e(),_c('v-list-item',{staticClass:\"d-flex justify-center\"},[_c('v-tooltip',{attrs:{\"left\":\"\"},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\":\"\"},on:{\"click\":function($event){return _vm.openToPrint()}}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":require(\"../../../assets/view_invoice.svg\")}})])]}}],null,false,1430935831)},[_c('span',[_vm._v(\"Visualizar \"+_vm._s(_vm.screen_data.invoice.name))])])],1)],1)],1)],1)]):[_c('v-progress-circular',{staticClass:\"mr-2\",attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})]],2),_c('v-card',{staticClass:\"sector-div\"},[_c('v-row',{class:{'ma-0': true, 'flex-sm-nowrap': !_vm.is_tablet }},[_c('v-col',{staticClass:\"px-0 py-0\",attrs:{\"cols\":\"12\",\"md\":\"12\",\"lg\":\"4\"}},[_c('v-row',{staticClass:\"sector-head\"},[_c('v-col',{staticClass:\"primary_blue--text subtitle-1 font-weight-bold\",attrs:{\"cols\":\"6\"}},[_c('p',{staticClass:\"mb-0\"},[_vm._v(\" \\n Datos generales\\n \"),(!_vm.is_mobile)?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.screen_data.invoice.name)+\" \\n \")]):_vm._e(),(_vm.screen_data.invoice.rectificative)?_c('span',[_vm._v(\"\\n rectificativa\\n \")]):_vm._e()])]),(_vm.screen_data.configuration && !_vm.got_feature('feature_manual_invoice_number') && _vm.screen_data.invoice.state == 'draft')?_c('v-col',{staticClass:\"d-flex align-center\",class:{ 'px-1': _vm.is_tablet, 'py-0 pr-8': true },attrs:{\"cols\":\"6\"}},[(!_vm.is_mobile)?_c('label',{staticClass:\"mr-1\"},[_vm._v(\"Serie\")]):_vm._e(),_c('v-select',{style:({ backgroundColor: _vm.editable ? 'white' : '' }),attrs:{\"items\":_vm.screen_data.availableSequences,\"item-value\":\"id\",\"item-text\":\"code\",\"disabled\":!_vm.editable,\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"label\":_vm.is_mobile ? 'Serie' : ''},on:{\"change\":_vm.sequenceChanged},model:{value:(_vm.screen_data.invoice.sequence_id),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"sequence_id\", $$v)},expression:\"screen_data.invoice.sequence_id\"}})],1):_vm._e()],1),_c('div',{class:{ 'sector__input': true, 'pa-8': !_vm.is_mobile, 'px-8': _vm.is_mobile, 'py-3': _vm.is_mobile }},[_c('div',[_c('v-row',[_c('v-col',{class:{ 'px-1': _vm.is_tablet, 'py-0': true },attrs:{\"cols\":\"6\",\"md\":\"4\",\"sm\":\"6\"}},[(_vm.got_feature('feature_manual_invoice_number') || !_vm.editable)?_c('AppTextFieldV2',{attrs:{\"label\":'Número ' + _vm.screen_data.invoice.name,\"readonly\":!_vm.editable,\"background_color\":_vm.screen_data.showErrors && !_vm.screen_data.invoice.invoice_number ? '#DC0B0B1A' : '',\"error\":_vm.screen_data.showErrors && !_vm.screen_data.invoice.invoice_number},model:{value:(_vm.screen_data.invoice.invoice_number),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"invoice_number\", $$v)},expression:\"screen_data.invoice.invoice_number\"}}):(_vm.screen_data.invoice.rectificative)?_c('AppTextFieldV2',{staticClass:\"custom-gray-text\",attrs:{\"label\":'Número ' + _vm.screen_data.invoice.name,\"readonly\":\"\",\"background_color\":_vm.screen_data.showErrors && !_vm.screen_data.invoice.predicted_rectificative_invoice_number ? '#DC0B0B1A' : '',\"error\":_vm.screen_data.showErrors && !_vm.screen_data.invoice.predicted_rectificative_invoice_number},model:{value:(_vm.screen_data.invoice.predicted_rectificative_invoice_number),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"predicted_rectificative_invoice_number\", $$v)},expression:\"screen_data.invoice.predicted_rectificative_invoice_number\"}}):_c('AppTextFieldV2',{staticClass:\"custom-gray-text\",attrs:{\"label\":'Número ' + _vm.screen_data.invoice.name,\"readonly\":\"\",\"background_color\":_vm.screen_data.showErrors && !_vm.screen_data.invoice.predicted_invoice_number ? '#DC0B0B1A' : '',\"error\":_vm.screen_data.showErrors && !_vm.screen_data.invoice.predicted_invoice_number},model:{value:(_vm.screen_data.invoice.predicted_invoice_number),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"predicted_invoice_number\", $$v)},expression:\"screen_data.invoice.predicted_invoice_number\"}})],1),_c('v-col',{class:{ 'px-1': _vm.is_tablet, 'py-0': true },attrs:{\"cols\":\"3\",\"md\":\"4\"}},[_c('v-menu',{ref:\"invoiceDateMenu\",attrs:{\"close-on-content-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\"},scopedSlots:_vm._u([(_vm.screen_data.invoice.rectificative)?{key:\"activator\",fn:function(ref){\n var menuOn = ref.on;\nreturn [_c('v-tooltip',{attrs:{\"bottom\":\"\",\"disabled\":!(_vm.screen_data.showErrors && (!_vm.screen_data.invoice.invoice_date\n || (_vm.screen_data.selectedSequence.min_rectificative_inv_date != '' && _vm.screen_data.invoice.invoice_date < _vm.screen_data.selectedSequence.min_rectificative_inv_date)\n || (_vm.screen_data.rectificative_invoice && _vm.screen_data.invoice.invoice_date < _vm.screen_data.rectificative_invoice.invoice_date)\n || (_vm.screen_data.invoice.invoice_date < _vm.screen_data.invoice.rectificative_info.invoice_date)))},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var tooltipOn = ref.on;\n var tooltipAttrs = ref.attrs;\nreturn [_c('AppTextFieldV2',_vm._g(_vm._b({attrs:{\"label\":_vm.is_tablet ? 'F. ' + _vm.screen_data.invoice.name : 'Fecha ' + _vm.screen_data.invoice.name,\"value\":_vm.formattedDate(_vm.screen_data.invoice.invoice_date),\"readonly\":\"\",\"disabled\":!_vm.editable,\"background_color\":(_vm.screen_data.showErrors && (!_vm.screen_data.invoice.invoice_date\n || (_vm.screen_data.selectedSequence.min_rectificative_inv_date != '' && _vm.screen_data.invoice.invoice_date < _vm.screen_data.selectedSequence.min_rectificative_inv_date)\n || (_vm.screen_data.rectificative_invoice && _vm.screen_data.invoice.invoice_date < _vm.screen_data.rectificative_invoice.invoice_date)\n || (_vm.screen_data.invoice.rectificative && _vm.screen_data.invoice.invoice_date < _vm.screen_data.invoice.rectificative_info.invoice_date))) ? '#DC0B0B1A' : '',\"error\":(_vm.screen_data.showErrors && (!_vm.screen_data.invoice.invoice_date\n || (_vm.screen_data.selectedSequence.min_rectificative_inv_date != '' && _vm.screen_data.invoice.invoice_date < _vm.screen_data.selectedSequence.min_rectificative_inv_date)\n || (_vm.screen_data.rectificative_invoice && _vm.screen_data.invoice.invoice_date < _vm.screen_data.rectificative_invoice.invoice_date)\n || (_vm.screen_data.invoice.invoice_date < _vm.screen_data.invoice.rectificative_info.invoice_date)))}},'AppTextFieldV2',tooltipAttrs,false),Object.assign({}, menuOn, tooltipOn)))]}}],null,true)},[_c('span',[_vm._v(\"No es posible crear un \"+_vm._s(_vm.screen_data.invoice.name)+\" con fecha anterior a\\n \"),(_vm.screen_data.rectificative_invoice)?[((_vm.screen_data.selectedSequence.min_rectificative_inv_date != '' &&\n _vm.screen_data.selectedSequence.min_rectificative_inv_date > _vm.screen_data.rectificative_invoice.invoice_date))?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.formattedDate(_vm.screen_data.selectedSequence.min_rectificative_inv_date))+\"\\n \")]):_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.formattedDate(_vm.screen_data.rectificative_invoice.invoice_date))+\"\\n \")])]:[((_vm.screen_data.selectedSequence.min_rectificative_inv_date != '' &&\n _vm.screen_data.selectedSequence.min_rectificative_inv_date > _vm.screen_data.invoice.invoice_date))?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.formattedDate(_vm.screen_data.selectedSequence.min_rectificative_inv_date))+\"\\n \")]):_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.formattedDate(_vm.screen_data.invoice.rectificative_info.invoice_date))+\"\\n \")])]],2)])]}}:{key:\"activator\",fn:function(ref){\n var menuOn = ref.on;\nreturn [_c('v-tooltip',{attrs:{\"bottom\":\"\",\"disabled\":!(_vm.screen_data.showErrors && (!_vm.screen_data.invoice.invoice_date || (_vm.screen_data.selectedSequence.min_inv_date != '' && _vm.screen_data.invoice.invoice_date < _vm.screen_data.selectedSequence.min_inv_date)))},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var tooltipOn = ref.on;\n var tooltipAttrs = ref.attrs;\nreturn [_c('AppTextFieldV2',_vm._g(_vm._b({attrs:{\"label\":_vm.is_tablet ? 'F. ' + _vm.screen_data.invoice.name : 'Fecha ' + _vm.screen_data.invoice.name,\"value\":_vm.formattedDate(_vm.screen_data.invoice.invoice_date),\"readonly\":\"\",\"disabled\":!_vm.editable,\"background_color\":_vm.screen_data.showErrors && (!_vm.screen_data.invoice.invoice_date || (_vm.screen_data.selectedSequence.min_inv_date != '' && _vm.screen_data.invoice.invoice_date < _vm.screen_data.selectedSequence.min_inv_date))? '#DC0B0B1A' : '',\"error\":_vm.screen_data.showErrors && (!_vm.screen_data.invoice.invoice_date || (_vm.screen_data.selectedSequence.min_inv_date != '' && _vm.screen_data.invoice.invoice_date < _vm.screen_data.selectedSequence.min_inv_date))}},'AppTextFieldV2',tooltipAttrs,false),Object.assign({}, menuOn, tooltipOn)))]}}],null,true)},[(_vm.screen_data.selectedSequence)?_c('span',[_vm._v(\"No es posible crear un \"+_vm._s(_vm.screen_data.invoice.name)+\" con fecha anterior a\\n \"+_vm._s(_vm.formattedDate(_vm.screen_data.selectedSequence.min_inv_date)))]):_vm._e()])]}}],null,true),model:{value:(_vm.invoiceDateVisible),callback:function ($$v) {_vm.invoiceDateVisible=$$v},expression:\"invoiceDateVisible\"}},[_c('v-date-picker',{attrs:{\"no-title\":\"\"},on:{\"input\":function($event){return _vm.handleDateChange('invoice_date', 'invoiceDateVisible')}},model:{value:(_vm.screen_data.invoice.invoice_date),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"invoice_date\", $$v)},expression:\"screen_data.invoice.invoice_date\"}})],1)],1),_c('v-col',{class:{ 'px-1': _vm.is_tablet, 'py-0': true },attrs:{\"cols\":\"3\",\"md\":\"4\"}},[_c('AppDateField',{ref:\"dueDateMenu\",attrs:{\"label\":_vm.is_tablet ? 'F. vencimiento' : 'Fecha vencimiento',\"disabled\":!_vm.editable,\"error\":_vm.screen_data.showErrors && _vm.invoiceable_type == 'invoice' && !_vm.screen_data.invoice.invoice_due_date,\"background_color\":_vm.screen_data.showErrors && _vm.invoiceable_type =='invoice' && !_vm.screen_data.invoice.invoice_due_date ? '#DC0B0B1A' : 'white'},model:{value:(_vm.screen_data.invoice.invoice_due_date),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"invoice_due_date\", $$v)},expression:\"screen_data.invoice.invoice_due_date\"}})],1)],1),_c('v-row',[(_vm.screen_data.invoice.type == 'invoice')?_c('v-col',{class:{ 'px-1': _vm.is_tablet, 'py-0': true },attrs:{\"cols\":\"6\",\"md\":\"4\"}},[_c('AppTextFieldV2',{attrs:{\"label\":\"Número factura externo\",\"readonly\":\"\"},model:{value:(_vm.screen_data.invoice.external_invoice_number),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"external_invoice_number\", $$v)},expression:\"screen_data.invoice.external_invoice_number\"}})],1):_vm._e(),_c('v-col',{class:{ 'px-1': _vm.is_tablet, 'py-0': true },attrs:{\"cols\":\"3\",\"md\":\"4\"}},[_c('AppDateField',{ref:\"invoiceStartDate\",attrs:{\"label\":_vm.is_tablet ? 'F. inicio' : 'Fecha inicio',\"disabled\":!_vm.editable},model:{value:(_vm.screen_data.invoice.start_date),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"start_date\", $$v)},expression:\"screen_data.invoice.start_date\"}})],1),_c('v-col',{class:{ 'px-1': _vm.is_tablet, 'py-0': true },attrs:{\"cols\":\"3\",\"md\":\"4\"}},[_c('AppDateField',{ref:\"invoiceEndDate\",attrs:{\"label\":_vm.is_tablet ? 'F. final' : 'Fecha final',\"disabled\":!_vm.editable},model:{value:(_vm.screen_data.invoice.end_date),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"end_date\", $$v)},expression:\"screen_data.invoice.end_date\"}})],1)],1),(_vm.screen_data.invoice.rectificative)?_c('v-row',[_c('v-col',{staticClass:\"mt-2 mb-0 pb-0\"},[(_vm.screen_data.rectificative_invoice)?_c('p',{staticClass:\"py-0 my-0\"},[_vm._v(\"\\n Rectifica la factura:\\n \"),_c('strong',[_vm._v(_vm._s(_vm.screen_data.rectificative_invoice.invoice_number))]),_vm._v(\" del\\n \"+_vm._s(_vm.formattedDate(_vm.screen_data.rectificative_invoice.invoice_date))+\".\\n \")]):_c('p',{staticClass:\"py-0 my-0\"},[_vm._v(\"\\n Rectifica la factura:\\n \"),_c('strong',[_vm._v(_vm._s(_vm.screen_data.invoice.rectificative_info.invoice_number))]),_vm._v(\"\\n del\\n \"+_vm._s(_vm.formattedDate(_vm.screen_data.invoice.rectificative_info.invoice_date))+\".\\n \")]),_c('p',{staticClass:\"py-0 my-0\"},[_vm._v(\"\\n \"+_vm._s(_vm.screen_data.invoice.rectificative_info.reason)+\"\\n \")])])],1):_vm._e()],1)])],1),_c('v-divider',{class:{'pb-4': !_vm.is_mobile},attrs:{\"vertical\":\"\"}}),_c('v-col',{staticClass:\"px-0 py-0\",attrs:{\"cols\":\"12\",\"md\":\"12\",\"lg\":\"4\"}},[_c('v-row',{staticClass:\"sector-head\"},[_c('v-col',{staticClass:\"primary_blue--text subtitle-1 font-weight-bold\",attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"mb-0\"},[_vm._v(\" Emisor \")])])],1),_c('div',{class:{ 'sector__input': true, 'pa-8': !_vm.is_mobile, 'px-8': _vm.is_mobile, 'py-3': _vm.is_mobile }},[_c('PartyEditor',{attrs:{\"title\":\"\",\"party\":_vm.screen_data.invoice.supplier,\"readonly\":!_vm.editable,\"emisor\":true,\"allow_refresh\":_vm.editable,\"partyOptions\":_vm.screen_data.customers,\"showErrors\":_vm.screen_data.showErrors},on:{\"refresh_emisor\":function($event){return _vm.refresh_emisor()},\"save_company_as_party\":_vm.saveComapnyAsParty}})],1)],1),_c('v-divider',{staticClass:\"pb-4\",attrs:{\"vertical\":\"\"}}),_c('v-col',{staticClass:\"px-0 py-0\",attrs:{\"cols\":\"12\",\"md\":\"12\",\"lg\":\"4\"}},[_c('v-row',{staticClass:\"sector-head\"},[_c('v-col',{staticClass:\"primary_blue--text subtitle-1 font-weight-bold\",attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"mb-0\"},[_vm._v(\" Receptor \")])])],1),_c('div',{class:{ 'sector__input': true, 'pa-8': !_vm.is_mobile, 'px-8': _vm.is_mobile, 'py-3': _vm.is_mobile }},[_c('PartyEditor',{attrs:{\"title\":\"\",\"party\":_vm.screen_data.invoice.customer,\"readonly\":!_vm.editable || (_vm.screen_data.invoice.rectificative && _vm.screen_data.rectificative_invoice != null),\"emisor\":false,\"partyOptions\":_vm.screen_data.customers,\"showErrors\":_vm.screen_data.showErrors},on:{\"update_party\":_vm.autocompleteCustomer,\"saveThird\":_vm.saveThird}})],1)],1)],1)],1),(_vm.screen_data.invoice)?_c('v-card',{staticClass:\"sector-div\"},[_c('InvoiceLinesEditor',{staticStyle:{\"padding-top\":\"0\"},attrs:{\"invoice_lines\":_vm.screen_data.invoice.lines,\"invoice_id\":_vm.screen_data.invoice.id,\"invoice\":_vm.screen_data.invoice,\"allow_import\":_vm.editable,\"loading\":_vm.screen_data.loading,\"readonly\":!_vm.editable,\"products\":_vm.screen_data.products,\"showErrors\":_vm.screen_data.showErrors,\"tax_type\":_vm.screen_data.invoice.tax_type?_vm.screen_data.invoice.tax_type:'iva',\"invoiceable_type\":_vm.invoiceable_type},on:{\"delete-line\":_vm.DeleteLine,\"delete-all-lines\":_vm.DeleteAllLines,\"change-line\":_vm.InvoiceLineChanged,\"add-line\":_vm.AddLine,\"import-lines\":_vm.ImportLines,\"change-additional-info\":_vm.InvoiceAditionalInfoChanged}}),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('div',{staticStyle:{\"padding\":\"0 16px\",\"margin-top\":\"16px\"}},[_c('v-textarea',{attrs:{\"outlined\":\"\",\"label\":\"Observaciones\",\"readonly\":!_vm.editable},model:{value:(_vm.screen_data.invoice.additional_info),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"additional_info\", $$v)},expression:\"screen_data.invoice.additional_info\"}})],1)]),_c('v-col',{attrs:{\"cols\":\"7\"}},[_c('InvoiceTotalsViewer',{attrs:{\"invoice\":_vm.screen_data.invoice,\"readonly\":true}})],1)],1),_c('v-spacer')],1):_vm._e(),_c('v-card',{staticClass:\"sector-div\"},[_c('v-row',{class:{'ma-0': true, 'flex-sm-nowrap': !_vm.is_tablet }},[_c('v-col',{staticClass:\"px-0 py-0\",attrs:{\"cols\":\"12\"}},[_c('v-row',{staticClass:\"sector-head\"},[_c('v-col',{staticClass:\"primary_blue--text subtitle-1 font-weight-bold\",attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"mb-0\"},[_vm._v(\" Otros campos \")])])],1),_c('v-row',[(_vm.screen_data.invoice.type == 'invoice')?_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('div',{staticStyle:{\"padding\":\"0 20px\",\"margin-top\":\"16px\"}},[_c('v-select',{attrs:{\"readonly\":!_vm.editable,\"items\":_vm.screen_data.payment_options,\"label\":\"Selecciona un método de pago\",\"item-value\":\"value\",\"item-text\":\"text\"},model:{value:(_vm.screen_data.invoice.payment_means),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"payment_means\", $$v)},expression:\"screen_data.invoice.payment_means\"}})],1)]):_vm._e()],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('div',{staticStyle:{\"padding\":\"0 16px\",\"margin-top\":\"16px\"}},[_c('v-textarea',{attrs:{\"outlined\":\"\",\"label\":\"Notas internas\"},on:{\"input\":function($event){_vm.dirtyFreeNotes=true}},model:{value:(_vm.screen_data.invoice.free_notes),callback:function ($$v) {_vm.$set(_vm.screen_data.invoice, \"free_notes\", $$v)},expression:\"screen_data.invoice.free_notes\"}})],1)])],1)],1)],1)],1)]:(_vm.screen_data.invoice)?[_c('v-row',{staticClass:\"mx-8\"},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"mr-auto d-flex align-sm-center\"},[(_vm.companydb_id)?_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.backToList()}}},[_c('img',{attrs:{\"src\":require(\"../../../assets/back-arrow.svg\")}})]):_vm._e(),_c('h4',{staticClass:\"primary_blue--text ml-2\"},[_vm._v(\"Receptor \"+_vm._s(_vm.screen_data.invoice.name))])],1)]),_c('v-col',{attrs:{\"cols\":\"2\"}},[(_vm.screen_data && !_vm.screen_data.loading)?[(_vm.screen_data.invoice && _vm.is_tablet)?_c('span',[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(_vm._s(_vm.invoice_state)+\" \")]),_c('v-icon',{attrs:{\"color\":_vm.getStateIndicatorClass(),\"dense\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-circle\")])],1):(_vm.screen_data.invoice)?_c('div',{staticClass:\"rounded-pill grey lighten-3 py-0 d-inline-flex align-sm-center flex-sm-nowrap invoice_state\"},[_c('div',{staticClass:\"text--grey--darken-3 mr-2 pl-4 font-weight-medium\"},[_vm._v(\"Estado: \")]),_c('div',{staticClass:\"d-flex justify-space-between rounded-pill white px-2 mx-2 my-1 py-0 flex-grow-1\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(_vm._s(_vm.invoice_state)+\" \")]),_c('v-icon',{attrs:{\"color\":_vm.getStateIndicatorClass(),\"dense\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-circle\")])],1)]):_vm._e()]:[_c('v-progress-circular',{staticClass:\"mr-2\",attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})]],2),(_vm.screen_data && _vm.screen_data.invoice)?[_c('v-col',{staticClass:\"text-right\",attrs:{\"cols\":\"7\"}},[_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\",attrs:{\"icon\":\"\",\"disabled\":_vm.screen_data.invoice.state != 'Confirmada'},on:{\"click\":function($event){return _vm.previewRejectDialog(true)}}},'v-btn',attrs,false),on),[(_vm.screen_data.invoice.state == 'Confirmada')?_c('img',{attrs:{\"src\":require(\"../../../assets/mark_as_rejected.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/mark_as_rejected_disabled.svg\")}})])]}}],null,false,808427182)},[_c('span',[_vm._v(\"Rechazar \"+_vm._s(_vm.screen_data.invoice.name))])]),_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-2\",attrs:{\"icon\":\"\",\"disabled\":_vm.screen_data.invoice.state != 'Confirmada'},on:{\"click\":function($event){return _vm.previewPayDialog(true)}}},'v-btn',attrs,false),on),[(_vm.screen_data.invoice.state == 'Confirmada')?_c('img',{attrs:{\"src\":require(\"../../../assets/mark_as_paid.svg\")}}):_c('img',{attrs:{\"src\":require(\"../../../assets/mark_as_paid_disabled.svg\")}})])]}}],null,false,4142802634)},[_c('span',[_vm._v(\"Marcar como pagada\")])])],1)]:[_c('v-progress-circular',{staticClass:\"mr-2\",attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})]],2),_c('div',{staticClass:\"invoice_center_viewer\"},[(_vm.screen_data.invoice)?_c('StaticInvoiceViewer',{key:_vm.screen_data.invoice.toString(),staticClass:\"invoice_center_viewer_component\",attrs:{\"invoice\":_vm.screen_data.invoice,\"rectified_inv\":_vm.screen_data.rectificative_invoice,\"configuration\":_vm.screen_data.configuration}}):_vm._e()],1)]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./InvoiceableEditorComponent.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!./InvoiceableEditorComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvoiceableEditorComponent.vue?vue&type=template&id=356a0bd0&scoped=true&\"\nimport script from \"./InvoiceableEditorComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./InvoiceableEditorComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InvoiceableEditorComponent.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./InvoiceableEditorComponent.vue?vue&type=style&index=1&id=356a0bd0&lang=scss&scoped=true&\"\nimport style2 from \"./InvoiceableEditorComponent.vue?vue&type=style&index=2&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 \"356a0bd0\",\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 { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\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 { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VContainer,VDatePicker,VDialog,VDivider,VFileInput,VIcon,VList,VListItem,VMenu,VProgressCircular,VRadio,VRadioGroup,VRow,VSelect,VSnackbar,VSpacer,VTextField,VTextarea,VTooltip})\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!./InvoiceableEditorComponent.vue?vue&type=style&index=2&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!./InvoiceableEditorComponent.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}